Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Predictors.Validation.LinearInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.Predictors.Validation.LinearInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Predictors.Validation.LinearInput") translateModel(Buildings.Controls.Predictors.Validation.LinearInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Predictors.Validation.LinearInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.638/1.638, allocations: 297.8 MB / 313.7 MB, free: 72 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000932/0.000932, allocations: 172.5 kB / 384.6 MB, free: 10.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 223.2 MB / 0.6626 GB, free: 4.277 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007654/0.0007654, allocations: 103 kB / 0.7808 GB, free: 50.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004136/0.0004138, allocations: 24.52 kB / 0.9088 GB, free: 2.898 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6658/0.6662, allocations: 120.3 MB / 1.026 GB, free: 55.73 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1827/0.849, allocations: 148.9 MB / 1.172 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.8493, allocations: 81.58 kB / 1.172 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.1272/0.9765, allocations: 68.64 MB / 1.239 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9765, allocations: 0 / 1.239 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001019/0.9766, allocations: 115.9 kB / 1.239 GB, free: 8.328 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1841 * Number of variables: 1841 Notification: Performance of Generate backend data structure: time 0.007191/0.9838, allocations: 5.754 MB / 1.244 GB, free: 2.48 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.9838, allocations: 12.03 kB / 1.245 GB, free: 2.469 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008434/0.9847, allocations: 0.6229 MB / 1.245 GB, free: 1.84 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002961/0.9877, allocations: 1.818 MB / 1.247 GB, free: 15.98 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002795/0.988, allocations: 432.9 kB / 1.247 GB, free: 15.55 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000621/0.9886, allocations: 0.6292 MB / 1.248 GB, free: 14.93 MB / 0.823 GB Error: An independent subset of the model has imbalanced number of equations (20) and variables (21). variables: integrator.y integrator.u TSam.y TSam.u TSam.firstTrigger TSam.sampleTrigger err.y err.u2 err.u1 to_degC.y to_degC.u PCon.y PCon.u2 PCon.u1 POffSet.y TOut.y baseLoad.TOut baseLoad.TOut_in_internal baseLoad.intTOut baseLoad.PPre[1] baseLoad.ECon equations: 1 : der(baseLoad.intTOut) = baseLoad.TOut_in_internal 2 : TOut.y = TOut.offset + (if time < TOut.startTime then 0.0 else if time < TOut.startTime + TOut.duration then (time - TOut.startTime) * TOut.height / TOut.duration else TOut.height) 3 : POffSet.y = POffSet.k 4 : PCon.y = PCon.k1 * PCon.u1 + PCon.k2 * PCon.u2 5 : to_degC.y = -273.15 + to_degC.u 6 : err.y = err.k1 * err.u1 + err.k2 * err.u2 7 : TSam.sampleTrigger = sample(4, TSam.startTime, TSam.samplePeriod) 8 : der(integrator.y) = integrator.k * integrator.u 9 : baseLoad.TOut = baseLoad.TOut_in_internal 10 : PCon.u1 = POffSet.y 11 : TOut.y = TSam.u 12 : TSam.y = baseLoad.TOut 13 : TSam.y = to_degC.u 14 : PCon.y = err.u2 15 : PCon.y = integrator.u 16 : baseLoad.ECon = integrator.y 17 : PCon.u2 = to_degC.y 18 : baseLoad.PPre[1] = err.u1 19 : when TSam.sampleTrigger then TSam.firstTrigger := time <= TSam.startTime + 0.5 * TSam.samplePeriod; end when; 20 : when {TSam.sampleTrigger, initial()} then TSam.y := TSam.u; end when; Notification: Performance of preOpt clockPartitioning (simulation) : time 0.001131/0.9897, allocations: 0.8085 MB / 1.249 GB, free: 14.11 MB / 0.823 GB Error: pre-optimization module clockPartitioning (simulation) failed.