Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Predictors.Validation.ConstantInput.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.Predictors.Validation.ConstantInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Predictors.Validation.ConstantInput") translateModel(Buildings.Controls.Predictors.Validation.ConstantInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Predictors.Validation.ConstantInput") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.68/2.68, allocations: 285 MB / 292.5 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001884/0.001884, allocations: 188.9 kB / 360.7 MB, free: 7.223 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.088/2.088, allocations: 205.3 MB / 0.6192 GB, free: 12.13 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001103, allocations: 94.77 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.993e-05/2.01e-05, allocations: 0 / 0.8509 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8283/0.8283, allocations: 115.2 MB / 0.9634 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2431/1.071, allocations: 143.3 MB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/1.072, allocations: 75.95 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.08668/1.159, allocations: 22.32 MB / 1.125 GB, free: 6.793 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.926e-06/1.159, allocations: 0 / 1.125 GB, free: 6.793 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001251/1.159, allocations: 68 kB / 1.125 GB, free: 6.727 MB / 0.7292 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.008762/1.168, allocations: 3.52 MB / 1.129 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/1.168, allocations: 8.031 kB / 1.129 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/1.169, allocations: 355.9 kB / 1.129 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003925/1.173, allocations: 1.101 MB / 1.13 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.188e-05/1.173, allocations: 4 kB / 1.13 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006628/1.173, allocations: 212 kB / 1.13 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000564/1.174, allocations: 193.4 kB / 1.131 GB, free: 1.23 MB / 0.7292 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.0007459/1.175, allocations: 347.5 kB / 1.131 GB, free: 0.8516 MB / 0.7292 GB Error: pre-optimization module clockPartitioning (simulation) failed.