Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 107 kB / 16.42 MB, free: 6.516 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.00109/0.00109, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.151/1.151, 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 7.0.3-maint.7.0.x/package.mo): time 1.233/1.233, allocations: 251.7 MB / 0.51 GB, free: 412 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.185e-05/1.186e-05, allocations: 9.875 kB / 0.7263 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.001903/0.001923, allocations: 1.479 MB / 0.7278 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.003006, allocations: 0.7693 MB / 0.7285 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.11e-05/0.003047, allocations: 3.938 kB / 0.7285 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.3e-05/0.003077, allocations: 11.92 kB / 0.7286 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.04e-05/0.003122, allocations: 11.86 kB / 0.7286 GB, free: 2.48 MB / 0.5606 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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.0004762/0.003607, allocations: 131.5 kB / 0.7287 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001/0.003716, allocations: 75.83 kB / 0.7288 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.764e-05/0.003799, allocations: 16 kB / 0.7288 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.687e-05/0.003882, allocations: 39.83 kB / 0.7288 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.07e-05/0.00394, allocations: 35.84 kB / 0.7289 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.003961, allocations: 8 kB / 0.7289 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.004117, allocations: 99.84 kB / 0.729 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of combineBinaries: time 9.112e-05/0.004216, allocations: 106.9 kB / 0.7291 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 2.835e-05/0.00425, allocations: 59.12 kB / 0.7291 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.709e-05/0.004271, allocations: 7.938 kB / 0.7291 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.795e-06/0.004283, allocations: 0 / 0.7291 GB, free: 1.91 MB / 0.5606 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