Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 112.2 kB / 16.43 MB, free: 6.5 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.001134/0.001134, allocations: 183.2 kB / 17.35 MB, free: 5.754 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.15/1.15, 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.878/1.878, allocations: 390.2 MB / 0.6655 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.268e-05/1.269e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002047/0.002067, allocations: 1.509 MB / 0.9529 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.003193, allocations: 0.7634 MB / 0.9536 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.328e-05/0.003236, allocations: 0 / 0.9536 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.875e-05/0.003271, allocations: 7.875 kB / 0.9537 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.325e-05/0.003349, allocations: 19.84 kB / 0.9537 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00042/0.003782, allocations: 123.6 kB / 0.9538 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.003904, allocations: 91.75 kB / 0.9539 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.564e-05/0.003987, allocations: 12 kB / 0.9539 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.029e-05/0.004074, allocations: 51.77 kB / 0.9539 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.812e-05/0.00414, allocations: 31.84 kB / 0.954 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.004162, allocations: 8 kB / 0.954 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.004314, allocations: 99.84 kB / 0.9541 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of combineBinaries: time 9.751e-05/0.004419, allocations: 118.8 kB / 0.9542 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 3e-05/0.004455, allocations: 66.97 kB / 0.9542 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.197e-05/0.004481, allocations: 11.94 kB / 0.9543 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.41e-05/0.004499, allocations: 0 / 0.9543 GB, free: 4.863 MB / 0.7325 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