Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001088/0.001088, allocations: 110.8 kB / 16.42 MB, free: 6.461 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.001056/0.001056, allocations: 190 kB / 17.36 MB, free: 5.699 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.152/1.152, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.902/1.902, allocations: 390.2 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.568e-06/9.578e-06, allocations: 2.281 kB / 0.9514 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001902/0.001921, allocations: 1.506 MB / 0.9529 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.002979, allocations: 0.7673 MB / 0.9536 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.196e-05/0.003031, allocations: 3.938 kB / 0.9537 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.501e-05/0.003061, allocations: 7.875 kB / 0.9537 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.789e-05/0.003134, allocations: 11.88 kB / 0.9537 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.003541, allocations: 127.6 kB / 0.9538 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.003663, allocations: 95.73 kB / 0.9539 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.006e-05/0.003741, allocations: 12 kB / 0.9539 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.57e-05/0.003823, allocations: 47.78 kB / 0.9539 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.389e-05/0.003884, allocations: 39.83 kB / 0.954 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.003903, allocations: 4 kB / 0.954 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.004054, allocations: 99.84 kB / 0.9541 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of combineBinaries: time 8.402e-05/0.004146, allocations: 110.8 kB / 0.9542 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 3.206e-05/0.004184, allocations: 74.95 kB / 0.9543 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.964e-05/0.00421, allocations: 15.94 kB / 0.9543 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.424e-05/0.004228, allocations: 4 kB / 0.9543 GB, free: 4.801 MB / 0.7325 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