OpenStudio simulation failed to run, with exit code 1

asked 2023-04-08 13:59:12 -0500

Gabriel's avatar

updated 2023-04-10 09:31:57 -0500

Hello. I'm trying to run a fairly simple simulation of a house, but it apparently crashed without starting. I don't know if this is some installation error that may be causing this, or bad inputs on my part in the model. On the directory created next to the OSM model, the "measures" and "generated_files" folders are empty, and the "run" folder doesn't have the "eplusout.err" file, so it's kind of difficult to determine what is actually causing this error.

Another user have reported a similar issue here: https://unmethours.com/question/48317..., I have tried deleting the measures file created but that didn't work. I have run the Example OSM file adding the same Weather file as an input and ran with no issues whatsoever.

I have already uninstall Energy Plus and OpenStudio and installing them back again on my machine but the same error persists. I hope that you can help me.

Here's the what I get from the log:

[OpenStudio.Measure] <0> OSRunner is deprecated, use OpenStudio::Measure::OSRunner instead.
[OpenStudio.Measure] <0> OSRunner is deprecated, use OpenStudio::Measure::OSRunner instead.
[14:12:57.927955 DEBUG] Path for the OSW: C:/Users/albor/AppData/Local/Temp/osmodel-1680976195-1\resources\workflow.osw
[14:12:57.965281 DEBUG] Initializing run method
[14:12:57.974930 DEBUG] Beginning run
[14:12:58.031569 ERROR] Found error in state 'initialization' with message ["Cannot find measure OpenStudioResults::/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:155:in `block in validate_measures'
  :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:141:in `each'
  :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:141:in `each_with_index'
  :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:141:in `validate_measures'
  :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/jobs/run_initialization.rb:122:in `perform'
  :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/run.rb:291:in `step'
  :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/run.rb:233:in `run'
  :/openstudio_cli.rb:1184:in `execute'
  :/openstudio_cli.rb:814:in `execute'
  :/openstudio_cli.rb:1983:in `<main>'
  eval:188:in `eval'
  eval:188:in `require_embedded_absolute'
  eval:173:in `block in require_embedded'
  eval:167:in `each'
  eval:167:in `require_embedded'
  eval:126:in `require'
   eval:3:in `<main>'"]}

Failed.
Simulation failed to run, with exit code 1

Thank you

edit retag flag offensive close merge delete

Comments

You're after the OpenStudioResults Measure. Did you download it via the Application, as suggested here and here? You may try deleting your local BCL folder (make a copy first), as described here.

Denis Bourgeois's avatar Denis Bourgeois  ( 2023-04-10 13:23:27 -0500 )edit