Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.SetPoints.Validation.HotWaterTemperatureReset.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.SetPoints.Validation.HotWaterTemperatureReset,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_SetPoints_Validation_HotWaterTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.094/4.094, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.16e-05/4.171e-05, allocations: 5.234 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.215, allocations: 98.73 MB / 0.6347 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2297/0.4447, allocations: 124.9 MB / 0.7567 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.445, allocations: 71.95 kB / 0.7568 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009672/0.4547, allocations: 2.058 MB / 0.7588 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4548, allocations: 0 / 0.7588 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.4548, allocations: 4 kB / 0.7588 GB, free: 2.652 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001133/0.4559, allocations: 454.1 kB / 0.7593 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.456, allocations: 8.031 kB / 0.7593 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.69e-05/0.4561, allocations: 42.55 kB / 0.7593 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.827e-05/0.4562, allocations: 15.86 kB / 0.7593 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.4564, allocations: 189.6 kB / 0.7595 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.4564, allocations: 8 kB / 0.7595 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.4565, allocations: 8 kB / 0.7595 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003205/0.4568, allocations: 123.2 kB / 0.7596 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.4568, allocations: 0 / 0.7596 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.4569, allocations: 0 / 0.7596 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.4569, allocations: 7.938 kB / 0.7596 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000273/0.4572, allocations: 71.98 kB / 0.7597 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.4584, allocations: 0.5005 MB / 0.7602 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004514/0.4589, allocations: 129.3 kB / 0.7603 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.4591, allocations: 53.78 kB / 0.7604 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.238e-05/0.4591, allocations: 4 kB / 0.7604 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003051/0.4595, allocations: 109.1 kB / 0.7605 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 2.374e-06/0.4595, allocations: 0 / 0.7605 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.0004495/0.4599, allocations: 133.5 kB / 0.7606 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.46, allocations: 81.11 kB / 0.7607 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.4602, allocations: 157.8 kB / 0.7608 GB, free: 364 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/0.4603, allocations: 33.7 kB / 0.7609 GB, free: 324 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.531e-05/0.4604, allocations: 115.9 kB / 0.761 GB, free: 204 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.492e-05/0.4605, allocations: 35.56 kB / 0.761 GB, free: 168 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.86e-05/0.4605, allocations: 11.94 kB / 0.761 GB, free: 156 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.4607, allocations: 326.8 kB / 0.7613 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.4609, allocations: 40 kB / 0.7614 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.461, allocations: 57.7 kB / 0.7614 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.4612, allocations: 43.88 kB / 0.7615 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4612, allocations: 0 / 0.7615 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004051/0.4616, allocations: 137.6 kB / 0.7616 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.4617, allocations: 8 kB / 0.7616 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.4617, allocations: 4 kB / 0.7616 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.4617, allocations: 4 kB / 0.7616 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004138/0.4621, allocations: 43.91 kB / 0.7617 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.4621, allocations: 0 / 0.7617 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003456/0.4625, allocations: 39.75 kB / 0.7617 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.4625, allocations: 4 kB / 0.7617 GB, free: 15.44 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.TRoo1.T_start,TRoo1.T_start,$PRE.TRoo1.count,TRoo1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001055/0.4627, allocations: 112.9 kB / 0.7618 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.4627, allocations: 15.89 kB / 0.7618 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004821/0.4632, allocations: 159 kB / 0.762 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.4632, allocations: 4 kB / 0.762 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.4632, allocations: 0 / 0.762 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4633, allocations: 0 / 0.762 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/0.4636, allocations: 229.5 kB / 0.7622 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4636, allocations: 4 kB / 0.7622 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003288/0.4639, allocations: 35.91 kB / 0.7622 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.4639, allocations: 4 kB / 0.7622 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.464, allocations: 0 / 0.7622 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.464, allocations: 0 / 0.7622 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.464, allocations: 4 kB / 0.7622 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004037/0.4644, allocations: 175.4 kB / 0.7624 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.096e-05/0.4645, allocations: 100.8 kB / 0.7625 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.572e-05/0.4646, allocations: 0 / 0.7625 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003195/0.4649, allocations: 23.98 kB / 0.7625 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.601e-05/0.465, allocations: 23.89 kB / 0.7626 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.465, allocations: 4 kB / 0.7626 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001462/0.4652, allocations: 136.3 kB / 0.7627 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4652, allocations: 0 / 0.7627 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003178/0.4655, allocations: 36 kB / 0.7627 GB, free: 14.29 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,TRoo1.T_start,TRoo1.count) * Number of discrete states: 1 (TRoo1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007903/0.4663, allocations: 0.7791 MB / 0.7635 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000376/0.4667, allocations: 103.9 kB / 0.7636 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4667, allocations: 3.938 kB / 0.7636 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.4669, allocations: 51.94 kB / 0.7636 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004979/0.4675, allocations: 44.16 kB / 0.7637 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007346/0.4682, allocations: 215.1 kB / 0.7639 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.4685, allocations: 0.7127 MB / 0.7646 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001702/0.4687, allocations: 17.2 kB / 0.7646 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.4689, allocations: 39.42 kB / 0.7646 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of SimCode: time 8.01e-07/0.4689, allocations: 4 kB / 0.7646 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02985/0.4987, allocations: 3.7 MB / 0.7683 GB, free: 8.641 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002408/0.499, allocations: 185.7 kB / 0.7684 GB, free: 8.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.476/2.975, allocations: 0 / 0.7684 GB, free: 8.41 MB / 0.6511 GB