Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001119/0.001119, allocations: 110.8 kB / 16.38 MB, free: 6.48 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.001148/0.001148, allocations: 190.5 kB / 17.31 MB, free: 5.797 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.186/1.186, allocations: 205.1 MB / 223.2 MB, free: 12.29 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.581/1.581, allocations: 292.3 MB / 0.5496 GB, free: 17.63 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.122e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002478/0.002513, allocations: 1.507 MB / 0.6743 GB, free: 4.344 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.003751, allocations: 0.8033 MB / 0.6751 GB, free: 3.531 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.101e-05/0.003813, allocations: 0 / 0.6751 GB, free: 3.531 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.06e-05/0.003851, allocations: 3.938 kB / 0.6751 GB, free: 3.527 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.758e-05/0.003933, allocations: 23.73 kB / 0.6751 GB, free: 3.504 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.0005592/0.004515, allocations: 123.6 kB / 0.6753 GB, free: 3.383 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.004658, allocations: 87.77 kB / 0.6753 GB, free: 3.297 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.792e-05/0.004752, allocations: 19.83 kB / 0.6754 GB, free: 3.277 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.004867, allocations: 39.8 kB / 0.6754 GB, free: 3.238 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.923e-05/0.004936, allocations: 47.81 kB / 0.6754 GB, free: 3.191 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.00496, allocations: 8 kB / 0.6755 GB, free: 3.184 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.005134, allocations: 91.91 kB / 0.6755 GB, free: 3.094 MB / 0.545 GB Notification: Performance of combineBinaries: time 9.766e-05/0.005242, allocations: 110.8 kB / 0.6756 GB, free: 2.984 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 3.543e-05/0.005283, allocations: 74.89 kB / 0.6757 GB, free: 2.91 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.005315, allocations: 15.94 kB / 0.6757 GB, free: 2.895 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.867e-05/0.005339, allocations: 0 / 0.6757 GB, free: 2.895 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