Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001062/0.001062, allocations: 109.7 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.001071/0.001071, allocations: 185.9 kB / 17.36 MB, free: 5.746 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.108/1.108, allocations: 222.9 MB / 241.1 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.029/2.029, allocations: 437 MB / 0.7112 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406e-05/1.408e-05, allocations: 4.391 kB / 1.019 GB, free: 9.512 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001949/0.001971, allocations: 1.546 MB / 1.021 GB, free: 7.957 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.003083, allocations: 0.7789 MB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.005e-05/0.003133, allocations: 0 / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.65e-05/0.003166, allocations: 3.938 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.254e-05/0.003243, allocations: 19.8 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.00368, allocations: 143.5 kB / 1.022 GB, free: 7.008 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.003812, allocations: 103.7 kB / 1.022 GB, free: 6.906 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.023e-05/0.003889, allocations: 8 kB / 1.022 GB, free: 6.898 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.07e-05/0.003975, allocations: 51.77 kB / 1.022 GB, free: 6.848 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.611e-05/0.004049, allocations: 51.81 kB / 1.022 GB, free: 6.797 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.004072, allocations: 8 kB / 1.022 GB, free: 6.789 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.00423, allocations: 99.84 kB / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of combineBinaries: time 9.928e-05/0.004339, allocations: 146.3 kB / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 3.599e-05/0.00438, allocations: 86.69 kB / 1.022 GB, free: 6.461 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.23e-05/0.004408, allocations: 15.94 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.699e-05/0.004429, allocations: 4 kB / 1.022 GB, free: 6.441 MB / 0.795 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