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

EnergyPlus process exit codes?

asked 6 years ago

dhollman's avatar

updated 6 years ago

The EnergyPlus program appears to return an environment result code of 0 when there were no errors, or can return other values when errors have occurred.

For example, you might get a message such as "Process exited with a non-zero exit code of: 1" from OpenStudio.

Is there a comprehensive list of what the possible return codes are, and their definitions?

Thanks

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
2

answered 6 years ago

dhollman's avatar

This may be a preliminary answer.

I looked at the EnergyPlus source code (C++). It appears to use the exit code only as a Boolean success or failure. Zero is "success" and nonzero is "failure".

So you can't infer anything specific about the failure from the exit code value. I have yet to see what conditions trigger "failure" either by consulting documentation or the source code.

Preview: (hide)
link

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

2 followers

Stats

Asked: 6 years ago

Seen: 372 times

Last updated: Mar 04 '19