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 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.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.0009042/0.0009082, allocations: 113.5 kB / 16.43 MB, free: 6.504 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.0008879/0.0008879, allocations: 183.2 kB / 17.35 MB, free: 5.75 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.087/1.087, 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.146/2.146, allocations: 461.9 MB / 0.7354 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.56e-05/1.56e-05, allocations: 2.281 kB / 1.055 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001837/0.00186, allocations: 1.511 MB / 1.056 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.002902, allocations: 0.7634 MB / 1.057 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.312e-05/0.002945, allocations: 0 / 1.057 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.511e-05/0.002976, allocations: 7.875 kB / 1.057 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.712e-05/0.003047, allocations: 19.86 kB / 1.057 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004015/0.003461, allocations: 123.6 kB / 1.057 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.003583, allocations: 95.67 kB / 1.057 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.179e-05/0.003661, allocations: 12 kB / 1.057 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.983e-05/0.003746, allocations: 39.84 kB / 1.057 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.439e-05/0.00382, allocations: 43.83 kB / 1.057 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.00384, allocations: 4 kB / 1.057 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.004, allocations: 99.84 kB / 1.057 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of combineBinaries: time 9.12e-05/0.004099, allocations: 114.7 kB / 1.057 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 2.976e-05/0.004134, allocations: 67.03 kB / 1.057 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.261e-05/0.004161, allocations: 11.94 kB / 1.057 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.639e-05/0.004181, allocations: 7.984 kB / 1.057 GB, free: 4.867 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