Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.001061, allocations: 108.4 kB / 16.42 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.001037/0.001037, allocations: 192.3 kB / 17.36 MB, free: 5.727 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.107/1.107, 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.172/2.172, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.582e-05/1.582e-05, allocations: 4.109 kB / 1.055 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001934/0.001957, allocations: 1.519 MB / 1.056 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.003074, allocations: 0.7633 MB / 1.057 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.753e-05/0.003122, allocations: 4 kB / 1.057 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.586e-05/0.003153, allocations: 3.938 kB / 1.057 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.396e-05/0.003231, allocations: 27.78 kB / 1.057 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004211/0.003663, allocations: 119.6 kB / 1.057 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.003797, allocations: 95.69 kB / 1.057 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.556e-05/0.003879, allocations: 15.98 kB / 1.057 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.902e-05/0.003965, allocations: 39.86 kB / 1.057 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.162e-05/0.004033, allocations: 47.81 kB / 1.057 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.004056, allocations: 8 kB / 1.057 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.004222, allocations: 91.84 kB / 1.057 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of combineBinaries: time 8.786e-05/0.004317, allocations: 130.6 kB / 1.057 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 3.717e-05/0.004359, allocations: 70.94 kB / 1.057 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.256e-05/0.004386, allocations: 11.94 kB / 1.057 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.765e-05/0.004408, 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.pArriv, integer(lig.curSeed)); end if