Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Predictors.Validation.SineInputDayOfAdjustment.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.SineInputDayOfAdjustment,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.SineInputDayOfAdjustment") translateModel(Buildings.Controls.Predictors.Validation.SineInputDayOfAdjustment,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.SineInputDayOfAdjustment") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008885/0.0008885, allocations: 114.8 kB / 16.43 MB, free: 6.504 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.0008556/0.0008556, allocations: 187.2 kB / 17.36 MB, free: 5.715 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.111/1.111, 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.165/2.165, allocations: 461.9 MB / 0.7354 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.631e-05/1.633e-05, allocations: 2.281 kB / 1.055 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.Validation.SineInputDayOfAdjustment): time 0.002795/0.002819, allocations: 2.217 MB / 1.057 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001964/0.004794, allocations: 1.281 MB / 1.058 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.004948, allocations: 7.938 kB / 1.058 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002364/0.005191, allocations: 47.58 kB / 1.058 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.005357, allocations: 59.55 kB / 1.058 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008396/0.006216, allocations: 359.1 kB / 1.059 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005744/0.006799, allocations: 0.5456 MB / 1.059 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.006921, allocations: 48.72 kB / 1.059 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002873/0.007215, allocations: 223.5 kB / 1.059 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.007442, allocations: 167.3 kB / 1.059 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.049e-05/0.007509, allocations: 24 kB / 1.059 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.007702, allocations: 107.9 kB / 1.06 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0002981/0.008008, allocations: 459.2 kB / 1.06 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 0.0001369/0.008151, allocations: 268.1 kB / 1.06 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.124e-05/0.008248, allocations: 63.81 kB / 1.06 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of FrontEnd: time 5.749e-05/0.008311, allocations: 15.92 kB / 1.06 GB, free: 1.867 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