Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_11_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.001157/0.001157, allocations: 115.9 kB / 16.43 MB, free: 6.523 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.001235/0.001235, allocations: 182 kB / 17.36 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.194/1.194, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.317/2.317, allocations: 469.8 MB / 0.7431 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/1.869e-05, allocations: 10.16 kB / 1.066 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001994/0.00202, allocations: 1.501 MB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.003142, allocations: 0.7634 MB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.205e-05/0.003186, allocations: 4 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.22e-05/0.003213, allocations: 3.938 kB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.398e-05/0.003292, allocations: 19.84 kB / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000404/0.003706, allocations: 123.6 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.003838, allocations: 99.69 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.69e-05/0.003911, allocations: 7.984 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.661e-05/0.003993, allocations: 35.92 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.51e-05/0.004056, allocations: 43.81 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.004077, allocations: 4 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.004233, allocations: 99.84 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of combineBinaries: time 9.574e-05/0.004336, allocations: 114.7 kB / 1.069 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 3.22e-05/0.004374, allocations: 70.94 kB / 1.069 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.203e-05/0.0044, allocations: 11.94 kB / 1.069 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.62e-05/0.004421, allocations: 7.984 kB / 1.069 GB, free: 10.73 MB / 0.8419 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