Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 106.3 kB / 16.42 MB, free: 6.465 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.001117/0.001117, allocations: 192.3 kB / 17.36 MB, free: 5.707 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.131/1.131, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.214/1.214, allocations: 251.7 MB / 0.51 GB, free: 408 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.682e-05/1.682e-05, allocations: 2.281 kB / 0.7263 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001965/0.00199, allocations: 1.508 MB / 0.7278 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.003142, allocations: 0.812 MB / 0.7286 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.003188, allocations: 0 / 0.7286 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.918e-05/0.003222, allocations: 7.875 kB / 0.7286 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.935e-05/0.003296, allocations: 15.84 kB / 0.7286 GB, free: 2.395 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.0004838/0.003785, allocations: 127.6 kB / 0.7288 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.003919, allocations: 91.69 kB / 0.7288 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.299e-05/0.004019, allocations: 16 kB / 0.7289 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.903e-05/0.004114, allocations: 43.83 kB / 0.7289 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.969e-05/0.004181, allocations: 35.84 kB / 0.7289 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.004205, allocations: 8 kB / 0.7289 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.004376, allocations: 95.84 kB / 0.729 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0001038/0.004488, allocations: 122.7 kB / 0.7292 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 4.205e-05/0.004535, allocations: 63.03 kB / 0.7292 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.585e-05/0.004567, allocations: 15.94 kB / 0.7292 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.505e-05/0.004588, allocations: 4 kB / 0.7292 GB, free: 1.781 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