Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 111.2 kB / 16.43 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.001058/0.001058, allocations: 183.2 kB / 17.36 MB, free: 5.73 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.143/1.143, allocations: 222.9 MB / 241 MB, free: 15.16 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.877/1.877, allocations: 390.2 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.389e-05/1.391e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002045/0.002067, allocations: 1.545 MB / 0.9529 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.003155, allocations: 0.7673 MB / 0.9537 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.662e-05/0.003201, allocations: 0 / 0.9537 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.468e-05/0.003232, allocations: 7.875 kB / 0.9537 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.383e-05/0.003321, allocations: 27.84 kB / 0.9537 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000401/0.003728, allocations: 135.5 kB / 0.9539 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.003868, allocations: 103.7 kB / 0.9539 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.308e-05/0.003948, allocations: 15.98 kB / 0.954 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.927e-05/0.004032, allocations: 47.84 kB / 0.954 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.157e-05/0.004102, allocations: 47.77 kB / 0.9541 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.004124, allocations: 8 kB / 0.9541 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.004278, allocations: 99.84 kB / 0.9542 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0001039/0.00439, allocations: 150.4 kB / 0.9543 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 4.601e-05/0.004442, allocations: 94.56 kB / 0.9544 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.064e-05/0.004468, allocations: 11.94 kB / 0.9544 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.55e-05/0.004487, allocations: 4 kB / 0.9544 GB, free: 4.68 MB / 0.7325 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if lig.sampleTrigger then if lig.occ then if not pre(lig.on) then lig.on = Buildings.Occupants.BaseClasses.binaryVariableGeneration(lig.pInter, integer(lig.curSeed)); elseif true then lig.on = true; end if; elseif true then lig.on = false; end if; elseif true then lig.on = Buildings.Occupants.BaseClasses.binaryVariableGeneration(lig.pArriv, integer(lig.curSeed)); end if