Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.33/2.33, allocations: 253.2 MB / 260.6 MB, free: 7.512 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002023/0.002023, allocations: 187 kB / 319.9 MB, free: 3.082 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.055/2.055, allocations: 205.6 MB / 0.5708 GB, free: 15.18 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 88.66 kB / 0.6751 GB, free: 4.523 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.665e-05/1.676e-05, allocations: 0 / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2255, allocations: 106.2 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9977/1.223, allocations: 146.5 MB / 1.032 GB, free: 6.969 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/1.224, allocations: 76.33 kB / 1.032 GB, free: 6.93 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1381/1.362, allocations: 32.6 MB / 1.064 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.923e-06/1.362, allocations: 3.938 kB / 1.064 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001395/1.362, allocations: 28 kB / 1.064 GB, free: 12.23 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.00365/1.366, allocations: 1.424 MB / 1.065 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/1.366, allocations: 12.02 kB / 1.065 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004369/1.366, allocations: 146.3 kB / 1.065 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003089/1.369, allocations: 0.8707 MB / 1.066 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.907e-05/1.369, allocations: 28 kB / 1.066 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002062/1.369, allocations: 59.94 kB / 1.066 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001285/1.371, allocations: 443 kB / 1.067 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/1.372, allocations: 0.6449 MB / 1.067 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/1.372, allocations: 7.984 kB / 1.067 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.986e-05/1.373, allocations: 4 kB / 1.067 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/1.373, allocations: 16 kB / 1.067 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005949/1.379, allocations: 2.149 MB / 1.069 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/1.38, allocations: 0.5915 MB / 1.07 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006616/1.381, allocations: 250.5 kB / 1.07 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.11e-05/1.381, allocations: 8.562 kB / 1.07 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/1.382, allocations: 429.6 kB / 1.071 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=82): time 3.647e-06/1.382, allocations: 0 / 1.071 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82): time 0.00212/1.384, allocations: 0.6982 MB / 1.071 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002205/1.384, allocations: 306.1 kB / 1.072 GB, free: 5.504 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/1.386, allocations: 0.7418 MB / 1.072 GB, free: 4.934 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001568/1.386, allocations: 41.02 kB / 1.072 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005788/1.387, allocations: 496.4 kB / 1.073 GB, free: 4.609 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002772/1.387, allocations: 216.4 kB / 1.073 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.102e-05/1.387, allocations: 4 kB / 1.073 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001832/1.387, allocations: 348.3 kB / 1.073 GB, free: 4.09 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000668/1.388, allocations: 231.8 kB / 1.074 GB, free: 3.949 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009751/1.389, allocations: 0.509 MB / 1.074 GB, free: 3.434 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007792/1.39, allocations: 278.4 kB / 1.074 GB, free: 3.242 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/1.39, allocations: 0 / 1.074 GB, free: 3.242 MB / 0.6823 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00243/1.392, allocations: 0.8431 MB / 1.075 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001101/1.393, allocations: 2.217 MB / 1.077 GB, free: 204 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/1.393, allocations: 4 kB / 1.077 GB, free: 200 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.828e-05/1.393, allocations: 15.95 kB / 1.077 GB, free: 184 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/1.395, allocations: 162.4 kB / 1.077 GB, free: 28 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.939e-05/1.395, allocations: 8 kB / 1.077 GB, free: 20 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/1.396, allocations: 106.4 kB / 1.078 GB, free: 15.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/1.396, allocations: 42.17 kB / 1.078 GB, free: 15.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/1.396, allocations: 4 kB / 1.078 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002091/1.398, allocations: 0.7111 MB / 1.078 GB, free: 15.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/1.398, allocations: 8 kB / 1.078 GB, free: 15.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/1.398, allocations: 8 kB / 1.078 GB, free: 15.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/1.399, allocations: 151 kB / 1.078 GB, free: 15.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.791e-05/1.399, allocations: 19.98 kB / 1.078 GB, free: 15.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/1.4, allocations: 79.39 kB / 1.079 GB, free: 15.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/1.401, allocations: 42.17 kB / 1.079 GB, free: 15.05 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 67 ($PRE.timSerRes.timeConverted,timSerRes.timeConverted,$PRE.timSerInp.timeConverted,timSerInp.timeConverted,$PRE.csvWriter.str,csvWriter.str,$whenCondition10,$PRE.TOut_F.nextTimeEvent,$whenCondition9,$PRE.TSupSetpoint_F.nextTimeEvent,$whenCondition8,$PRE.coolingValveSignal.nextTimeEvent,$whenCondition7,$PRE.fanFeedback.nextTimeEvent,$whenCondition6,$PRE.fanStatus.nextTimeEvent,$whenCondition5,$PRE.TSupply_F.nextTimeEvent,$whenCondition12,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,correlation.active,$PRE.correlation.tActivateLast,correlation.tActivateLast,correlation.sampleTrigger,timSerRes.active,$PRE.timSerRes.tActivateLast,timSerRes.tActivateLast,timSerRes.sampleTrigger,timSerInp.active,timSerInp.activate_internal,$PRE.timSerInp.tActivateLast,timSerInp.tActivateLast,timSerInp.sampleTrigger,$whenCondition1,csvWriter.sampleTrigger,coolingValveSignal.nextTimeEvent,$PRE.coolingValveSignal.nextTimeEventScaled,coolingValveSignal.nextTimeEventScaled,plotConfiguration.activate_internal,$whenCondition11,TOut_F.nextTimeEvent,$PRE.TOut_F.nextTimeEventScaled,TOut_F.nextTimeEventScaled,TSupSetpoint_F.nextTimeEvent,$PRE.TSupSetpoint_F.nextTimeEventScaled,TSupSetpoint_F.nextTimeEventScaled,fanFeedback.nextTimeEvent,$PRE.fanFeedback.nextTimeEventScaled,fanFeedback.nextTimeEventScaled,fanStatus.nextTimeEvent,$PRE.fanStatus.nextTimeEventScaled,fanStatus.nextTimeEventScaled,TSupply_F.nextTimeEvent,$PRE.TSupply_F.nextTimeEventScaled,TSupply_F.nextTimeEventScaled,cooValSta.uFanSta,cooValSta.limPI.trigger,$PRE.cooValSta.TOutThr.y,cooValSta.TOutThr.y,$PRE.cooValSta.uFanFeeThr.y,cooValSta.uFanFeeThr.y,$PRE.cooValSta.cha.u,cooValSta.cha.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003976/1.401, allocations: 212.5 kB / 1.079 GB, free: 14.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002701/1.401, allocations: 118.5 kB / 1.079 GB, free: 14.72 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002166/1.403, allocations: 0.7561 MB / 1.08 GB, free: 14.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.092e-05/1.403, allocations: 12 kB / 1.08 GB, free: 14.14 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.403, allocations: 0 / 1.08 GB, free: 14.14 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/1.403, allocations: 3.984 kB / 1.08 GB, free: 14.14 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004166/1.408, allocations: 1.724 MB / 1.081 GB, free: 12.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/1.408, allocations: 4 kB / 1.081 GB, free: 12.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006887/1.408, allocations: 83.03 kB / 1.081 GB, free: 12.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.449e-05/1.408, allocations: 8 kB / 1.081 GB, free: 12.71 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-05/1.409, allocations: 23.16 kB / 1.081 GB, free: 12.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.358e-06/1.409, allocations: 4 kB / 1.081 GB, free: 12.69 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/1.409, allocations: 0 / 1.081 GB, free: 12.69 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002882/1.411, allocations: 1.153 MB / 1.083 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006265/1.412, allocations: 283.6 kB / 1.083 GB, free: 11.56 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002056/1.412, allocations: 15.05 kB / 1.083 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007895/1.413, allocations: 51.33 kB / 1.083 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002675/1.413, allocations: 82.03 kB / 1.083 GB, free: 11.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/1.414, allocations: 38.91 kB / 1.083 GB, free: 11.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001109/1.415, allocations: 0.5487 MB / 1.084 GB, free: 11 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/1.415, allocations: 0 / 1.084 GB, free: 11 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001951/1.417, allocations: 394.1 kB / 1.084 GB, free: 10.62 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cooValSta.limPI.I.y) * Number of discrete variables: 44 (cooValSta.limPI.trigger,correlation.sampleTrigger,timSerRes.sampleTrigger,timSerInp.sampleTrigger,timSerInp.activate_internal,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,TOut_F.nextTimeEvent,TOut_F.nextTimeEventScaled,TSupSetpoint_F.nextTimeEvent,TSupSetpoint_F.nextTimeEventScaled,coolingValveSignal.nextTimeEvent,coolingValveSignal.nextTimeEventScaled,fanFeedback.nextTimeEvent,fanFeedback.nextTimeEventScaled,fanStatus.nextTimeEvent,fanStatus.nextTimeEventScaled,TSupply_F.nextTimeEvent,TSupply_F.nextTimeEventScaled,cooValSta.uFanSta,cooValSta.TOutThr.y,cooValSta.uFanFeeThr.y,cooValSta.cha.u,csvWriter.str,csvWriter.sampleTrigger,plotConfiguration.tActivateLast,correlation.active,correlation.tActivateLast,timSerRes.active,timSerRes.tActivateLast,timSerRes.timeConverted,timSerInp.active,timSerInp.tActivateLast,timSerInp.timeConverted) * Number of discrete states: 17 (TOut_F.nextTimeEvent,TSupSetpoint_F.nextTimeEvent,coolingValveSignal.nextTimeEvent,fanFeedback.nextTimeEvent,fanStatus.nextTimeEvent,TSupply_F.nextTimeEvent,TSupply_F.nextTimeEventScaled,fanStatus.nextTimeEventScaled,fanFeedback.nextTimeEventScaled,cooValSta.uFanFeeThr.y,coolingValveSignal.nextTimeEventScaled,TSupSetpoint_F.nextTimeEventScaled,TOut_F.nextTimeEventScaled,cooValSta.TOutThr.y,cooValSta.cha.u,csvWriter.str,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 18 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001473/1.418, allocations: 495.8 kB / 1.084 GB, free: 10.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003049/1.421, allocations: 1.461 MB / 1.086 GB, free: 8.984 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.421, allocations: 0 / 1.086 GB, free: 8.984 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008132/1.422, allocations: 372.2 kB / 1.086 GB, free: 8.703 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/1.424, allocations: 268.5 kB / 1.086 GB, free: 8.492 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003556/1.428, allocations: 1.265 MB / 1.088 GB, free: 7.355 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009059/1.429, allocations: 1.092 MB / 1.089 GB, free: 6.242 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001867/1.431, allocations: 316.8 kB / 1.089 GB, free: 5.926 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002899/1.431, allocations: 74.42 kB / 1.089 GB, free: 5.859 MB / 0.698 GB Notification: Performance of SimCode: time 1.012e-06/1.431, allocations: 0 / 1.089 GB, free: 5.859 MB / 0.698 GB Notification: Performance of Templates: time 0.05173/1.483, allocations: 16.66 MB / 1.105 GB, free: 5.352 MB / 0.7136 GB