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 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.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.001097/0.001097, allocations: 105 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.001003/0.001003, allocations: 187.2 kB / 17.35 MB, free: 5.695 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.14/1.14, 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 12.0.0-master/package.mo): time 2.221/2.221, allocations: 472.6 MB / 0.7459 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.066e-05/1.068e-05, allocations: 2.281 kB / 1.07 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001856/0.001876, allocations: 1.525 MB / 1.072 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.002917, allocations: 0.7671 MB / 1.072 GB, free: 7.438 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.395e-05/0.002961, allocations: 4 kB / 1.072 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.918e-05/0.002996, allocations: 11.86 kB / 1.072 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.622e-05/0.003067, allocations: 11.86 kB / 1.072 GB, free: 7.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004052/0.003477, allocations: 123.6 kB / 1.072 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.003606, allocations: 107.6 kB / 1.072 GB, free: 7.184 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.37e-05/0.003686, allocations: 8 kB / 1.073 GB, free: 7.176 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.258e-05/0.003774, allocations: 43.89 kB / 1.073 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.376e-05/0.003835, allocations: 35.84 kB / 1.073 GB, free: 7.098 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.003858, allocations: 8 kB / 1.073 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.004009, allocations: 95.84 kB / 1.073 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of combineBinaries: time 9.546e-05/0.004112, allocations: 130.6 kB / 1.073 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 3.442e-05/0.004153, allocations: 78.91 kB / 1.073 GB, free: 6.789 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.004178, allocations: 11.94 kB / 1.073 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.437e-05/0.004196, allocations: 4 kB / 1.073 GB, free: 6.773 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.pArriv, integer(lig.curSeed)); end if