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 2019-02-21 09:49:29 -0600

dhollman's avatar

updated 2019-03-04 08:55:28 -0600

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2019-03-04 07:37:36 -0600

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.

edit flag offensive delete link more

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: 2019-02-21 09:49:29 -0600

Seen: 348 times

Last updated: Mar 04 '19