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.Continuous.Validation.LessThreshold.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.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.596/4.596, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.012e-05/4.03e-05, allocations: 7.594 kB / 0.5383 GB, free: 10.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2165, allocations: 98.73 MB / 0.6347 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2407/0.4573, allocations: 124.2 MB / 0.756 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.4576, allocations: 71.95 kB / 0.7561 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002242/0.4599, allocations: 0.622 MB / 0.7567 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4599, allocations: 0 / 0.7567 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.46, allocations: 0 / 0.7567 GB, free: 4.855 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004683/0.4604, allocations: 334.5 kB / 0.757 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/0.4605, allocations: 8.031 kB / 0.757 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.523e-05/0.4606, allocations: 38.55 kB / 0.757 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.561e-05/0.4606, allocations: 0 / 0.757 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.4608, allocations: 167 kB / 0.7572 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.4608, allocations: 4 kB / 0.7572 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.4608, allocations: 0 / 0.7572 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.461, allocations: 37.69 kB / 0.7572 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.461, allocations: 3.938 kB / 0.7572 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.557e-06/0.461, allocations: 0 / 0.7572 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.461, allocations: 4 kB / 0.7572 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.94e-05/0.4611, allocations: 8 kB / 0.7572 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005248/0.4616, allocations: 280.8 kB / 0.7575 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.342e-05/0.4617, allocations: 22.58 kB / 0.7575 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.872e-05/0.4618, allocations: 12.92 kB / 0.7575 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.4618, allocations: 0 / 0.7575 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.4618, allocations: 42.48 kB / 0.7576 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.582e-06/0.4618, allocations: 0 / 0.7576 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000161/0.462, allocations: 41.7 kB / 0.7576 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.4621, allocations: 55.36 kB / 0.7577 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.262e-05/0.4622, allocations: 96.94 kB / 0.7578 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.4622, allocations: 25.7 kB / 0.7578 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.52e-05/0.4622, allocations: 92.12 kB / 0.7579 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.4623, allocations: 7.844 kB / 0.7579 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-06/0.4623, allocations: 0 / 0.7579 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.4624, allocations: 314.9 kB / 0.7582 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.058e-05/0.4625, allocations: 8 kB / 0.7582 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.531e-05/0.4625, allocations: 4 kB / 0.7582 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.562e-05/0.4625, allocations: 0 / 0.7582 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4625, allocations: 7.938 kB / 0.7582 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.896e-05/0.4626, allocations: 37.7 kB / 0.7582 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.4627, allocations: 10.33 kB / 0.7583 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4627, allocations: 0 / 0.7583 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.4627, allocations: 8.094 kB / 0.7583 GB, free: 3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.4629, allocations: 4.25 kB / 0.7583 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.4629, allocations: 0 / 0.7583 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.901e-05/0.463, allocations: 19.94 kB / 0.7583 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.463, allocations: 0 / 0.7583 GB, free: 2.977 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (lesThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.452e-05/0.4631, allocations: 111.2 kB / 0.7584 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.4631, allocations: 0 / 0.7584 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.225e-05/0.4632, allocations: 7.125 kB / 0.7584 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.4632, allocations: 7.984 kB / 0.7584 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4632, allocations: 0 / 0.7584 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.4632, allocations: 0 / 0.7584 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.4634, allocations: 157.6 kB / 0.7586 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4634, allocations: 0 / 0.7586 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.782e-05/0.4635, allocations: 11.98 kB / 0.7586 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.4636, allocations: 3.938 kB / 0.7586 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.4636, allocations: 0 / 0.7586 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4636, allocations: 4 kB / 0.7586 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4636, allocations: 3.984 kB / 0.7586 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.4638, allocations: 147.4 kB / 0.7587 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/0.4638, allocations: 81.09 kB / 0.7588 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.4638, allocations: 4 kB / 0.7588 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.464, allocations: 7.984 kB / 0.7588 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.311e-05/0.464, allocations: 8.031 kB / 0.7588 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.4641, allocations: 0 / 0.7588 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.89e-05/0.4641, allocations: 83.28 kB / 0.7589 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.435e-06/0.4641, allocations: 0 / 0.7589 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000259/0.4644, allocations: 7.938 kB / 0.7589 GB, free: 2.258 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (lesThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0005086/0.4649, allocations: 0.6812 MB / 0.7596 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001057/0.465, allocations: 16 kB / 0.7596 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4651, allocations: 3.938 kB / 0.7596 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.938e-05/0.4651, allocations: 4 kB / 0.7596 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.4653, allocations: 11.98 kB / 0.7596 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003934/0.4657, allocations: 86.58 kB / 0.7597 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.466, allocations: 0.685 MB / 0.7604 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.29e-05/0.4661, allocations: 0 / 0.7604 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.169e-05/0.4661, allocations: 7.438 kB / 0.7604 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of SimCode: time 1.142e-06/0.4662, allocations: 0 / 0.7604 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02139/0.4876, allocations: 1.051 MB / 0.7614 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002792/0.4879, allocations: 175.7 kB / 0.7616 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.279/2.767, allocations: 4.062 kB / 0.7616 GB, free: 15.46 MB / 0.6511 GB