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/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.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.177/4.177, allocations: 433.2 MB / 440.7 MB, free: 4.59 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.012e-05/4.025e-05, allocations: 9.625 kB / 0.5325 GB, free: 12.69 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2159, allocations: 98.73 MB / 0.6289 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2621/0.4781, allocations: 123.5 MB / 0.7495 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.4784, allocations: 71.95 kB / 0.7496 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002082/0.4805, allocations: 0.6256 MB / 0.7502 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4805, allocations: 0 / 0.7502 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.4805, allocations: 4 kB / 0.7502 GB, free: 12.77 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.0004325/0.481, allocations: 334.5 kB / 0.7505 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.481, allocations: 12.02 kB / 0.7505 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.4811, allocations: 7.953 kB / 0.7505 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.4812, allocations: 171.1 kB / 0.7507 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.4813, allocations: 0 / 0.7507 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.4813, allocations: 8 kB / 0.7507 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.799e-05/0.4814, allocations: 7.938 kB / 0.7507 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.797e-05/0.4815, allocations: 37.69 kB / 0.7508 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.4815, allocations: 0 / 0.7508 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.4815, allocations: 0 / 0.7508 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.4815, allocations: 0 / 0.7508 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004511/0.482, allocations: 249.4 kB / 0.751 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.809e-05/0.4821, allocations: 26.58 kB / 0.751 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.384e-05/0.4821, allocations: 12.92 kB / 0.751 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.4821, allocations: 0 / 0.751 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.4822, allocations: 34.5 kB / 0.7511 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.4822, allocations: 0 / 0.7511 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001541/0.4823, allocations: 37.69 kB / 0.7511 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.4824, allocations: 59.44 kB / 0.7512 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.138e-05/0.4825, allocations: 93 kB / 0.7512 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.4825, allocations: 25.7 kB / 0.7513 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.781e-05/0.4826, allocations: 84.14 kB / 0.7513 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.4826, allocations: 3.906 kB / 0.7514 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-06/0.4826, allocations: 0 / 0.7514 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.4828, allocations: 326.7 kB / 0.7517 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.408e-05/0.4828, allocations: 4 kB / 0.7517 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.924e-05/0.4828, allocations: 8 kB / 0.7517 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.325e-05/0.4829, allocations: 8 kB / 0.7517 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4829, allocations: 0 / 0.7517 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.745e-05/0.483, allocations: 37.64 kB / 0.7517 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.483, allocations: 4 kB / 0.7517 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.483, allocations: 3.938 kB / 0.7517 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.483, allocations: 0 / 0.7517 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.4832, allocations: 11.98 kB / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.4832, allocations: 4.094 kB / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.378e-05/0.4833, allocations: 11.98 kB / 0.7518 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.4833, allocations: 0 / 0.7518 GB, free: 10.98 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 8.743e-05/0.4834, allocations: 112.9 kB / 0.7519 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.822e-05/0.4835, allocations: 33.7 kB / 0.7519 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.4835, allocations: 3.906 kB / 0.7519 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.4836, allocations: 15.73 kB / 0.7519 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4836, allocations: 4.031 kB / 0.7519 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.4836, allocations: 0 / 0.7519 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.4836, allocations: 7.891 kB / 0.7519 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.4838, allocations: 134.2 kB / 0.752 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.4838, allocations: 0 / 0.752 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.174e-05/0.4839, allocations: 11.98 kB / 0.7521 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.4839, allocations: 0 / 0.7521 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.4839, allocations: 0 / 0.7521 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.4839, allocations: 256 / 0.7521 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.484, allocations: 4 kB / 0.7521 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.4841, allocations: 143.5 kB / 0.7522 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.25e-05/0.4842, allocations: 77.11 kB / 0.7523 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.4842, allocations: 3.984 kB / 0.7523 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.4843, allocations: 11.98 kB / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.4844, allocations: 0 / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.4844, allocations: 8.031 kB / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.154e-05/0.4845, allocations: 83.28 kB / 0.7524 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.9e-07/0.4845, allocations: 0 / 0.7524 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002936/0.4848, allocations: 7.938 kB / 0.7524 GB, free: 10.25 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.0004842/0.4853, allocations: 0.6786 MB / 0.753 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.824e-05/0.4854, allocations: 12 kB / 0.7531 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4854, allocations: 4 kB / 0.7531 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.544e-05/0.4854, allocations: 8 kB / 0.7531 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.4857, allocations: 0 / 0.7531 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003921/0.4861, allocations: 97.48 kB / 0.7532 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.4863, allocations: 0.6768 MB / 0.7538 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.469e-05/0.4864, allocations: 8.125 kB / 0.7538 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.634e-05/0.4864, allocations: 7.438 kB / 0.7538 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of SimCode: time 6.41e-07/0.4864, allocations: 0 / 0.7538 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03564/0.5221, allocations: 0.7548 MB / 0.7546 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003365/0.5225, allocations: 154.1 kB / 0.7547 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.433/2.956, allocations: 3.938 kB / 0.7547 GB, free: 7.734 MB / 0.6355 GB