Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001133/0.001134, allocations: 104 kB / 16.37 MB, free: 5.895 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.00108/0.00108, allocations: 191.3 kB / 17.3 MB, free: 5.535 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.198/1.198, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.605/1.605, allocations: 292.3 MB / 0.5496 GB, free: 17.4 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.963e-05/1.965e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.957 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002324/0.002356, allocations: 1.515 MB / 0.6743 GB, free: 4.426 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.003481, allocations: 0.7993 MB / 0.6751 GB, free: 3.617 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.294e-05/0.003523, allocations: 0 / 0.6751 GB, free: 3.617 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.362e-05/0.003553, allocations: 11.86 kB / 0.6751 GB, free: 3.605 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.792e-05/0.003626, allocations: 15.86 kB / 0.6751 GB, free: 3.59 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.0004555/0.004094, allocations: 131.5 kB / 0.6752 GB, free: 3.461 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.004211, allocations: 83.77 kB / 0.6753 GB, free: 3.379 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.972e-05/0.004297, allocations: 19.84 kB / 0.6753 GB, free: 3.359 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.81e-05/0.00438, allocations: 43.78 kB / 0.6754 GB, free: 3.316 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.133e-05/0.004439, allocations: 43.83 kB / 0.6754 GB, free: 3.273 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.00446, allocations: 4 kB / 0.6754 GB, free: 3.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.004611, allocations: 95.84 kB / 0.6755 GB, free: 3.176 MB / 0.545 GB Notification: Performance of combineBinaries: time 8.938e-05/0.004709, allocations: 122.8 kB / 0.6756 GB, free: 3.055 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 2.977e-05/0.004744, allocations: 66.97 kB / 0.6757 GB, free: 2.988 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.118e-05/0.00477, allocations: 11.94 kB / 0.6757 GB, free: 2.977 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.303e-05/0.004787, allocations: 4 kB / 0.6757 GB, free: 2.973 MB / 0.545 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