Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001105/0.001105, allocations: 107.6 kB / 16.42 MB, free: 6.516 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.001055/0.001055, allocations: 189.9 kB / 17.35 MB, free: 5.754 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.121/1.121, allocations: 205.1 MB / 223.2 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.207/1.207, allocations: 251.7 MB / 0.51 GB, free: 408 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.723e-05/1.724e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002084/0.002109, allocations: 1.592 MB / 0.7279 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.003341, allocations: 0.8238 MB / 0.7287 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.412e-05/0.003396, allocations: 0 / 0.7287 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.481e-05/0.003437, allocations: 11.86 kB / 0.7287 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.295e-05/0.003506, allocations: 19.8 kB / 0.7287 GB, free: 2.297 MB / 0.5606 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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.0005971/0.004108, allocations: 151.6 kB / 0.7289 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.00428, allocations: 155.5 kB / 0.729 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.004392, allocations: 23.91 kB / 0.7291 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.004506, allocations: 63.81 kB / 0.7291 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.152e-05/0.004596, allocations: 63.8 kB / 0.7292 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.004624, allocations: 12 kB / 0.7292 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.004789, allocations: 107.8 kB / 0.7293 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0001325/0.004931, allocations: 186.1 kB / 0.7295 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 4.782e-05/0.004985, allocations: 90.69 kB / 0.7296 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.322e-05/0.005012, allocations: 15.94 kB / 0.7296 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.169e-05/0.005028, allocations: 0 / 0.7296 GB, free: 1.441 MB / 0.5606 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