Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 107.1 kB / 16.37 MB, free: 6.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 191.5 kB / 17.31 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.18/1.18, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.582/1.582, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.014e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.895 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002477/0.00251, allocations: 1.592 MB / 0.6744 GB, free: 4.285 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.00377, allocations: 0.8267 MB / 0.6752 GB, free: 3.449 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.715e-05/0.003827, allocations: 0 / 0.6752 GB, free: 3.449 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.482e-05/0.003858, allocations: 7.875 kB / 0.6752 GB, free: 3.441 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.345e-05/0.003917, allocations: 19.8 kB / 0.6752 GB, free: 3.422 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0005007/0.004429, allocations: 147.5 kB / 0.6754 GB, free: 3.277 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.004592, allocations: 151.6 kB / 0.6755 GB, free: 3.129 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.168e-05/0.00469, allocations: 15.98 kB / 0.6755 GB, free: 3.113 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.294e-05/0.004789, allocations: 59.88 kB / 0.6756 GB, free: 3.055 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.448e-05/0.004881, allocations: 75.72 kB / 0.6757 GB, free: 2.98 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.004912, allocations: 16 kB / 0.6757 GB, free: 2.965 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.005075, allocations: 103.8 kB / 0.6758 GB, free: 2.863 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0001322/0.005215, allocations: 178.2 kB / 0.6759 GB, free: 2.688 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 3.973e-05/0.005261, allocations: 86.62 kB / 0.676 GB, free: 2.602 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.644e-05/0.005292, allocations: 19.94 kB / 0.676 GB, free: 2.582 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.239e-05/0.005309, allocations: 4 kB / 0.676 GB, free: 2.578 MB / 0.545 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if win.occ then win.pOpen = exp(win.AOpenOut * (win.TOut - 273.15) + win.AOpenIn * (win.TIn - 273.15) + win.BOpen) / (exp(win.AOpenOut * (win.TOut - 273.15) + win.AOpenIn * (win.TIn - 273.15) + win.BOpen) + 1.0); win.pClose = exp(win.ACloseOut * (win.TOut - 273.15) + win.ACloseIn * (win.TIn - 273.15) + win.BClose) / (exp(win.ACloseOut * (win.TOut - 273.15) + win.ACloseIn * (win.TIn - 273.15) + win.BClose) + 1.0); if pre(win.on) then win.on = not Buildings.Occupants.BaseClasses.binaryVariableGeneration(win.pClose, integer(win.curSeed)); elseif true then win.on = Buildings.Occupants.BaseClasses.binaryVariableGeneration(win.pOpen, integer(win.curSeed)); end if; elseif true then win.pOpen = 0.0; win.pClose = 0.0; win.on = false; end if