Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 105.7 kB / 16.38 MB, free: 6.496 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.00106/0.00106, allocations: 192.7 kB / 17.31 MB, free: 5.809 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.177/1.177, allocations: 205.1 MB / 223.2 MB, free: 12.3 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.571/1.571, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.212e-05/3.215e-05, allocations: 6.219 kB / 0.6728 GB, free: 5.883 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002395/0.002444, allocations: 1.511 MB / 0.6743 GB, free: 4.352 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.00358, allocations: 0.7644 MB / 0.6751 GB, free: 3.578 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.289e-05/0.003629, allocations: 0 / 0.6751 GB, free: 3.578 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.018e-05/0.003667, allocations: 3.938 kB / 0.6751 GB, free: 3.574 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.794e-05/0.00372, allocations: 15.84 kB / 0.6751 GB, free: 3.559 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.0004779/0.004209, allocations: 135.5 kB / 0.6752 GB, free: 3.426 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.004321, allocations: 79.83 kB / 0.6753 GB, free: 3.348 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.823e-05/0.004405, allocations: 4 kB / 0.6753 GB, free: 3.344 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.878e-05/0.004489, allocations: 39.83 kB / 0.6753 GB, free: 3.305 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.245e-05/0.004551, allocations: 39.84 kB / 0.6754 GB, free: 3.266 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.004574, allocations: 11.94 kB / 0.6754 GB, free: 3.254 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.004729, allocations: 95.91 kB / 0.6755 GB, free: 3.16 MB / 0.545 GB Notification: Performance of combineBinaries: time 9.284e-05/0.00483, allocations: 110.8 kB / 0.6756 GB, free: 3.051 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 2.577e-05/0.004863, allocations: 59.12 kB / 0.6756 GB, free: 2.992 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.993e-05/0.004888, allocations: 11.94 kB / 0.6757 GB, free: 2.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.127e-06/0.004901, allocations: 0 / 0.6757 GB, free: 2.98 MB / 0.545 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if win.occ then win.p = exp(win.A * (win.TOut - 273.15) + win.B) / (exp(win.A * (win.TOut - 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