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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0166/0.0166, allocations: 108.5 kB / 15.06 MB, free: 5.555 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.002137/0.002138, allocations: 181 kB / 15.95 MB, free: 5.52 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.249/2.249, allocations: 194.6 MB / 211.3 MB, free: 11.24 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.282/2.282, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007034/0.0007035, allocations: 12 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7164/0.7172, allocations: 98.72 MB / 0.6834 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve): time 0.01066/0.7279, allocations: 5.22 MB / 0.6885 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.006072/0.7341, allocations: 2.177 MB / 0.6907 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001495/0.7356, allocations: 70.25 kB / 0.6907 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0003237/0.736, allocations: 115.9 kB / 0.6908 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001814/0.7378, allocations: 383.7 kB / 0.6912 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002615/0.7404, allocations: 0.6577 MB / 0.6918 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.003252/0.7437, allocations: 1.172 MB / 0.693 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.7451, allocations: 0.6472 MB / 0.6936 GB, free: 9.695 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/0.7464, allocations: 0.5708 MB / 0.6942 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007183/0.7471, allocations: 0.5045 MB / 0.6947 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001733/0.7473, allocations: 38.62 kB / 0.6947 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.7475, allocations: 38.53 kB / 0.6947 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002628/0.7478, allocations: 209 kB / 0.6949 GB, free: 8.98 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002851/0.7481, allocations: 294.9 kB / 0.6952 GB, free: 8.766 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.003122/0.7512, allocations: 1.816 MB / 0.697 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.7513, allocations: 0 / 0.697 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.356e-06/0.7513, allocations: 0 / 0.697 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001125/0.7514, allocations: 1.031 kB / 0.697 GB, free: 8.195 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.005708/0.7571, allocations: 1.766 MB / 0.6987 GB, free: 6.891 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.7572, allocations: 13.03 kB / 0.6987 GB, free: 6.887 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004902/0.7577, allocations: 187 kB / 0.6989 GB, free: 6.734 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004639/0.7582, allocations: 203.5 kB / 0.6991 GB, free: 6.629 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004106/0.7623, allocations: 1.3 MB / 0.7004 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.7625, allocations: 104 kB / 0.7005 GB, free: 5.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003248/0.7628, allocations: 127.1 kB / 0.7006 GB, free: 5.531 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003561/0.7664, allocations: 1.18 MB / 0.7018 GB, free: 4.777 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.547e-05/0.7665, allocations: 0 / 0.7018 GB, free: 4.777 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/0.7666, allocations: 52.06 kB / 0.7018 GB, free: 4.738 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.75e-05/0.7667, allocations: 29.5 kB / 0.7018 GB, free: 4.738 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003087/0.7698, allocations: 0.8512 MB / 0.7027 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01037/0.7802, allocations: 3.715 MB / 0.7063 GB, free: 1.504 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002517/0.7828, allocations: 0.6608 MB / 0.7069 GB, free: 1.125 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/0.783, allocations: 15.8 kB / 0.707 GB, free: 1.117 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001331/0.7843, allocations: 417.3 kB / 0.7073 GB, free: 0.8281 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=77): time 3.928e-06/0.7843, allocations: 0 / 0.7073 GB, free: 0.8281 MB / 0.5261 GB Notification: Performance of matching and sorting (n=77): time 0.003124/0.7875, allocations: 0.8395 MB / 0.7082 GB, free: 416 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/0.7876, allocations: 144.7 kB / 0.7083 GB, free: 248 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002684/0.7903, allocations: 1.248 MB / 0.7095 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000273/0.7906, allocations: 55.39 kB / 0.7096 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.00103/0.7916, allocations: 0.7639 MB / 0.7103 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003913/0.792, allocations: 243.8 kB / 0.7106 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.246e-05/0.7921, allocations: 25.06 kB / 0.7106 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.7923, allocations: 350.9 kB / 0.7109 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.7934, allocations: 273.9 kB / 0.7112 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/0.7948, allocations: 0.6098 MB / 0.7118 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.796, allocations: 334.1 kB / 0.7121 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.7961, allocations: 3.844 kB / 0.7121 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003466/0.7996, allocations: 1.02 MB / 0.7131 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.00202/0.8016, allocations: 3.755 MB / 0.7168 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.814e-05/0.8017, allocations: 12.95 kB / 0.7168 GB, free: 8.738 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.624e-05/0.8018, allocations: 17.34 kB / 0.7168 GB, free: 8.738 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/0.8034, allocations: 197.4 kB / 0.717 GB, free: 8.684 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.939e-05/0.8035, allocations: 22.5 kB / 0.717 GB, free: 8.676 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.805, allocations: 144.6 kB / 0.7171 GB, free: 8.578 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/0.8052, allocations: 44.47 kB / 0.7172 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.8052, allocations: 4.188 kB / 0.7172 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00247/0.8077, allocations: 0.8229 MB / 0.718 GB, free: 8.168 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.8078, allocations: 10.16 kB / 0.718 GB, free: 8.168 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.809e-05/0.8078, allocations: 15.31 kB / 0.718 GB, free: 8.168 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.8091, allocations: 186.2 kB / 0.7182 GB, free: 8.121 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.248e-05/0.8092, allocations: 19.94 kB / 0.7182 GB, free: 8.117 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.8105, allocations: 127.1 kB / 0.7183 GB, free: 8.031 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/0.8106, allocations: 47.17 kB / 0.7184 GB, free: 8.02 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.001194/0.8118, allocations: 421.1 kB / 0.7188 GB, free: 7.684 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004983/0.8124, allocations: 155.9 kB / 0.7189 GB, free: 7.598 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002743/0.8151, allocations: 0.7129 MB / 0.7196 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.8152, allocations: 8.5 kB / 0.7196 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/0.8152, allocations: 2.438 kB / 0.7196 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.628e-05/0.8152, allocations: 9.047 kB / 0.7196 GB, free: 7.172 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005413/0.8207, allocations: 2.081 MB / 0.7217 GB, free: 5.645 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.8207, allocations: 1.844 kB / 0.7217 GB, free: 5.645 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.8217, allocations: 106.4 kB / 0.7218 GB, free: 5.617 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.28e-05/0.8218, allocations: 5.375 kB / 0.7218 GB, free: 5.617 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.621e-05/0.8219, allocations: 22.17 kB / 0.7218 GB, free: 5.602 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.158e-05/0.8219, allocations: 11.8 kB / 0.7218 GB, free: 5.594 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.8219, allocations: 2.5 kB / 0.7218 GB, free: 5.594 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003578/0.8255, allocations: 1.364 MB / 0.7231 GB, free: 4.625 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000811/0.8263, allocations: 283.4 kB / 0.7234 GB, free: 4.344 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003003/0.8267, allocations: 32 kB / 0.7234 GB, free: 4.312 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001922/0.8286, allocations: 35.95 kB / 0.7235 GB, free: 4.277 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005159/0.8292, allocations: 83.81 kB / 0.7236 GB, free: 4.195 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001437/0.8293, allocations: 27.98 kB / 0.7236 GB, free: 4.168 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.003005/0.8324, allocations: 0.8045 MB / 0.7244 GB, free: 3.367 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.042e-06/0.8324, allocations: 4 kB / 0.7244 GB, free: 3.363 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003109/0.8355, allocations: 442.2 kB / 0.7248 GB, free: 2.93 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.005772/0.8413, allocations: 2.288 MB / 0.727 GB, free: 0.5898 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004804/0.8462, allocations: 1.137 MB / 0.7281 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.8462, allocations: 0 / 0.7281 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.8474, allocations: 300.5 kB / 0.7284 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/0.85, allocations: 343.9 kB / 0.7288 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03184/0.8819, allocations: 14.22 MB / 0.7426 GB, free: 15.96 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001668/0.8836, allocations: 1.233 MB / 0.7438 GB, free: 14.7 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002686/0.8863, allocations: 247.9 kB / 0.7441 GB, free: 14.45 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001687/0.888, allocations: 0.6164 MB / 0.7447 GB, free: 13.83 MB / 0.573 GB Notification: Performance of SimCode: time 1.072e-06/0.888, allocations: 0 / 0.7447 GB, free: 13.83 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1179/1.006, allocations: 25.55 MB / 0.7696 GB, free: 4.609 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003234/1.006, allocations: 211.2 kB / 0.7698 GB, free: 4.375 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.543/4.549, allocations: 0 / 0.7698 GB, free: 4.375 MB / 0.5886 GB