Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Predictors.Validation.LinearInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.Predictors.Validation.LinearInput,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_maint.7.0.x_Buildings.Controls.Predictors.Validation.LinearInput") translateModel(Buildings.Controls.Predictors.Validation.LinearInput,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_maint.7.0.x_Buildings.Controls.Predictors.Validation.LinearInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.472/1.472, allocations: 249.5 MB / 257 MB, free: 6.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 176.9 kB / 316.3 MB, free: 3.32 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.3 MB / 0.5671 GB, free: 15.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009386/0.0009388, allocations: 82.55 kB / 0.6714 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.903e-05/1.907e-05, allocations: 0 / 0.7814 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.227, allocations: 106.3 MB / 0.8852 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8928/1.12, allocations: 139.6 MB / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003306/1.12, allocations: 77.89 kB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1347/1.255, allocations: 66.72 MB / 1.087 GB, free: 3.945 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.994e-06/1.255, allocations: 0 / 1.087 GB, free: 3.945 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001305/1.255, allocations: 120 kB / 1.087 GB, free: 3.828 MB / 0.698 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.01086/1.266, allocations: 5.777 MB / 1.093 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.371e-05/1.266, allocations: 12.03 kB / 1.093 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/1.267, allocations: 0.6259 MB / 1.093 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003946/1.271, allocations: 1.809 MB / 1.095 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/1.271, allocations: 12 kB / 1.095 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005399/1.272, allocations: 376 kB / 1.095 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005612/1.273, allocations: 280.3 kB / 1.096 GB, free: 11.62 MB / 0.7136 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.0007308/1.273, allocations: 476.9 kB / 1.096 GB, free: 11.21 MB / 0.7136 GB Error: pre-optimization module clockPartitioning (simulation) failed.