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

Openstudio Error: Simulation failed to run, with exit code 1

asked 2024-05-15 11:45:32 -0500

hazwan's avatar

updated 2024-05-15 11:55:14 -0500

Hello, im newbie in Openstudio. I try to run a simple simulation for my university project, but it shows "Simulation failed to run, with exit code 1". I try to find and read and find the error but i don't know where and what it is.

This is what it said :

Program terminated: EnergyPlus Terminated--Error(s) Detected.
[00:17:27.380298 DEBUG] Path for the OSW: C:/Users/user/AppData/Local/Temp/osmodel-1715788515-0\resources\workflow.osw
[00:17:27.415917 DEBUG] Initializing run method
[00:17:27.425050 DEBUG] Beginning run
[00:17:28.614048 WARN] EnergyPlus returned a non-zero exit code. Check the stdout-energyplus log.
[00:17:28.614703 ERROR] :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/energyplus.rb failed with EnergyPlus Terminated with a Fatal Error. Check eplusout.err log., :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/energyplus.rb:223:in `call_energyplus'
:/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/jobs/run_energyplus.rb:63: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:1173:in `execute'
:/openstudio_cli.rb:803:in `execute'
:/openstudio_cli.rb:1972: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>'
[00:17:28.616579 ERROR] Found error in state 'simulation' with message [":/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/energyplus.rb failed with EnergyPlus Terminated with a Fatal Error. Check eplusout.err log., :/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/energyplus.rb:223:in `call_energyplus'\n:/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/jobs/run_energyplus.rb:63:in `perform'\n:/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/run.rb:291:in `step'\n:/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/run.rb:233:in `run'\n:/openstudio_cli.rb:1173:in `execute'\n:/openstudio_cli.rb:803:in `execute'\n:/openstudio_cli.rb:1972:in `<main>'\neval:188:in `eval'\neval:188:in `require_embedded_absolute'\neval:173:in `block in require_embedded'\neval:167:in `each'\neval:167:in `require_embedded'\neval:126:in `require'\neval:3:in `<main>'::/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/energyplus.rb:241:in `rescue in call_energyplus'\n:/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/util/energyplus.rb:238:in `call_energyplus'\n:/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/jobs/run_energyplus.rb:63:in `perform'\n:/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/run.rb:291:in `step'\n:/ruby/2.7.0/gems/openstudio-workflow-2.3.1/lib/openstudio/workflow/run.rb:233:in `run'\n:/openstudio_cli.rb:1173:in `execute'\n ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2024-05-16 04:19:08 -0500

Craig Simmons's avatar

The key piece of information in that file is EnergyPlus Terminated with a Fatal Error. This means the EnergyPlus simulation failed and you will need to go to your "run" folder and open the eplusout.err file (with your favorite text editor) to determine why.

I typically start by searching for the term "severe" in that file since it can be fairly long. That should get you on the path to the problem.

edit flag offensive delete link more

Comments

Thankyou! Now i know where to find the error.

hazwan's avatar hazwan  ( 2024-06-07 23:52:01 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2024-05-15 11:45:32 -0500

Seen: 77 times

Last updated: Jun 07