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.379/2.379, allocations: 252.6 MB / 265.2 MB, free: 5.68 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.001511/0.00151, allocations: 183.8 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.998/1.998, allocations: 205.4 MB / 0.5754 GB, free: 10.49 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.001118/0.001118, allocations: 97.98 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.648e-05/3.652e-05, allocations: 11.98 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1925, allocations: 106.2 MB / 0.8949 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9249/1.118, allocations: 146.2 MB / 1.038 GB, free: 4.477 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/1.118, allocations: 86.31 kB / 1.038 GB, free: 4.43 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1411/1.259, allocations: 32.84 MB / 1.07 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.854e-06/1.259, allocations: 0 / 1.07 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001522/1.259, allocations: 35.42 kB / 1.07 GB, free: 9.105 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.003598/1.263, allocations: 1.411 MB / 1.071 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/1.263, allocations: 8.031 kB / 1.071 GB, free: 7.672 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005596/1.263, allocations: 146.3 kB / 1.071 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003225/1.267, allocations: 0.8825 MB / 1.072 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/1.267, allocations: 67.86 kB / 1.072 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002247/1.267, allocations: 81.39 kB / 1.072 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/1.269, allocations: 0.7489 MB / 1.073 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/1.269, allocations: 0 / 1.073 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/1.269, allocations: 30.23 kB / 1.073 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/1.269, allocations: 16 kB / 1.073 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/1.271, allocations: 475.2 kB / 1.074 GB, free: 5.746 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006281/1.277, allocations: 2.27 MB / 1.076 GB, free: 4.02 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001862/1.279, allocations: 0.636 MB / 1.076 GB, free: 3.578 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007837/1.28, allocations: 281.3 kB / 1.077 GB, free: 3.398 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.897e-05/1.28, allocations: 12.55 kB / 1.077 GB, free: 3.387 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001111/1.281, allocations: 458.2 kB / 1.077 GB, free: 3.027 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=82): time 3.687e-06/1.281, allocations: 0 / 1.077 GB, free: 3.027 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82): time 0.00238/1.283, allocations: 0.7797 MB / 1.078 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001766/1.283, allocations: 306.8 kB / 1.078 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001782/1.285, allocations: 0.8114 MB / 1.079 GB, free: 1.398 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000264/1.286, allocations: 54.7 kB / 1.079 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005434/1.286, allocations: 493.8 kB / 1.08 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002943/1.286, allocations: 225.9 kB / 1.08 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.906e-05/1.286, allocations: 22.69 kB / 1.08 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001477/1.287, allocations: 344.2 kB / 1.08 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007972/1.287, allocations: 253 kB / 1.08 GB, free: 400 kB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/1.289, allocations: 0.5354 MB / 1.081 GB, free: 15.86 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009322/1.29, allocations: 418.5 kB / 1.081 GB, free: 15.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/1.29, allocations: 0 / 1.081 GB, free: 15.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002893/1.292, allocations: 1.046 MB / 1.082 GB, free: 14.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009113/1.293, allocations: 2.216 MB / 1.084 GB, free: 12.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.163e-05/1.293, allocations: 8 kB / 1.084 GB, free: 12.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.759e-05/1.293, allocations: 8 kB / 1.084 GB, free: 12.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/1.295, allocations: 159.2 kB / 1.085 GB, free: 12.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.644e-05/1.295, allocations: 12 kB / 1.085 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/1.296, allocations: 116.1 kB / 1.085 GB, free: 11.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/1.296, allocations: 42.67 kB / 1.085 GB, free: 11.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/1.296, allocations: 4 kB / 1.085 GB, free: 11.95 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00251/1.299, allocations: 0.9296 MB / 1.086 GB, free: 11.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/1.299, allocations: 4 kB / 1.086 GB, free: 11.08 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/1.299, allocations: 15.98 kB / 1.086 GB, free: 11.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/1.3, allocations: 148.4 kB / 1.086 GB, free: 10.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.196e-05/1.3, allocations: 11.94 kB / 1.086 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/1.301, allocations: 107.4 kB / 1.086 GB, free: 10.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/1.302, allocations: 43.98 kB / 1.086 GB, free: 10.76 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.0004674/1.302, allocations: 234.5 kB / 1.086 GB, free: 10.52 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003364/1.302, allocations: 118.6 kB / 1.086 GB, free: 10.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002496/1.305, allocations: 0.869 MB / 1.087 GB, free: 9.516 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/1.305, allocations: 8 kB / 1.087 GB, free: 9.508 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/1.305, allocations: 4 kB / 1.087 GB, free: 9.504 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/1.305, allocations: 3.984 kB / 1.087 GB, free: 9.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004975/1.31, allocations: 1.904 MB / 1.089 GB, free: 7.531 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/1.31, allocations: 3.984 kB / 1.089 GB, free: 7.527 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007038/1.311, allocations: 87.84 kB / 1.089 GB, free: 7.441 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.258e-05/1.311, allocations: 0 / 1.089 GB, free: 7.441 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.842e-05/1.311, allocations: 35.97 kB / 1.089 GB, free: 7.406 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.848e-06/1.311, allocations: 4 kB / 1.089 GB, free: 7.402 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.311, allocations: 0 / 1.089 GB, free: 7.402 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003294/1.314, allocations: 1.245 MB / 1.09 GB, free: 6.137 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007961/1.315, allocations: 283.5 kB / 1.091 GB, free: 5.84 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002411/1.315, allocations: 27.98 kB / 1.091 GB, free: 5.812 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008325/1.316, allocations: 63.95 kB / 1.091 GB, free: 5.75 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002969/1.317, allocations: 80.66 kB / 1.091 GB, free: 5.672 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/1.317, allocations: 39.95 kB / 1.091 GB, free: 5.633 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001361/1.318, allocations: 0.6205 MB / 1.092 GB, free: 5 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.51e-07/1.318, allocations: 0 / 1.092 GB, free: 5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002058/1.32, allocations: 454.8 kB / 1.092 GB, free: 4.555 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.001566/1.322, allocations: 0.5102 MB / 1.092 GB, free: 4.188 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003855/1.326, allocations: 1.535 MB / 1.094 GB, free: 2.551 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/1.326, allocations: 0 / 1.094 GB, free: 2.551 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/1.327, allocations: 395.8 kB / 1.094 GB, free: 2.148 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/1.329, allocations: 285 kB / 1.095 GB, free: 1.871 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004027/1.333, allocations: 1.296 MB / 1.096 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008699/1.334, allocations: 1.093 MB / 1.097 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002015/1.336, allocations: 320.7 kB / 1.097 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003027/1.336, allocations: 71.42 kB / 1.097 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of SimCode: time 1.373e-06/1.337, allocations: 0 / 1.097 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of Templates: time 0.0522/1.389, allocations: 17.68 MB / 1.115 GB, free: 13.5 MB / 0.7292 GB