Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001333/0.001333, allocations: 111.9 kB / 16.42 MB, free: 6.047 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.001325/0.001325, allocations: 192.1 kB / 17.36 MB, free: 5.59 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.124/1.124, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.196/2.196, allocations: 472.6 MB / 0.7459 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202e-05/1.204e-05, allocations: 2.281 kB / 1.07 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001901/0.001921, allocations: 1.517 MB / 1.072 GB, free: 8.195 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.002967, allocations: 0.7554 MB / 1.072 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.351e-05/0.00301, allocations: 0 / 1.072 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.234e-05/0.003039, allocations: 7.922 kB / 1.072 GB, free: 7.426 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.868e-05/0.003123, allocations: 23.86 kB / 1.072 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003909/0.003527, allocations: 127.5 kB / 1.072 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.003653, allocations: 95.69 kB / 1.072 GB, free: 7.184 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.152e-05/0.003731, allocations: 8 kB / 1.072 GB, free: 7.176 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.491e-05/0.003811, allocations: 43.89 kB / 1.073 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.186e-05/0.003871, allocations: 35.84 kB / 1.073 GB, free: 7.098 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.851e-05/0.003894, allocations: 8 kB / 1.073 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.004043, allocations: 95.84 kB / 1.073 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of combineBinaries: time 9.115e-05/0.004141, allocations: 122.7 kB / 1.073 GB, free: 6.875 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 2.943e-05/0.004176, allocations: 63.03 kB / 1.073 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.016e-05/0.004201, allocations: 11.94 kB / 1.073 GB, free: 6.801 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.324e-05/0.004219, allocations: 4 kB / 1.073 GB, free: 6.797 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