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

OpenStudio-CLI returned error code 1 [closed]

asked 2019-01-18 12:29:26 -0500

pow_skier gravatar image

updated 2019-01-19 15:41:36 -0500

Hello I am working on a PAT project where I wrote some measures to articulate some refrigeration object, the measure will work as an Apply Now measure, and as an Always Run measure, but when I set it up in a PAT I get the following error.

data_point.osw failed with error Oscli returned error code 1

I have not been able to find an error or debug list in the CLI documentation. Please help.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by pow_skier
close date 2019-02-04 14:23:42.133766

2 Answers

Sort by ยป oldest newest most voted

answered 2019-01-21 09:49:34 -0500

That error code just means the datapoint failed. It could have failed to properly run a measure, or it could have a fatal error in the EnergyPlus simulation. if you see an error for a design alternative you can expand it to see errors for individual workflow steps to identify where the dataoint failed. If you don't see any errors listed for any of the measures, then expand the "EnergyPlus Results" section. It won't show an error like measures do, but if you expand it you can look at the EnergyPlus warnings and errors. You can also open the eplusout.err file if you know where to find the simulation results in PAT's localResults folder.

edit flag offensive delete link more


@DavidGoldwasser Thank you for the reply, and it has taken me some time to dig futher. But I am getting that error without seemingly any other error flags. No err file gets created at the Eplus level and the workflow never starts. I just get a OSCli returned error code 1.

pow_skier gravatar imagepow_skier ( 2019-01-28 23:43:22 -0500 )edit

answered 2019-02-04 14:22:25 -0500

pow_skier gravatar image


I wanted to follow up on this. I think I have narrowed it down to only manual PAT runs done on my computer. I think issue relates to a new company wide back-up protocol on my machine that is messing with path names.

Thanks for all the help! Regards, Josh

edit flag offensive delete link more


@pow_skier thanks for the update. Just out of interest, if you manually run the IDF file with EP launch on your computer does it work? If that works, then does a simulation from the OS app work? Just trying to narrow down the possible causes of the issues.

David Goldwasser gravatar imageDavid Goldwasser ( 2019-02-04 20:16:07 -0500 )edit


Question Tools

1 follower


Asked: 2019-01-18 12:29:26 -0500

Seen: 146 times

Last updated: Feb 04