Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenStudio simulation failed to run, with exit code 1

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/error-in-running-openstudio/, 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'\n:/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:141:ineach'\n:/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:141:in each_with_index'\n:/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:141:invalidate_measures'\n:/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/jobs/run_initialization.rb:122:in perform'\n:/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/run.rb:291:instep'\n:/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/run.rb:233:in run'\n:/openstudio_cli.rb:1184:inexecute'\n:/openstudio_cli.rb:814:in execute'\n:/openstudio_cli.rb:1983:in<main>'\neval:188:in eval'\neval:188:inrequire_embedded_absolute'\neval:173:in block in require_embedded'\neval:167:ineach'\neval:167:in require_embedded'\neval:126:inrequire'\neval:3:in `<main>'"]}

Failed. Simulation failed to run, with exit code 1

OpenStudio simulation failed to run, with exit code 1

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/error-in-running-openstudio/, 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'\n:/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:141:ineach'\n:/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:141:in each_with_index'\n:/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:141:invalidate_measures'\n:/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/jobs/run_initialization.rb:122:in perform'\n:/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/run.rb:291:instep'\n:/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/run.rb:233:in run'\n:/openstudio_cli.rb:1184:inexecute'\n:/openstudio_cli.rb:814:in execute'\n:/openstudio_cli.rb:1983:in<main>'\neval:188:in eval'\neval:188:inrequire_embedded_absolute'\neval:173:in block in require_embedded'\neval:167:ineach'\neval:167:in require_embedded'\neval:126:inrequire'\neval:3:in `<main>'"]}

Failed. Simulation failed to run, with exit code 1

OpenStudio simulation failed to run, with exit code 1

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/error-in-running-openstudio/, 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.

instead. [OpenStudio.Measure] <0> OSRunner is deprecated, use OpenStudio::Measure::OSRunner instead.

instead. [14:12:57.927955 DEBUG] Path for the OSW: C:/Users/albor/AppData/Local/Temp/osmodel-1680976195-1\resources\workflow.osw

C:/Users/albor/AppData/Local/Temp/osmodel-1680976195-1\resources\workflow.osw [14:12:57.965281 DEBUG] Initializing run method

method [14:12:57.974930 DEBUG] Beginning run

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 `block in validate_measures'\n:/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:141:ineach'\n:/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:141:in each_with_index'\n:/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/measure.rb:141:invalidate_measures'\n:/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/jobs/run_initialization.rb:122:in perform'\n:/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/run.rb:291:instep'\n:/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/run.rb:233:in run'\n:/openstudio_cli.rb:1184:inexecute'\n:/openstudio_cli.rb:814:in execute'\n:/openstudio_cli.rb:1983:in<main>'\neval:188:in eval'\neval:188:inrequire_embedded_absolute'\neval:173:in block 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'\neval:167:ineach'\neval:167:in require_embedded'\neval:126:inrequire'\neval:3:in `<main>'"]}

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 11

Thank you