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.Integers.Validation.LessEqualThreshold.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.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.926/3.926, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.057e-05/4.083e-05, allocations: 5.438 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2216, allocations: 98.73 MB / 0.6347 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2516/0.4732, allocations: 124.5 MB / 0.7563 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.4735, allocations: 75.94 kB / 0.7564 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004189/0.4777, allocations: 0.954 MB / 0.7573 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.427e-06/0.4778, allocations: 4 kB / 0.7573 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.934e-06/0.4778, allocations: 3.938 kB / 0.7573 GB, free: 4.172 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005711/0.4784, allocations: 350.4 kB / 0.7577 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.4785, allocations: 12.03 kB / 0.7577 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.118e-05/0.4785, allocations: 30.56 kB / 0.7577 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.4786, allocations: 7.906 kB / 0.7577 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.4788, allocations: 175 kB / 0.7579 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.4788, allocations: 4 kB / 0.7579 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.4788, allocations: 0 / 0.7579 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.479, allocations: 57.66 kB / 0.7579 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.479, allocations: 0 / 0.7579 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.479, allocations: 4 kB / 0.7579 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.479, allocations: 0 / 0.7579 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.4792, allocations: 31.92 kB / 0.758 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005384/0.4797, allocations: 284.8 kB / 0.7582 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.4799, allocations: 50.59 kB / 0.7583 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.49e-05/0.48, allocations: 20.8 kB / 0.7583 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.48, allocations: 0 / 0.7583 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.48, allocations: 34.56 kB / 0.7583 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.48, allocations: 4 kB / 0.7583 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002469/0.4803, allocations: 61.69 kB / 0.7584 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.4804, allocations: 55.41 kB / 0.7584 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.4805, allocations: 101 kB / 0.7585 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.4805, allocations: 25.7 kB / 0.7586 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.906e-05/0.4806, allocations: 88.08 kB / 0.7587 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.4806, allocations: 15.75 kB / 0.7587 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-06/0.4806, allocations: 0 / 0.7587 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.4808, allocations: 318.8 kB / 0.759 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.692e-05/0.4809, allocations: 16 kB / 0.759 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.751e-05/0.4809, allocations: 15.94 kB / 0.759 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.051e-05/0.481, allocations: 8 kB / 0.759 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.481, allocations: 0 / 0.759 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001765/0.4812, allocations: 61.67 kB / 0.7591 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.4812, allocations: 4 kB / 0.7591 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4812, allocations: 0 / 0.7591 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.4812, allocations: 0 / 0.7591 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.4815, allocations: 15.98 kB / 0.7591 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.4815, allocations: 7.953 kB / 0.7591 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.4816, allocations: 11.98 kB / 0.7591 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.4817, allocations: 7.938 kB / 0.7591 GB, free: 2.109 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: 2 (intLesEquThr.u,intLesEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.955e-05/0.4817, allocations: 107.2 kB / 0.7592 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.4818, allocations: 7.844 kB / 0.7592 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.499e-05/0.4819, allocations: 8.031 kB / 0.7592 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4819, allocations: 0 / 0.7592 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.4819, allocations: 4 kB / 0.7592 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.4819, allocations: 7.953 kB / 0.7592 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.4822, allocations: 173.7 kB / 0.7594 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.4822, allocations: 0 / 0.7594 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.4824, allocations: 16.17 kB / 0.7594 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.4824, allocations: 0 / 0.7594 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.4824, allocations: 4 kB / 0.7594 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.4824, allocations: 0 / 0.7594 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.4824, allocations: 3.984 kB / 0.7594 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.4827, allocations: 159.5 kB / 0.7596 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.698e-05/0.4827, allocations: 85.02 kB / 0.7597 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.4828, allocations: 0 / 0.7597 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.483, allocations: 15.98 kB / 0.7597 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.671e-05/0.4831, allocations: 15.86 kB / 0.7597 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.4831, allocations: 0 / 0.7597 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.126e-05/0.4832, allocations: 91.58 kB / 0.7598 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.5e-07/0.4832, allocations: 4 kB / 0.7598 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002914/0.4835, allocations: 15.98 kB / 0.7598 GB, free: 1.316 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: 2 (intLesEquThr.u,intLesEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000586/0.4841, allocations: 0.6948 MB / 0.7605 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001626/0.4842, allocations: 35.94 kB / 0.7605 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4843, allocations: 0 / 0.7605 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.926e-05/0.4844, allocations: 23.98 kB / 0.7605 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.4846, allocations: 0 / 0.7605 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005165/0.4851, allocations: 118.5 kB / 0.7607 GB, free: 392 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.4855, allocations: 0.6809 MB / 0.7613 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.5e-05/0.4856, allocations: 12.23 kB / 0.7613 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.834e-05/0.4856, allocations: 15.44 kB / 0.7613 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of SimCode: time 1.112e-06/0.4857, allocations: 0 / 0.7613 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.5107, allocations: 1.53 MB / 0.7628 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002852/0.5111, allocations: 166.4 kB / 0.763 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.248/2.759, allocations: 0 / 0.763 GB, free: 13.98 MB / 0.6511 GB