Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Predictors.Validation.LinearInputDayOfAdjustment.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.Controls.Predictors.Validation.LinearInputDayOfAdjustment,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PCon.y|baseLoad.PPre.1.|baseLoad.typeOfDay.1.|baseLoad.storeHistory|baseLoad.adj|baseLoad.PPre.2.|baseLoad.PPre.3.|baseLoad.PPre.4.|baseLoad.PPre.5.|baseLoad.PPre.6.|baseLoad.PPre.7.|baseLoad.PPre.8.|baseLoad.PPre.9.|baseLoad.PPre.10.|baseLoad.PPre.11.|baseLoad.PPre.12.",fileNamePrefix="Buildings_latest_Buildings.Controls.Predictors.Validation.LinearInputDayOfAdjustment") translateModel(Buildings.Controls.Predictors.Validation.LinearInputDayOfAdjustment,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PCon.y|baseLoad.PPre.1.|baseLoad.typeOfDay.1.|baseLoad.storeHistory|baseLoad.adj|baseLoad.PPre.2.|baseLoad.PPre.3.|baseLoad.PPre.4.|baseLoad.PPre.5.|baseLoad.PPre.6.|baseLoad.PPre.7.|baseLoad.PPre.8.|baseLoad.PPre.9.|baseLoad.PPre.10.|baseLoad.PPre.11.|baseLoad.PPre.12.",fileNamePrefix="Buildings_latest_Buildings.Controls.Predictors.Validation.LinearInputDayOfAdjustment") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 113 kB / 16.43 MB, free: 6.043 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.00107/0.00107, allocations: 183.7 kB / 17.36 MB, free: 5.621 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.13/1.13, 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 11.0.1-master/package.mo): time 2.175/2.175, allocations: 461.9 MB / 0.7354 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.148e-05/1.149e-05, allocations: 2.281 kB / 1.055 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.Validation.LinearInputDayOfAdjustment): time 0.002655/0.002673, allocations: 2.333 MB / 1.057 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001831/0.004515, allocations: 1.336 MB / 1.058 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.004627, allocations: 11.94 kB / 1.058 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002337/0.004866, allocations: 55.55 kB / 1.058 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.005009, allocations: 71.42 kB / 1.058 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007261/0.005746, allocations: 366.2 kB / 1.059 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005155/0.00627, allocations: 0.5613 MB / 1.059 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.006414, allocations: 84.86 kB / 1.059 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.00663, allocations: 235.3 kB / 1.06 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.00684, allocations: 187.3 kB / 1.06 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.504e-05/0.006901, allocations: 32 kB / 1.06 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002431/0.007149, allocations: 183.7 kB / 1.06 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0003242/0.007482, allocations: 0.5142 MB / 1.06 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 0.0001467/0.007635, allocations: 307.6 kB / 1.061 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.65e-05/0.007728, allocations: 67.81 kB / 1.061 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.45e-05/0.007768, allocations: 15.88 kB / 1.061 GB, free: 1.418 MB / 0.8262 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if pre(dayType.skipIDayIncrement) then dayType.iDay = pre(dayType.iDay); elseif true then dayType.iDay = mod(pre(dayType.iDay), 7) + 1; end if