Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 109.7 kB / 16.42 MB, free: 6.512 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.001752/0.001752, allocations: 188.3 kB / 17.35 MB, free: 5.734 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.116/1.116, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.132/2.132, allocations: 461.9 MB / 0.7354 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.998e-06/1.002e-05, allocations: 2.281 kB / 1.055 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001806/0.001824, allocations: 1.515 MB / 1.056 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.00284, allocations: 0.7633 MB / 1.057 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.06e-05/0.002881, allocations: 0 / 1.057 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.445e-05/0.002911, allocations: 3.938 kB / 1.057 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.065e-05/0.002957, allocations: 11.86 kB / 1.057 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.003378, allocations: 131.5 kB / 1.057 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.003495, allocations: 99.81 kB / 1.057 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.934e-05/0.00357, allocations: 15.98 kB / 1.057 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.98e-05/0.003645, allocations: 43.78 kB / 1.057 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.775e-05/0.00371, allocations: 43.83 kB / 1.057 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.003732, allocations: 8 kB / 1.057 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.00389, allocations: 95.91 kB / 1.057 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of combineBinaries: time 8.276e-05/0.003981, allocations: 126.7 kB / 1.057 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 4.035e-05/0.004026, allocations: 70.88 kB / 1.057 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.898e-05/0.00405, allocations: 11.94 kB / 1.057 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.113e-05/0.004066, allocations: 4 kB / 1.057 GB, free: 4.895 MB / 0.8262 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if bli.occ then if pre(bli.isOpen) == false then bli.pUp = 0.0; bli.pDown = exp(bli.ADown * bli.H + bli.BDown) / (exp(bli.ADown * bli.H + bli.BDown) + 1.0); bli.isOpen = Buildings.Occupants.BaseClasses.binaryVariableGeneration(bli.pDown, integer(bli.curSeed)); elseif true then bli.pUp = exp(bli.AUp * bli.H + bli.BUp) / (exp(bli.AUp * bli.H + bli.BUp) + 1.0); bli.pDown = 0.0; bli.isOpen = not Buildings.Occupants.BaseClasses.binaryVariableGeneration(bli.pUp, integer(bli.curSeed)); end if; elseif true then bli.pUp = 0.0; bli.pDown = 0.0; bli.isOpen = false; end if