Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 108.6 kB / 16.38 MB, free: 6.441 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.001099/0.001099, allocations: 193.3 kB / 17.31 MB, free: 5.789 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.178/1.178, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.546/1.546, allocations: 292.3 MB / 0.5496 GB, free: 17.57 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/1.886e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.938 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002262/0.002293, allocations: 1.5 MB / 0.6743 GB, free: 4.418 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.003438, allocations: 0.7682 MB / 0.6751 GB, free: 3.641 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.401e-05/0.003483, allocations: 7.938 kB / 0.6751 GB, free: 3.633 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.436e-05/0.003515, allocations: 7.938 kB / 0.6751 GB, free: 3.625 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.83e-05/0.003558, allocations: 7.875 kB / 0.6751 GB, free: 3.617 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.0004529/0.004021, allocations: 126.6 kB / 0.6752 GB, free: 3.496 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.004135, allocations: 83.75 kB / 0.6753 GB, free: 3.414 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.252e-05/0.004224, allocations: 15.98 kB / 0.6753 GB, free: 3.398 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.852e-05/0.0043, allocations: 35.86 kB / 0.6753 GB, free: 3.363 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.022e-05/0.004358, allocations: 39.83 kB / 0.6754 GB, free: 3.324 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.00438, allocations: 8 kB / 0.6754 GB, free: 3.316 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.004537, allocations: 95.84 kB / 0.6755 GB, free: 3.223 MB / 0.545 GB Notification: Performance of combineBinaries: time 8.134e-05/0.004627, allocations: 102.9 kB / 0.6756 GB, free: 3.121 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 2.582e-05/0.004658, allocations: 59.12 kB / 0.6756 GB, free: 3.062 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.856e-05/0.004683, allocations: 15.94 kB / 0.6756 GB, free: 3.047 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.044e-05/0.004698, allocations: 3.984 kB / 0.6756 GB, free: 3.043 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