Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.Predictors.Validation.SineInput.conf.json 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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.Predictors.Validation.SineInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.Predictors.Validation.SineInput") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.962/4.962, allocations: 0.5623 GB / 0.5775 GB, free: 3.363 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00245/0.00245, allocations: 361.8 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.123/4.123, allocations: 410.7 MB / 1.113 GB, free: 5.875 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001797/0.001797, allocations: 191.9 kB / 1.226 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004879/0.000488, allocations: 12 kB / 1.349 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7471/0.7476, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2118/0.9595, allocations: 145.2 MB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/0.9598, allocations: 85.45 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.09723/1.057, allocations: 23.25 MB / 1.626 GB, free: 116 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.936e-06/1.057, allocations: 0 / 1.626 GB, free: 116 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.00012/1.057, allocations: 68 kB / 1.626 GB, free: 116 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1093 * Number of variables: 1093 Notification: Performance of Generate backend data structure: time 0.007919/1.065, allocations: 3.606 MB / 1.629 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/1.065, allocations: 15.62 kB / 1.629 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008561/1.066, allocations: 355.7 kB / 1.63 GB, free: 111.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002672/1.069, allocations: 1.11 MB / 1.631 GB, free: 110.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001985/1.069, allocations: 244 kB / 1.631 GB, free: 110.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005304/1.07, allocations: 360 kB / 1.631 GB, free: 110.2 MB / 0.8542 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.001101/1.071, allocations: 472.2 kB / 1.632 GB, free: 109.7 MB / 0.8542 GB Error: pre-optimization module clockPartitioning (simulation) failed.