Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 98.77 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.0011/0.0011, allocations: 192.2 kB / 17.35 MB, free: 5.758 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.129/1.129, 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.216/1.216, allocations: 251.7 MB / 0.51 GB, free: 448 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.337e-05/1.339e-05, allocations: 6.078 kB / 0.7264 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001948/0.001968, allocations: 1.502 MB / 0.7278 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.00308, allocations: 0.8082 MB / 0.7286 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.43e-05/0.003124, allocations: 0 / 0.7286 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.589e-05/0.003155, allocations: 7.922 kB / 0.7286 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.776e-05/0.003227, allocations: 19.8 kB / 0.7286 GB, free: 2.441 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.0004426/0.003683, allocations: 131.5 kB / 0.7288 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.003802, allocations: 91.75 kB / 0.7288 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.825e-05/0.003896, allocations: 19.94 kB / 0.7289 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.545e-05/0.003977, allocations: 35.84 kB / 0.7289 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.289e-05/0.004038, allocations: 43.83 kB / 0.7289 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.00406, allocations: 8 kB / 0.7289 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.004213, allocations: 99.84 kB / 0.729 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of combineBinaries: time 9.542e-05/0.004316, allocations: 118.7 kB / 0.7292 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 2.961e-05/0.004351, allocations: 63.03 kB / 0.7292 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.126e-05/0.004377, allocations: 15.94 kB / 0.7292 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.063e-05/0.004391, allocations: 0 / 0.7292 GB, free: 1.824 MB / 0.5606 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if lig.sampleTrigger then if lig.occ then lig.on = pre(lig.on); elseif true then lig.on = false; end if; elseif true then lig.on = Buildings.Occupants.BaseClasses.binaryVariableGeneration(lig.p, integer(lig.curSeed)); end if