Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 100.4 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.001122/0.001122, allocations: 194.9 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.173/1.173, 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.556/1.556, allocations: 292.3 MB / 0.5496 GB, free: 17.47 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.198e-05, allocations: 6.219 kB / 0.6728 GB, free: 5.953 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002218/0.002253, allocations: 1.48 MB / 0.6743 GB, free: 4.457 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.00335, allocations: 0.7682 MB / 0.675 GB, free: 3.68 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.421e-05/0.003396, allocations: 7.938 kB / 0.675 GB, free: 3.672 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.396e-05/0.003425, allocations: 3.938 kB / 0.675 GB, free: 3.668 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.093e-05/0.003471, allocations: 11.88 kB / 0.6751 GB, free: 3.656 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.0004743/0.003956, allocations: 125.9 kB / 0.6752 GB, free: 3.535 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.004065, allocations: 87.75 kB / 0.6753 GB, free: 3.449 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.323e-05/0.004155, allocations: 15.98 kB / 0.6753 GB, free: 3.434 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.049e-05/0.004231, allocations: 31.92 kB / 0.6753 GB, free: 3.402 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.43e-05/0.004293, allocations: 51.75 kB / 0.6754 GB, free: 3.352 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.00432, allocations: 8 kB / 0.6754 GB, free: 3.344 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.004468, allocations: 87.91 kB / 0.6755 GB, free: 3.258 MB / 0.545 GB Notification: Performance of combineBinaries: time 8.022e-05/0.004555, allocations: 98.91 kB / 0.6755 GB, free: 3.16 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 3.258e-05/0.004594, allocations: 55.12 kB / 0.6756 GB, free: 3.105 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.004621, allocations: 19.94 kB / 0.6756 GB, free: 3.086 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.017e-05/0.004636, allocations: 3.984 kB / 0.6756 GB, free: 3.082 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