FATAL ERROR OPEN STUDIO RUN SIMULATION
I'm learning using the book 'Building Energy Modeling with OpenStudio' and in the first simulation, when I went to run the simulation, a fatal error happened.
Initializing workflow.
Processing OpenStudio Measures.
Translating the OpenStudio Model to EnergyPlus.
Processing EnergyPlus Measures.
Starting Simulation.
EnergyPlus Starting
EnergyPlus, Version 9.3.0-baff08990c, YMD=2022.03.06 12:20
**FATAL:Errors occurred on processing input file. Preceding condition(s) cause termination.
EnergyPlus Run Time=00hr 00min 0.39sec
Program terminated: EnergyPlus Terminated--Error(s) Detected.
Failed.
[12:20:53.264533 WARN] Reporting Measure at C:/Users/BARRET~1/AppData/Local/Temp/osmodel-1646574899-0/resources/measures/OpenStudioResults/measure.rb is using the old format where the 'arguments' method does not take model. Please consider updating this to `def arguments(model)`.
[12:20:57.353245 WARN] EnergyPlus returned a non-zero exit code. Check the stdout-energyplus log.
[12:20:57.411409 ERROR] :/ruby/2.5.0/gems/openstudio-workflow-2.0.0/lib/openstudio/workflow/util/energyplus.rb failed with EnergyPlus Terminated with a Fatal Error. Check eplusout.err log.
:/ruby/2.5.0/gems/openstudio-workflow-2.0.0/lib/openstudio/workflow/util/energyplus.rb:187:in `call_energyplus'
:/ruby/2.5.0/gems/openstudio-workflow-2.0.0/lib/openstudio/workflow/jobs/run_energyplus.rb:63:in `perform'
:/ruby/2.5.0/gems/openstudio-workflow-2.0.0/lib/openstudio/workflow/run.rb:292:in `step'
:/ruby/2.5.0/gems/openstudio-workflow-2.0.0/lib/openstudio/workflow/run.rb:234:in `run'
:/openstudio_cli.rb:973:in `execute'
:/openstudio_cli.rb:763:in `execute'
:/openstudio_cli.rb:1757:in `<main>'
eval:149:in `eval'
eval:149:in `require_embedded_absolute'
eval:123:in `block in require'
eval:117:in `each'
eval:117:in `require'
eval:3:in `<main>'
[12:20:57.416453 ERROR] Found error in state 'simulation' with message [":/ruby/2.5.0/gems/openstudio-workflow-2.0.0/lib/openstudio/workflow/util/energyplus.rb failed with EnergyPlus Terminated with a Fatal Error. Check eplusout.err log.
:/ruby/2.5.0/gems/openstudio-workflow-2.0.0/lib/openstudio/workflow/util/energyplus.rb:187:in `call_energyplus'
:/ruby/2.5.0/gems/openstudio-workflow-2.0.0/lib/openstudio/workflow/jobs/run_energyplus.rb:63:in `perform'
:/ruby/2.5.0/gems/openstudio-workflow-2.0.0/lib/openstudio/workflow/run.rb:292:in `step'
:/ruby/2.5.0/gems/openstudio-workflow-2.0.0/lib/openstudio/workflow/run.rb:234:in `run'
:/openstudio_cli.rb:973:in `execute'\n:/openstudio_cli.rb:763:in `execute'\n:/openstudio_cli.rb:1757:in `<main>'
eval:149:in `eval'
eval:149:in `require_embedded_absolute'
eval:123:in `block in require'
eval:117:in `each'
eval:117:in `require'
eval:3:in `<main>'::/ruby/2.5.0/gems/openstudio-workflow-2.0.0/lib/openstudio/workflow/util/energyplus.rb:205:in `rescue in call_energyplus'
:/ruby/2.5.0/gems/openstudio-workflow-2.0.0/lib/openstudio/workflow/util/energyplus.rb:128:in `call_energyplus'
:/ruby/2.5.0/gems/openstudio-workflow-2.0.0/lib/openstudio/workflow/jobs/run_energyplus.rb:63:in `perform'
:/ruby/2.5.0/gems/openstudio-workflow-2.0.0/lib/openstudio/workflow/run.rb:292:in `step'
:/ruby/2.5.0/gems/openstudio-workflow-2.0 ...
Here is the meaningful line in the error. Look at that file and then update your question with informationo about the fatal error
[12:20:57.411409 ERROR] :/ruby/2.5.0/gems/openstudio-workflow-2.0.0/lib/openstudio/workflow/util/energyplus.rb failed with EnergyPlus Terminated with a Fatal Error. Check eplusout.err log.
(David beat me to it). Try again WITHOUT the OpenStudioResults measure (see 1st warning). If it's related to a bad OpenStudio workflow (e.g. incompatible measure version), consult the "out.osw" file. If you still encounter an EnergyPlus error, look for FATAL or SEVERE errors in the "run/eplusout.err" file.