Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Predictors.Validation.ConstantInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.Predictors.Validation.ConstantInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Predictors.Validation.ConstantInput") translateModel(Buildings.Controls.Predictors.Validation.ConstantInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Predictors.Validation.ConstantInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.595/1.595, allocations: 289.7 MB / 302.2 MB, free: 2.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 177.7 kB / 371.6 MB, free: 3.41 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.1 MB / 0.6309 GB, free: 11.78 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008818/0.0008818, allocations: 95.45 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.052e-05/3.054e-05, allocations: 0 / 0.8662 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3176, allocations: 116.3 MB / 0.9798 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.029/1.347, allocations: 145.1 MB / 1.122 GB, free: 40.09 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/1.347, allocations: 79.66 kB / 1.122 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0444/1.392, allocations: 22.54 MB / 1.144 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.214e-06/1.392, allocations: 0 / 1.144 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.539e-05/1.392, allocations: 68 kB / 1.144 GB, free: 26.11 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1085 * Number of variables: 1085 Notification: Performance of Generate backend data structure: time 0.004597/1.396, allocations: 3.519 MB / 1.147 GB, free: 23.37 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/1.396, allocations: 12.73 kB / 1.147 GB, free: 23.36 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003981/1.397, allocations: 349.5 kB / 1.147 GB, free: 23.01 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002018/1.399, allocations: 1.1 MB / 1.149 GB, free: 22.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/1.399, allocations: 243 kB / 1.149 GB, free: 21.9 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003339/1.399, allocations: 360 kB / 1.149 GB, free: 21.66 MB / 0.7448 GB Error: An independent subset of the model has imbalanced number of equations (1054) and variables (17). variables: baseLoad.EHisAve baseLoad.EActAve baseLoad._typeOfDay[1] baseLoad.iSam[12] baseLoad.iSam[11] baseLoad.iSam[10] baseLoad.iSam[9] baseLoad.iSam[8] baseLoad.iSam[7] baseLoad.iSam[6] baseLoad.iSam[5] baseLoad.iSam[4] baseLoad.iSam[3] baseLoad.iSam[2] baseLoad.iSam[1] baseLoad.sampleTrigger baseLoad.adj equations: 1 : baseLoad.sampleTrigger = sample(1, baseLoad.samStart, 3600.0) 2 : algorithm when baseLoad.sampleTrigger then for i in 1:baseLoad.nPre loop baseLoad.iSam[i] := Buildings.Controls.Predictors.ElectricalLoad$baseLoad.incrementIndex(baseLoad.iSam[i], baseLoad.nSam); end for; baseLoad.adj := 1.0; baseLoad.PPreHisSet[baseLoad._typeOfDay[1],Buildings.Controls.Predictors.ElectricalLoad$baseLoad.getIndex(baseLoad.iSam[1], baseLoad.nSam)] := false; baseLoad.PPreHis[baseLoad._typeOfDay[1],Buildings.Controls.Predictors.ElectricalLoad$baseLoad.getIndex(baseLoad.iSam[1], baseLoad.nSam)] := 0.0; baseLoad.EHisAve := 0.0; baseLoad.EActAve := 0.0; for i in 1:12 loop baseLoad.iSam[i] := Buildings.Controls.Predictors.ElectricalLoad$baseLoad.incrementIndex(baseLoad.iSam[i], 24); end for; end when; Notification: Performance of preOpt clockPartitioning (simulation) : time 0.0007919/1.4, allocations: 414.4 kB / 1.149 GB, free: 21.34 MB / 0.7448 GB Error: pre-optimization module clockPartitioning (simulation) failed.