Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Predictors.Validation.ConstantInput.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.ConstantInput,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.ConstantInput") translateModel(Buildings.Controls.Predictors.Validation.ConstantInput,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.ConstantInput") 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: 103.9 kB / 16.42 MB, free: 6.52 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.001078/0.001078, allocations: 192.3 kB / 17.36 MB, free: 5.727 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.124/1.124, allocations: 222.9 MB / 241.1 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.141/2.141, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.171e-05/1.173e-05, allocations: 2.281 kB / 1.055 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.Validation.ConstantInput): time 0.002361/0.00238, allocations: 1.99 MB / 1.057 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.004047, allocations: 1.215 MB / 1.058 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.465e-05/0.004142, allocations: 4 kB / 1.058 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002225/0.00437, allocations: 51.58 kB / 1.058 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.004495, allocations: 59.61 kB / 1.058 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006645/0.005166, allocations: 331.2 kB / 1.058 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004513/0.005626, allocations: 495 kB / 1.059 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.699e-05/0.005731, allocations: 40.38 kB / 1.059 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.005917, allocations: 195.5 kB / 1.059 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.006073, allocations: 123.4 kB / 1.059 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.683e-05/0.006116, allocations: 20 kB / 1.059 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.006256, allocations: 79.95 kB / 1.059 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0002337/0.006498, allocations: 372 kB / 1.059 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 0.0001025/0.006607, allocations: 216.9 kB / 1.06 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.798e-05/0.00667, allocations: 47.88 kB / 1.06 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.656e-05/0.006701, allocations: 11.92 kB / 1.06 GB, free: 2.504 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