Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") 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: 103.5 kB / 16.37 MB, free: 6.367 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.001091/0.001091, allocations: 195.2 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.195/1.195, 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.591/1.591, allocations: 292.3 MB / 0.5496 GB, free: 17.44 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.174e-05, allocations: 6.219 kB / 0.6728 GB, free: 5.914 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002266/0.0023, allocations: 1.511 MB / 0.6743 GB, free: 4.387 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.003413, allocations: 0.7644 MB / 0.6751 GB, free: 3.613 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.446e-05/0.003458, allocations: 3.938 kB / 0.6751 GB, free: 3.609 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.555e-05/0.003489, allocations: 7.922 kB / 0.6751 GB, free: 3.602 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.093e-05/0.003536, allocations: 11.94 kB / 0.6751 GB, free: 3.59 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.0004699/0.004017, allocations: 127.5 kB / 0.6752 GB, free: 3.465 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.004129, allocations: 83.75 kB / 0.6753 GB, free: 3.383 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.862e-05/0.004213, allocations: 12 kB / 0.6753 GB, free: 3.371 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.864e-05/0.00429, allocations: 35.91 kB / 0.6753 GB, free: 3.336 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.004e-05/0.004347, allocations: 39.83 kB / 0.6754 GB, free: 3.297 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.004369, allocations: 8 kB / 0.6754 GB, free: 3.289 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.00452, allocations: 95.84 kB / 0.6755 GB, free: 3.195 MB / 0.545 GB Notification: Performance of combineBinaries: time 9.401e-05/0.004622, allocations: 110.9 kB / 0.6756 GB, free: 3.086 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 2.563e-05/0.004653, allocations: 55.12 kB / 0.6756 GB, free: 3.031 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.816e-05/0.004676, allocations: 11.94 kB / 0.6756 GB, free: 3.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.063e-05/0.004691, allocations: 4 kB / 0.6756 GB, free: 3.016 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