Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Love1998Light1,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.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,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.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 107.7 kB / 16.42 MB, free: 6.477 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.001702/0.001702, allocations: 187.2 kB / 17.35 MB, free: 5.707 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.12/1.12, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.132/2.132, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.037e-06/9.037e-06, allocations: 2.281 kB / 1.055 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001835/0.001851, allocations: 1.508 MB / 1.056 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.002866, allocations: 0.7633 MB / 1.057 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.002909, allocations: 0 / 1.057 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.224e-05/0.002938, allocations: 3.938 kB / 1.057 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.199e-05/0.003014, allocations: 11.88 kB / 1.057 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003859/0.003411, allocations: 135.5 kB / 1.057 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.003534, allocations: 99.67 kB / 1.057 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.77e-05/0.003608, allocations: 4 kB / 1.057 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.424e-05/0.003688, allocations: 39.91 kB / 1.057 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.345e-05/0.003749, allocations: 39.83 kB / 1.057 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.003772, allocations: 12 kB / 1.057 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.003921, allocations: 95.84 kB / 1.057 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of combineBinaries: time 8.924e-05/0.004018, allocations: 118.7 kB / 1.057 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 3.077e-05/0.004054, allocations: 67.03 kB / 1.057 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.933e-05/0.004078, allocations: 7.938 kB / 1.057 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.366e-05/0.004096, allocations: 4 kB / 1.057 GB, free: 4.844 MB / 0.8262 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