Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00936/0.00936, allocations: 107.6 kB / 15.06 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001145/0.001144, allocations: 179.8 kB / 15.95 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.059/2.059, allocations: 194.6 MB / 211.3 MB, free: 11.09 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.174/2.174, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007641/0.0007644, allocations: 12 kB / 0.5869 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5451/0.5459, allocations: 98.71 MB / 0.6833 GB, free: 16.93 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve): time 0.005984/0.5519, allocations: 5.223 MB / 0.6884 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.005088/0.5571, allocations: 2.173 MB / 0.6906 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00184/0.5589, allocations: 75.5 kB / 0.6906 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005779/0.5596, allocations: 114.8 kB / 0.6907 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002282/0.5618, allocations: 384.6 kB / 0.6911 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002583/0.5644, allocations: 0.6577 MB / 0.6918 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002959/0.5674, allocations: 1.172 MB / 0.6929 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001277/0.5687, allocations: 0.6353 MB / 0.6935 GB, free: 9.82 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.5698, allocations: 0.5691 MB / 0.6941 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005653/0.5704, allocations: 0.5053 MB / 0.6946 GB, free: 9.223 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001644/0.5706, allocations: 38.84 kB / 0.6946 GB, free: 9.223 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.5708, allocations: 38.19 kB / 0.6946 GB, free: 9.223 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002237/0.571, allocations: 212.8 kB / 0.6948 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002634/0.5713, allocations: 295.6 kB / 0.6951 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002243/0.5735, allocations: 1.81 MB / 0.6969 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.259e-06/0.5736, allocations: 0 / 0.6969 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.948e-06/0.5736, allocations: 0.8438 kB / 0.6969 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.399e-05/0.5736, allocations: 4 kB / 0.6969 GB, free: 8.211 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 313 * Number of variables: 313 Notification: Performance of Generate backend data structure: time 0.00383/0.5775, allocations: 1.766 MB / 0.6986 GB, free: 6.906 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.5775, allocations: 9.469 kB / 0.6986 GB, free: 6.906 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000436/0.578, allocations: 204.6 kB / 0.6988 GB, free: 6.801 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003124/0.5811, allocations: 1.3 MB / 0.7001 GB, free: 5.793 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.5813, allocations: 100.1 kB / 0.7002 GB, free: 5.746 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002232/0.5815, allocations: 130.5 kB / 0.7003 GB, free: 5.703 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002735/0.5842, allocations: 1.175 MB / 0.7015 GB, free: 4.953 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.025e-05/0.5843, allocations: 5.719 kB / 0.7015 GB, free: 4.949 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/0.5845, allocations: 51.25 kB / 0.7015 GB, free: 4.91 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.73e-05/0.5845, allocations: 29.56 kB / 0.7016 GB, free: 4.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002342/0.5869, allocations: 0.8461 MB / 0.7024 GB, free: 4.488 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007794/0.5947, allocations: 3.727 MB / 0.706 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00197/0.5967, allocations: 0.6624 MB / 0.7067 GB, free: 1.285 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.339e-05/0.5968, allocations: 12.83 kB / 0.7067 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001004/0.5978, allocations: 420.4 kB / 0.7071 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=77): time 4.249e-06/0.5978, allocations: 0 / 0.7071 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of matching and sorting (n=77): time 0.002503/0.6003, allocations: 0.8419 MB / 0.7079 GB, free: 0.5664 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.6004, allocations: 140.2 kB / 0.708 GB, free: 416 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/0.6026, allocations: 1.244 MB / 0.7092 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001539/0.6028, allocations: 60.38 kB / 0.7093 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008827/0.6037, allocations: 0.768 MB / 0.7101 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002981/0.604, allocations: 244.1 kB / 0.7103 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.142e-05/0.6041, allocations: 19.59 kB / 0.7103 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001961/0.6043, allocations: 355.7 kB / 0.7106 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000906/0.6052, allocations: 269.2 kB / 0.7109 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.6064, allocations: 0.6134 MB / 0.7115 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009498/0.6074, allocations: 334.5 kB / 0.7118 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-05/0.6074, allocations: 2.438 kB / 0.7118 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002788/0.6102, allocations: 1.019 MB / 0.7128 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001957/0.6122, allocations: 3.76 MB / 0.7165 GB, free: 8.902 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.694e-05/0.6122, allocations: 9.188 kB / 0.7165 GB, free: 8.902 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.973e-05/0.6123, allocations: 16.12 kB / 0.7165 GB, free: 8.902 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.6134, allocations: 202 kB / 0.7167 GB, free: 8.844 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-05/0.6134, allocations: 18.12 kB / 0.7167 GB, free: 8.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.6145, allocations: 145.9 kB / 0.7169 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.6147, allocations: 43.77 kB / 0.7169 GB, free: 8.734 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.6147, allocations: 3.625 kB / 0.7169 GB, free: 8.734 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002084/0.6168, allocations: 0.817 MB / 0.7177 GB, free: 8.336 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/0.6168, allocations: 13.86 kB / 0.7177 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.6169, allocations: 16.28 kB / 0.7177 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008398/0.6177, allocations: 181.7 kB / 0.7179 GB, free: 8.289 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.65e-05/0.6177, allocations: 19.34 kB / 0.7179 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009892/0.6187, allocations: 127.6 kB / 0.718 GB, free: 8.199 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.91e-05/0.6189, allocations: 44.09 kB / 0.7181 GB, free: 8.191 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 39 ($whenCondition4,$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,cooVal2.limPI.trigger,$PRE.cooVal2.TOutThr.y,cooVal2.TOutThr.y,$PRE.cooVal2.uFanFeeThr.y,cooVal2.uFanFeeThr.y,$PRE.cooVal2.cha.u,cooVal2.cha.u,$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,uSupFan3.y,uSupFan2.y,uSupFan1.y,$whenCondition1,cooVal1.limPI.trigger,$PRE.cooVal1.TOutThr.y,cooVal1.TOutThr.y,$PRE.cooVal1.uFanFeeThr.y,cooVal1.uFanFeeThr.y,$PRE.cooVal1.cha.u,cooVal1.cha.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 137 * 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.001004/0.6199, allocations: 425.5 kB / 0.7185 GB, free: 7.852 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000299/0.6202, allocations: 159.1 kB / 0.7186 GB, free: 7.762 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/0.6224, allocations: 0.7092 MB / 0.7193 GB, free: 7.348 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.6224, allocations: 8.312 kB / 0.7193 GB, free: 7.348 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.023e-06/0.6224, allocations: 1.406 kB / 0.7193 GB, free: 7.348 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/0.6224, allocations: 5.391 kB / 0.7194 GB, free: 7.344 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004552/0.627, allocations: 2.093 MB / 0.7214 GB, free: 5.805 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.577e-06/0.6271, allocations: 1.156 kB / 0.7214 GB, free: 5.805 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007187/0.6278, allocations: 108 kB / 0.7215 GB, free: 5.777 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/0.6278, allocations: 4.125 kB / 0.7215 GB, free: 5.777 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.017e-05/0.6279, allocations: 25.92 kB / 0.7215 GB, free: 5.758 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-05/0.6279, allocations: 12.52 kB / 0.7215 GB, free: 5.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.11e-06/0.6279, allocations: 2.531 kB / 0.7215 GB, free: 5.75 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003016/0.631, allocations: 1.362 MB / 0.7229 GB, free: 4.785 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006073/0.6316, allocations: 286.3 kB / 0.7231 GB, free: 4.531 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002111/0.6318, allocations: 25.62 kB / 0.7232 GB, free: 4.516 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000832/0.6327, allocations: 36.61 kB / 0.7232 GB, free: 4.496 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002351/0.6329, allocations: 82.69 kB / 0.7233 GB, free: 4.422 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.036e-05/0.633, allocations: 31.98 kB / 0.7233 GB, free: 4.391 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001566/0.6346, allocations: 0.8045 MB / 0.7241 GB, free: 3.59 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.09e-07/0.6346, allocations: 3.938 kB / 0.7241 GB, free: 3.586 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001894/0.6365, allocations: 446.2 kB / 0.7245 GB, free: 3.148 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (cooVal1.limPI.I.y,cooVal2.limPI.I.y,cooVal3.limPI.I.y,cooVal.limPI.I.y) * Number of discrete variables: 23 (cooVal1.limPI.trigger,$whenCondition1,cooVal1.TOutThr.y,cooVal1.uFanFeeThr.y,cooVal1.cha.u,cooVal2.limPI.trigger,$whenCondition2,cooVal2.TOutThr.y,cooVal2.uFanFeeThr.y,cooVal2.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,cooVal2.uFanFeeThr.y,cooVal2.TOutThr.y,cooVal2.cha.u,cooVal1.uFanFeeThr.y,cooVal1.TOutThr.y,cooVal1.cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 78 * 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.0002466/0.6368, allocations: 150.6 kB / 0.7247 GB, free: 2.996 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003153/0.6399, allocations: 1.134 MB / 0.7258 GB, free: 1.871 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.997e-06/0.64, allocations: 0 / 0.7258 GB, free: 1.871 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0009158/0.6409, allocations: 303.9 kB / 0.7261 GB, free: 1.574 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/0.6428, allocations: 332.5 kB / 0.7264 GB, free: 1.25 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005351/0.6482, allocations: 2.695 MB / 0.729 GB, free: 14.51 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/0.6494, allocations: 1.23 MB / 0.7302 GB, free: 13.25 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.001701/0.6511, allocations: 247.8 kB / 0.7305 GB, free: 13 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003695/0.6515, allocations: 111.4 kB / 0.7306 GB, free: 12.89 MB / 0.5574 GB Notification: Performance of SimCode: time 1.603e-06/0.6515, allocations: 0 / 0.7306 GB, free: 12.89 MB / 0.5574 GB Notification: Performance of Templates: time 0.03822/0.6897, allocations: 12.08 MB / 0.7424 GB, free: 0.9648 MB / 0.5574 GB