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

OS Radiance w/PAT write access error

asked 2017-02-21 13:42:01 -0500

Determinant gravatar image

updated 2017-08-20 14:59:20 -0500

I am running the Radiance measure with the PAT in OS. Everything has been working fine but then I recently had a few runs fail with the below error. All the other runs that were going at the same time went through fine. Only a few had the below error. One time I reran one of the failed runs and it completed fine.

rfluxmtx: running: rcontrib -fo+ -ab 10 -ad 65536 -as 512 -dj 1 -dp 1 -dt 0 -dc 1 -lw 1.52e-005 -n 1 -ds .15 -I -y 204 -faa -c 1 -o output/dc/WG10.vmx -f klems_full.cal -p RHS=+1 -bn Nkbins -b kbin(1,0,0,0,0,1) -m WG10_SHADE -o output/dc/WG11.vmx -p RHS=+1 -bn Nkbins -b kbin(0,1,0,0,0,1) -m WG11_SHADE -o output/dc/WG12.vmx -p RHS=+1 -bn Nkbins -b kbin(-1,0,0,0,0,1) -m WG12_SHADE -o output/dc/WG1.vmx -p RHS=+1 -bn Nkbins -b kbin(-1,0,0,0,0,1) -m WG1_SHADE -o output/dc/WG2.vmx -p RHS=+1 -bn Nkbins -b kbin(-1,0,0,0,0,1) -m WG2_SHADE -o output/dc/WG3.vmx -p RHS=+1 -bn Nkbins -b kbin(0,1,0,0,0,1) -m WG3_SHADE -o output/dc/WG4.vmx -p RHS=+1 -bn Nkbins -b kbin(1,-2.39095e-015,0,0,0,1) -m WG4_SHADE -o output/dc/WG5.vmx -p RHS=+1 -bn Nkbins -b kbin(2.24152e-016,1,-6.80387e-031,0,0,1) -m WG5_SHADE -o output/dc/WG6.vmx -p RHS=+1 -bn Nkbins -b kbin(-7.77059e-015,1,0,0,0,1) -m WG6_SHADE -o output/dc/WG7.vmx -p RHS=+1 -bn Nkbins -b kbin(-1,0,0,0,0,1) -m WG7_SHADE -o output/dc/WG8.vmx -p RHS=+1 -bn Nkbins -b kbin(1,0,0,0,0,1) -m WG8_SHADE -o output/dc/WG9.vmx -p RHS=+1 -bn Nkbins -b kbin(1,0,0,0,0,1) -m WG9_SHADE "!oconv -f -i octrees\model_vmx.oct receivers_vmx.rad"

C:/Program Files/OpenStudio 1.11.0/ruby-install/ruby/lib/ruby/2.0.0/fileutils.rb:519:in `rename': Permission denied - (kozvrt4nh5ragif, output/final_merge.tmp) (Errno::EACCES)

    from C:/Program Files/OpenStudio 1.11.0/ruby-install/ruby/lib/ruby/2.0.0/fileutils.rb:519:in `block in mv'

    from C:/Program Files/OpenStudio 1.11.0/ruby-install/ruby/lib/ruby/2.0.0/fileutils.rb:1558:in `block in fu_each_src_dest'

    from C:/Program Files/OpenStudio 1.11.0/ruby-install/ruby/lib/ruby/2.0.0/fileutils.rb:1574:in `fu_each_src_dest0'

    from C:/Program Files/OpenStudio 1.11.0/ruby-install/ruby/lib/ruby/2.0.0/fileutils.rb:1556:in `fu_each_src_dest'

    from C:/Program Files/OpenStudio 1.11.0/ruby-install/ruby/lib/ruby/2.0.0/fileutils.rb:508:in `mv'

    from C:/Determinant_J/Projects/T2419 CASE/Analysis/05 to 01 Shades/dataPoint3/18-UserScript-0/user_script.rb:952:in `block in runSimulation ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2017-02-21 21:54:02 -0500

updated 2017-04-06 11:55:01 -0500

Well, that's fun! Looks like the window group merge is occasionally stepping on itself. It's not supposed to. Could you post or send me your osm?

Updated (3-28-17): Problem is the merge_count function kinda-sorta (well, exactly) ignores the Windows case. Looks like we have arrived at the point where the can (that I kicked down the road) has stopped rolling. Stay tuned.

Updated (4-6-17): OK, we now have this merge thing working ok on Windows, and we squashed a couple other issues as well. This was tested on your model specifically @Determinant, as well as a couple generic ones, on Mac and Windows, on the latest OpenStudio version (2.1.0). I encourage you to try this latest version of OpenStudio out, and the updated measure now lives here: https://bcl.nrel.gov/node/84186.

edit flag offensive delete link more

Comments

Determinant gravatar image Determinant  ( 2017-02-25 14:58:28 -0500 )edit

Is there any progress on this issue? About 1 in 5 runs fails right before it ends with this bug...for the number and detail of runs I'm doing, that means an extra 3 hours of re-runs.

Determinant gravatar image Determinant  ( 2017-03-23 14:16:53 -0500 )edit

Thank you for uploading your model! Sorry we have not had time to look at this one yet. Are you having these frequent issues with this specific model, or in general? Same hardware? What version of PAT?

rpg777 gravatar image rpg777  ( 2017-03-23 15:28:43 -0500 )edit

@Determinant, please post a link to an archive of your project (model.osm and measures), and I will troubleshoot this in PAT 2.x.

rpg777 gravatar image rpg777  ( 2017-03-23 16:59:24 -0500 )edit

The problem has occurred for variations of the same model, same hardware, PAT 1.11.0. This is (probably way) pre-PAT 2.x so maybe SOL. Have had a large/complex project to complete so didn't like the time/risk of updating to 2.x. Either way, is there a way I can email them directly to you. Don't want to post clients data.

Determinant gravatar image Determinant  ( 2017-03-23 20:30:43 -0500 )edit

Your Answer

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

Add Answer

 

Question Tools

1 follower

Stats

Asked: 2017-02-21 13:42:01 -0500

Seen: 140 times

Last updated: Apr 06 '17