Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 100.5 kB / 16.38 MB, free: 6.484 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.001093/0.001093, allocations: 193.3 kB / 17.32 MB, free: 5.797 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.186/1.186, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.588/1.588, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.103e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.898 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002343/0.002378, allocations: 1.5 MB / 0.6743 GB, free: 4.379 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.003513, allocations: 0.7682 MB / 0.6751 GB, free: 3.602 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.41e-05/0.003557, allocations: 0 / 0.6751 GB, free: 3.602 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.966e-05/0.003594, allocations: 3.938 kB / 0.6751 GB, free: 3.598 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.456e-05/0.003644, allocations: 15.88 kB / 0.6751 GB, free: 3.582 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.0004755/0.00413, allocations: 134.8 kB / 0.6752 GB, free: 3.453 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.004242, allocations: 83.75 kB / 0.6753 GB, free: 3.371 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.476e-05/0.004333, allocations: 12 kB / 0.6753 GB, free: 3.359 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.348e-05/0.004412, allocations: 35.91 kB / 0.6753 GB, free: 3.324 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.043e-05/0.00447, allocations: 39.83 kB / 0.6754 GB, free: 3.285 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.004492, allocations: 8 kB / 0.6754 GB, free: 3.277 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.004659, allocations: 95.84 kB / 0.6755 GB, free: 3.184 MB / 0.545 GB Notification: Performance of combineBinaries: time 8.601e-05/0.004753, allocations: 106.9 kB / 0.6756 GB, free: 3.078 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 2.755e-05/0.004786, allocations: 55.12 kB / 0.6756 GB, free: 3.023 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.004817, allocations: 11.94 kB / 0.6756 GB, free: 3.012 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.207e-05/0.004833, allocations: 4 kB / 0.6756 GB, free: 3.008 MB / 0.545 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if win.occ then win.p = exp(win.A * (win.TIn - 273.15) + win.B) / (exp(win.A * (win.TIn - 273.15) + win.B) + 1.0); win.on = Buildings.Occupants.BaseClasses.binaryVariableGeneration(win.p, integer(win.curSeed)); elseif true then win.p = 0.0; win.on = false; end if