Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.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.BaseClasses.Validation.CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.252/2.252, allocations: 252.6 MB / 265.2 MB, free: 5.648 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.001923/0.001923, allocations: 175.9 kB / 324.5 MB, free: 14.42 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.992/1.992, allocations: 205.4 MB / 0.5754 GB, free: 10.51 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.001142/0.001142, allocations: 94.33 kB / 0.6797 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.163e-05/3.172e-05, allocations: 8 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2037, allocations: 106.2 MB / 0.8949 GB, free: 6.281 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8281/1.032, allocations: 137.9 MB / 1.03 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003279/1.032, allocations: 87.38 kB / 1.03 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1053/1.138, allocations: 26.18 MB / 1.055 GB, free: 6.594 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.445e-06/1.138, allocations: 0 / 1.055 GB, free: 6.594 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001463/1.138, allocations: 40 kB / 1.055 GB, free: 6.555 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.004756/1.143, allocations: 1.673 MB / 1.057 GB, free: 4.941 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/1.143, allocations: 8.031 kB / 1.057 GB, free: 4.934 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007123/1.143, allocations: 209.5 kB / 1.057 GB, free: 4.727 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003841/1.147, allocations: 1.243 MB / 1.058 GB, free: 3.695 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/1.147, allocations: 118.7 kB / 1.058 GB, free: 3.629 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000344/1.148, allocations: 157.2 kB / 1.059 GB, free: 3.523 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003585/1.151, allocations: 1.37 MB / 1.06 GB, free: 2.594 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.288e-05/1.151, allocations: 0 / 1.06 GB, free: 2.594 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001969/1.152, allocations: 64.19 kB / 1.06 GB, free: 2.578 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.324e-05/1.152, allocations: 36 kB / 1.06 GB, free: 2.543 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002763/1.154, allocations: 0.959 MB / 1.061 GB, free: 1.953 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01214/1.167, allocations: 4.771 MB / 1.066 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002353/1.169, allocations: 0.7678 MB / 1.066 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008232/1.17, allocations: 336.6 kB / 1.067 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/1.17, allocations: 16.05 kB / 1.067 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/1.171, allocations: 455.2 kB / 1.067 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=85): time 4.358e-06/1.171, allocations: 0 / 1.067 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=85): time 0.002001/1.173, allocations: 0.7047 MB / 1.068 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/1.173, allocations: 243.4 kB / 1.068 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002398/1.176, allocations: 1.18 MB / 1.069 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002119/1.176, allocations: 62.69 kB / 1.069 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008737/1.177, allocations: 0.8078 MB / 1.07 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003393/1.177, allocations: 262.8 kB / 1.07 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.618e-05/1.177, allocations: 22.56 kB / 1.07 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.177, allocations: 351.9 kB / 1.071 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008462/1.178, allocations: 287 kB / 1.071 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/1.179, allocations: 0.6251 MB / 1.072 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000886/1.18, allocations: 348.8 kB / 1.072 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-05/1.18, allocations: 4 kB / 1.072 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002722/1.183, allocations: 1.033 MB / 1.073 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001078/1.184, allocations: 2.816 MB / 1.076 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/1.184, allocations: 4 kB / 1.076 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.387e-05/1.184, allocations: 20 kB / 1.076 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/1.186, allocations: 231.6 kB / 1.076 GB, free: 5.223 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.232e-05/1.186, allocations: 15.94 kB / 1.076 GB, free: 5.207 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/1.188, allocations: 210.5 kB / 1.076 GB, free: 5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/1.188, allocations: 47.97 kB / 1.076 GB, free: 4.953 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/1.188, allocations: 4 kB / 1.076 GB, free: 4.949 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002177/1.19, allocations: 0.8284 MB / 1.077 GB, free: 4.121 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/1.19, allocations: 8.156 kB / 1.077 GB, free: 4.113 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.776e-05/1.19, allocations: 16 kB / 1.077 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/1.192, allocations: 199.7 kB / 1.077 GB, free: 3.902 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.034e-05/1.192, allocations: 23.88 kB / 1.077 GB, free: 3.879 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/1.193, allocations: 166.8 kB / 1.077 GB, free: 3.715 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/1.193, allocations: 43.94 kB / 1.077 GB, free: 3.672 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition4,$whenCondition5,cooVal.uFanSta,cooVal.limPI.trigger,$PRE.cooVal.TOutThr.y,cooVal.TOutThr.y,$PRE.cooVal.uFanFeeThr.y,cooVal.uFanFeeThr.y,$PRE.cooVal.cha.u,cooVal.cha.u,$PRE.uSupFan.pulseStart,uSupFan.pulseStart,$whenCondition3,cooVal3.limPI.trigger,$PRE.cooVal3.TOutThr.y,cooVal3.TOutThr.y,$PRE.cooVal3.uFanFeeThr.y,cooVal3.uFanFeeThr.y,$PRE.cooVal3.cha.u,cooVal3.cha.u,$whenCondition2,cooVal1.limPI.trigger,$PRE.cooVal1.TOutThr.y,cooVal1.TOutThr.y,$PRE.cooVal1.uFanFeeThr.y,cooVal1.uFanFeeThr.y,$PRE.cooVal1.cha.u,cooVal1.cha.u,$whenCondition1,cooVal2.limPI.trigger,$PRE.cooVal2.TOutThr.y,cooVal2.TOutThr.y,$PRE.cooVal2.uFanFeeThr.y,cooVal2.uFanFeeThr.y,$PRE.cooVal2.cha.u,cooVal2.cha.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * 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.0003849/1.194, allocations: 191.8 kB / 1.078 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003098/1.194, allocations: 161.9 kB / 1.078 GB, free: 3.32 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/1.196, allocations: 0.7768 MB / 1.078 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/1.196, allocations: 12 kB / 1.078 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/1.196, allocations: 3.953 kB / 1.078 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/1.196, allocations: 7.984 kB / 1.078 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005284/1.202, allocations: 2.409 MB / 1.081 GB, free: 28 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/1.202, allocations: 4 kB / 1.081 GB, free: 24 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/1.203, allocations: 147.8 kB / 1.081 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.8e-05/1.203, allocations: 8 kB / 1.081 GB, free: 15.87 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.82e-05/1.203, allocations: 28.11 kB / 1.081 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.028e-05/1.203, allocations: 4 kB / 1.081 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/1.203, allocations: 7.938 kB / 1.081 GB, free: 15.83 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00305/1.206, allocations: 1.565 MB / 1.083 GB, free: 14.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004322/1.207, allocations: 234.9 kB / 1.083 GB, free: 13.91 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003101/1.207, allocations: 35.94 kB / 1.083 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/1.209, allocations: 91.86 kB / 1.083 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000293/1.209, allocations: 95.84 kB / 1.083 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.972e-05/1.209, allocations: 27.98 kB / 1.083 GB, free: 13.67 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001915/1.211, allocations: 0.8839 MB / 1.084 GB, free: 12.79 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.01e-07/1.211, allocations: 3.938 kB / 1.084 GB, free: 12.79 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002142/1.213, allocations: 474.6 kB / 1.084 GB, free: 12.32 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (cooVal2.limPI.I.y,cooVal1.limPI.I.y,cooVal3.limPI.I.y,cooVal.limPI.I.y) * Number of discrete variables: 23 (cooVal2.limPI.trigger,$whenCondition1,cooVal2.TOutThr.y,cooVal2.uFanFeeThr.y,cooVal2.cha.u,cooVal1.limPI.trigger,$whenCondition2,cooVal1.TOutThr.y,cooVal1.uFanFeeThr.y,cooVal1.cha.u,cooVal3.limPI.trigger,$whenCondition3,cooVal3.TOutThr.y,cooVal3.uFanFeeThr.y,cooVal3.cha.u,cooVal.limPI.trigger,$whenCondition5,$whenCondition4,cooVal.uFanSta,cooVal.TOutThr.y,cooVal.uFanFeeThr.y,cooVal.cha.u,uSupFan.pulseStart) * Number of discrete states: 12 (cooVal.uFanFeeThr.y,cooVal.TOutThr.y,cooVal.cha.u,cooVal3.uFanFeeThr.y,cooVal3.TOutThr.y,cooVal3.cha.u,cooVal1.uFanFeeThr.y,cooVal1.TOutThr.y,cooVal1.cha.u,cooVal2.uFanFeeThr.y,cooVal2.TOutThr.y,cooVal2.cha.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003355/1.213, allocations: 163.5 kB / 1.084 GB, free: 12.15 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003444/1.217, allocations: 1.254 MB / 1.086 GB, free: 10.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.217, allocations: 3.938 kB / 1.086 GB, free: 10.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009744/1.218, allocations: 340.4 kB / 1.086 GB, free: 10.56 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/1.22, allocations: 310 kB / 1.086 GB, free: 10.26 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005406/1.226, allocations: 1.855 MB / 1.088 GB, free: 8.348 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/1.227, allocations: 1.272 MB / 1.089 GB, free: 7.047 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002498/1.229, allocations: 296 kB / 1.09 GB, free: 6.754 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004148/1.23, allocations: 99.39 kB / 1.09 GB, free: 6.656 MB / 0.698 GB Notification: Performance of SimCode: time 1.462e-06/1.23, allocations: 0 / 1.09 GB, free: 6.656 MB / 0.698 GB Notification: Performance of Templates: time 0.05088/1.281, allocations: 16.17 MB / 1.106 GB, free: 6.629 MB / 0.7136 GB