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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.982/3.982, allocations: 433.2 MB / 440.7 MB, free: 4.602 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.225e-05/2.223e-05, allocations: 6.094 kB / 0.5325 GB, free: 12.72 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2075, allocations: 98.73 MB / 0.6289 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2535/0.461, allocations: 131.3 MB / 0.7571 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003641/0.4614, allocations: 87.94 kB / 0.7572 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.6485/1.11, allocations: 25.61 MB / 0.7822 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.896e-06/1.11, allocations: 0 / 0.7822 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002868/1.11, allocations: 42.84 kB / 0.7823 GB, free: 132.9 MB / 0.6511 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.005704/1.116, allocations: 1.599 MB / 0.7838 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/1.116, allocations: 8.391 kB / 0.7838 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/1.117, allocations: 202.1 kB / 0.784 GB, free: 132 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005067/1.122, allocations: 1.31 MB / 0.7853 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/1.122, allocations: 39.88 kB / 0.7854 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004161/1.123, allocations: 80.94 kB / 0.7854 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002977/1.126, allocations: 0.7836 MB / 0.7862 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003794/1.13, allocations: 1.048 MB / 0.7872 GB, free: 131.4 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.481e-05/1.13, allocations: 2.312 kB / 0.7872 GB, free: 131.4 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001962/1.13, allocations: 2.906 kB / 0.7872 GB, free: 131.4 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-05/1.13, allocations: 30.56 kB / 0.7873 GB, free: 131.4 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01212/1.142, allocations: 3.652 MB / 0.7908 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002163/1.144, allocations: 0.6976 MB / 0.7915 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007139/1.145, allocations: 260.3 kB / 0.7917 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001312/1.145, allocations: 21.16 kB / 0.7918 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001072/1.146, allocations: 419.1 kB / 0.7922 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=81): time 4.919e-06/1.146, allocations: 1.125 kB / 0.7922 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81): time 0.00202/1.148, allocations: 0.6348 MB / 0.7928 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/1.149, allocations: 351.4 kB / 0.7931 GB, free: 130 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002075/1.151, allocations: 0.8333 MB / 0.7939 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003466/1.151, allocations: 43 kB / 0.794 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000876/1.152, allocations: 0.7644 MB / 0.7947 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004387/1.152, allocations: 241.7 kB / 0.795 GB, free: 129.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.39e-05/1.153, allocations: 0 / 0.795 GB, free: 129.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.752e-05/1.153, allocations: 344.3 kB / 0.7953 GB, free: 129 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007814/1.153, allocations: 267.5 kB / 0.7955 GB, free: 129 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009929/1.154, allocations: 0.5973 MB / 0.7961 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000811/1.155, allocations: 301.2 kB / 0.7964 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/1.155, allocations: 6.031 kB / 0.7964 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00261/1.158, allocations: 0.8857 MB / 0.7973 GB, free: 128.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006685/1.159, allocations: 2.756 MB / 0.8 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-05/1.159, allocations: 7.594 kB / 0.8 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.103e-05/1.159, allocations: 13.22 kB / 0.8 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/1.161, allocations: 215 kB / 0.8002 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.814e-05/1.161, allocations: 19.81 kB / 0.8002 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/1.162, allocations: 135 kB / 0.8003 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/1.163, allocations: 38.41 kB / 0.8004 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/1.163, allocations: 4.094 kB / 0.8004 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001841/1.164, allocations: 0.673 MB / 0.801 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/1.164, allocations: 7.688 kB / 0.801 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.821e-05/1.165, allocations: 17.34 kB / 0.8011 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/1.166, allocations: 180 kB / 0.8012 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-05/1.166, allocations: 19.84 kB / 0.8013 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/1.168, allocations: 91.59 kB / 0.8013 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/1.168, allocations: 42.25 kB / 0.8014 GB, free: 125.4 MB / 0.6511 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,$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,$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,$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,$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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 130 * 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.0004123/1.168, allocations: 147.9 kB / 0.8015 GB, free: 125.3 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001834/1.17, allocations: 0.6327 MB / 0.8021 GB, free: 125.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003297/1.17, allocations: 143.8 kB / 0.8023 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/1.172, allocations: 0.6838 MB / 0.8029 GB, free: 125 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/1.172, allocations: 12.64 kB / 0.803 GB, free: 125 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/1.172, allocations: 2 kB / 0.803 GB, free: 125 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.682e-05/1.172, allocations: 4.969 kB / 0.803 GB, free: 125 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004479/1.177, allocations: 2.109 MB / 0.805 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.826e-05/1.177, allocations: 3.312 kB / 0.805 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002048/1.179, allocations: 148.2 kB / 0.8052 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-05/1.179, allocations: 6.812 kB / 0.8052 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001888/1.179, allocations: 16.27 kB / 0.8052 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.698e-05/1.179, allocations: 7 kB / 0.8052 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.789e-06/1.179, allocations: 0 / 0.8052 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002763/1.182, allocations: 1.423 MB / 0.8066 GB, free: 123.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000649/1.183, allocations: 296.4 kB / 0.8069 GB, free: 123 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002347/1.183, allocations: 13.25 kB / 0.8069 GB, free: 123 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/1.184, allocations: 80.19 kB / 0.807 GB, free: 122.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002782/1.185, allocations: 90.89 kB / 0.807 GB, free: 122.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.289e-05/1.185, allocations: 27.09 kB / 0.8071 GB, free: 122.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001112/1.186, allocations: 0.6019 MB / 0.8077 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.186, allocations: 3.938 kB / 0.8077 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002028/1.188, allocations: 426.6 kB / 0.8081 GB, free: 122.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (83): * Single equations (assignments): 82 * 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.002687/1.191, allocations: 2.486 MB / 0.8105 GB, free: 120.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002624/1.193, allocations: 1.105 MB / 0.8116 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/1.193, allocations: 1.188 kB / 0.8116 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007405/1.194, allocations: 314 kB / 0.8119 GB, free: 120 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/1.197, allocations: 323.8 kB / 0.8122 GB, free: 119.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005418/1.202, allocations: 1.868 MB / 0.814 GB, free: 119 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007811/1.203, allocations: 1.231 MB / 0.8152 GB, free: 118.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002524/1.205, allocations: 273 kB / 0.8155 GB, free: 118.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/1.207, allocations: 0.5945 MB / 0.8161 GB, free: 117.8 MB / 0.6511 GB Notification: Performance of SimCode: time 1.142e-06/1.207, allocations: 0 / 0.8161 GB, free: 117.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09328/1.3, allocations: 26.21 MB / 0.8417 GB, free: 97.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002412/1.3, allocations: 183.9 kB / 0.8418 GB, free: 97.46 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.487/4.787, allocations: 0 / 0.8418 GB, free: 97.46 MB / 0.6511 GB