Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
shorowit committed Jun 3, 2024
1 parent 85e309d commit b5dd25a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 81 deletions.
78 changes: 0 additions & 78 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,84 +167,6 @@ jobs:
for ($var = 1; $var -le 50; $var++) {
Write-Host Running test $var
& .\OpenStudio-${env:OS_VERSION}+${env:OS_SHA}-Windows\bin\openstudio.exe workflow\energy_rating_index.rb -x workflow\sample_files\base.xml
if(Test-Path workflow\CO2eRatedHome\run.log -PathType Leaf) {
type workflow\CO2eRatedHome\run.log
}
if(Test-Path workflow\CO2eReferenceHome\run.log -PathType Leaf) {
type workflow\CO2eReferenceHome\run.log
}
if(Test-Path workflow\ERIIndexAdjustmentDesign\run.log -PathType Leaf) {
type workflow\ERIIndexAdjustmentDesign\run.log
}
if(Test-Path workflow\ERIIndexAdjustmentReferenceHome\run.log -PathType Leaf) {
type workflow\ERIIndexAdjustmentReferenceHome\run.log
}
if(Test-Path workflow\ERIRatedHome\run.log -PathType Leaf) {
type workflow\ERIRatedHome\run.log
}
if(Test-Path workflow\ERIReferenceHome\run.log -PathType Leaf) {
type workflow\ERIReferenceHome\run.log
}
if(Test-Path workflow\ESRated_ERIIndexAdjustmentDesign\run.log -PathType Leaf) {
type workflow\ESRated_ERIIndexAdjustmentDesign\run.log
}
if(Test-Path workflow\ESRated_ERIIndexAdjustmentReferenceHome\run.log -PathType Leaf) {
type workflow\ESRated_ERIIndexAdjustmentReferenceHome\run.log
}
if(Test-Path workflow\ESRated_ERIRatedHome\run.log -PathType Leaf) {
type workflow\ESRated_ERIRatedHome\run.log
}
if(Test-Path workflow\ESRated_ERIReferenceHome\run.log -PathType Leaf) {
type workflow\ESRated_ERIReferenceHome\run.log
}
if(Test-Path workflow\ESReference_ERIIndexAdjustmentDesign\run.log -PathType Leaf) {
type workflow\ESReference_ERIIndexAdjustmentDesign\run.log
}
if(Test-Path workflow\ESReference_ERIIndexAdjustmentReferenceHome\run.log -PathType Leaf) {
type workflow\ESReference_ERIIndexAdjustmentReferenceHome\run.log
}
if(Test-Path workflow\ESReference_ERIRatedHome\run.log -PathType Leaf) {
type workflow\ESReference_ERIRatedHome\run.log
}
if(Test-Path workflow\ESReference_ERIReferenceHome\run.log -PathType Leaf) {
type workflow\ESReference_ERIReferenceHome\run.log
}
if(Test-Path workflow\IECC_ERIIndexAdjustmentDesign\run.log -PathType Leaf) {
type workflow\IECC_ERIIndexAdjustmentDesign\run.log
}
if(Test-Path workflow\IECC_ERIIndexAdjustmentReferenceHome\run.log -PathType Leaf) {
type workflow\IECC_ERIIndexAdjustmentReferenceHome\run.log
}
if(Test-Path workflow\IECC_ERIRatedHome\run.log -PathType Leaf) {
type workflow\IECC_ERIRatedHome\run.log
}
if(Test-Path workflow\IECC_ERIReferenceHome\run.log -PathType Leaf) {
type workflow\IECC_ERIReferenceHome\run.log
}
if(Test-Path workflow\ZERHRated_ERIIndexAdjustmentDesign\run.log -PathType Leaf) {
type workflow\ZERHRated_ERIIndexAdjustmentDesign\run.log
}
if(Test-Path workflow\ZERHRated_ERIIndexAdjustmentReferenceHome\run.log -PathType Leaf) {
type workflow\ZERHRated_ERIIndexAdjustmentReferenceHome\run.log
}
if(Test-Path workflow\ZERHRated_ERIRatedHome\run.log -PathType Leaf) {
type workflow\ZERHRated_ERIRatedHome\run.log
}
if(Test-Path workflow\ZERHRated_ERIReferenceHome\run.log -PathType Leaf) {
type workflow\ZERHRated_ERIReferenceHome\run.log
}
if(Test-Path workflow\ZERHReference_ERIIndexAdjustmentDesign\run.log -PathType Leaf) {
type workflow\ZERHReference_ERIIndexAdjustmentDesign\run.log
}
if(Test-Path workflow\ZERHReference_ERIIndexAdjustmentReferenceHome\run.log -PathType Leaf) {
type workflow\ZERHReference_ERIIndexAdjustmentReferenceHome\run.log
}
if(Test-Path workflow\ZERHReference_ERIRatedHome\run.log -PathType Leaf) {
type workflow\ZERHReference_ERIRatedHome\run.log
}
if(Test-Path workflow\ZERHReference_ERIReferenceHome\run.log -PathType Leaf) {
type workflow\ZERHReference_ERIReferenceHome\run.log
}
}
# merge-results:
Expand Down
2 changes: 1 addition & 1 deletion hpxml-measures/HPXMLtoOpenStudio/resources/meta_measure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def run_hpxml_workflow(rundir, measures, measures_dir, debug: false, output_vars
# a Parallel process (see https://stackoverflow.com/a/5044669)
print "#{print_prefix}Creating input...\n" unless suppress_print

#OpenStudio::Logger.instance.standardOutLogger.setLogLevel(OpenStudio::Fatal)
OpenStudio::Logger.instance.standardOutLogger.setLogLevel(OpenStudio::Fatal)
os_log = OpenStudio::StringStreamLogSink.new
os_log.setLogLevel(OpenStudio::Warn)

Expand Down
2 changes: 0 additions & 2 deletions workflow/energy_rating_index.rb
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ def kill(pids)
end

pids = {}
puts "=== RUNNING SIMULATIONS ==="
Parallel.map(unique_designs, in_threads: unique_designs.size) do |design|
designdir = run_design_spawn(design, options)
#Process.wait pids[design]
Expand All @@ -130,7 +129,6 @@ def kill(pids)
# next
#end
end
puts "=== COMPLETED SIMULATIONS ==="

end
end
Expand Down

0 comments on commit b5dd25a

Please sign in to comment.