Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadModel(Buildings): time 4.257/4.257, allocations: 432.7 MB / 445.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.889e-05/2.905e-05, allocations: 7.125 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1768, allocations: 98.72 MB / 0.6347 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1929/0.3697, allocations: 124.5 MB / 0.7563 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.37, allocations: 71.95 kB / 0.7564 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003809/0.3738, allocations: 0.9618 MB / 0.7573 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3738, allocations: 0 / 0.7573 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.126e-06/0.3739, allocations: 4 kB / 0.7573 GB, free: 4.195 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.0004855/0.3744, allocations: 356.5 kB / 0.7577 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.3744, allocations: 12.03 kB / 0.7577 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.3745, allocations: 3.906 kB / 0.7577 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.3746, allocations: 171 kB / 0.7578 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.3747, allocations: 0 / 0.7578 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.3747, allocations: 4 kB / 0.7579 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.3748, allocations: 53.67 kB / 0.7579 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.599e-06/0.3749, allocations: 0 / 0.7579 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.3749, allocations: 4 kB / 0.7579 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.974e-06/0.3749, allocations: 4 kB / 0.7579 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.757e-05/0.375, allocations: 27.98 kB / 0.7579 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005117/0.3755, allocations: 280.8 kB / 0.7582 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.3757, allocations: 50.56 kB / 0.7583 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.913e-05/0.3758, allocations: 20.89 kB / 0.7583 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.3758, allocations: 4 kB / 0.7583 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.3758, allocations: 34.56 kB / 0.7583 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.32e-06/0.3759, allocations: 0 / 0.7583 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002279/0.3761, allocations: 69.64 kB / 0.7584 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.3762, allocations: 55.36 kB / 0.7584 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.3763, allocations: 105 kB / 0.7585 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.3763, allocations: 25.7 kB / 0.7586 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.316e-05/0.3764, allocations: 84.14 kB / 0.7586 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.3764, allocations: 27.67 kB / 0.7587 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.934e-06/0.3764, allocations: 0 / 0.7587 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3766, allocations: 314.8 kB / 0.759 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.685e-05/0.3767, allocations: 15.94 kB / 0.759 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.08e-05/0.3767, allocations: 8 kB / 0.759 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.162e-05/0.3768, allocations: 15.98 kB / 0.759 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.219e-06/0.3768, allocations: 0 / 0.759 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001577/0.377, allocations: 61.62 kB / 0.7591 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.377, allocations: 4 kB / 0.7591 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.377, allocations: 0 / 0.7591 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.377, allocations: 4 kB / 0.7591 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.3772, allocations: 15.98 kB / 0.7591 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.35e-06/0.3772, allocations: 0 / 0.7591 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.3773, allocations: 15.94 kB / 0.7591 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.3774, allocations: 0 / 0.7591 GB, free: 2.176 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 (intLesThr.u,intLesThr.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 9.19e-05/0.3775, allocations: 105 kB / 0.7592 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/0.3775, allocations: 11.91 kB / 0.7592 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.037e-05/0.3776, allocations: 12.02 kB / 0.7592 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.628e-06/0.3776, allocations: 0 / 0.7592 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.3776, allocations: 4 kB / 0.7592 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.044e-06/0.3776, allocations: 0 / 0.7592 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.3779, allocations: 177.7 kB / 0.7594 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.473e-06/0.3779, allocations: 3.984 kB / 0.7594 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.378, allocations: 15.98 kB / 0.7594 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.52e-06/0.378, allocations: 0 / 0.7594 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.3781, allocations: 0 / 0.7594 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.461e-06/0.3781, allocations: 4 kB / 0.7594 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.682e-06/0.3781, allocations: 0 / 0.7594 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.3783, allocations: 155.4 kB / 0.7596 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.514e-05/0.3784, allocations: 93 kB / 0.7597 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.3784, allocations: 0 / 0.7597 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.3786, allocations: 11.94 kB / 0.7597 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.32e-05/0.3787, allocations: 19.97 kB / 0.7597 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.825e-06/0.3787, allocations: 0 / 0.7597 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.326e-05/0.3787, allocations: 83.28 kB / 0.7598 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.91e-07/0.3788, allocations: 0 / 0.7598 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003168/0.3791, allocations: 16 kB / 0.7598 GB, free: 1.387 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 (intLesThr.u,intLesThr.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.0001483/0.3792, allocations: 99.25 kB / 0.7599 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001616/0.3794, allocations: 36.16 kB / 0.7599 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.762e-06/0.3794, allocations: 0 / 0.7599 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.997e-05/0.3795, allocations: 23.98 kB / 0.7599 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.3798, allocations: 15.89 kB / 0.7599 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003098/0.3801, allocations: 77.05 kB / 0.76 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.3804, allocations: 0.6887 MB / 0.7607 GB, free: 400 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.88e-05/0.3805, allocations: 8.234 kB / 0.7607 GB, free: 392 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.3806, allocations: 11.44 kB / 0.7607 GB, free: 384 kB / 0.6355 GB Notification: Performance of SimCode: time 1.594e-06/0.3806, allocations: 0 / 0.7607 GB, free: 384 kB / 0.6355 GB Notification: Performance of Templates: time 0.00359/0.3842, allocations: 0.7465 MB / 0.7614 GB, free: 15.63 MB / 0.6511 GB