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.LessEqualThreshold.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.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadModel(Buildings): time 4.198/4.198, allocations: 432.7 MB / 445.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.11e-05/3.128e-05, allocations: 5.656 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1792, allocations: 98.72 MB / 0.6347 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1944/0.3737, allocations: 124.5 MB / 0.7563 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.374, allocations: 71.95 kB / 0.7564 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003789/0.3778, allocations: 0.9579 MB / 0.7573 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.075e-06/0.3778, allocations: 3.938 kB / 0.7573 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.487e-06/0.3778, allocations: 0 / 0.7573 GB, free: 4.191 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.0004798/0.3783, allocations: 350.3 kB / 0.7577 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.3784, allocations: 12.03 kB / 0.7577 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.164e-05/0.3784, allocations: 11.89 kB / 0.7577 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.3786, allocations: 171 kB / 0.7578 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.3787, allocations: 0 / 0.7578 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.3787, allocations: 4 kB / 0.7578 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.3788, allocations: 53.67 kB / 0.7579 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.813e-06/0.3789, allocations: 0 / 0.7579 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.3789, allocations: 0 / 0.7579 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.132e-06/0.3789, allocations: 0 / 0.7579 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.379, allocations: 31.98 kB / 0.7579 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005179/0.3795, allocations: 284.8 kB / 0.7582 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.3797, allocations: 50.56 kB / 0.7582 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.426e-05/0.3798, allocations: 16.89 kB / 0.7583 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.3798, allocations: 0 / 0.7583 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.3798, allocations: 42.56 kB / 0.7583 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.92e-06/0.3799, allocations: 0 / 0.7583 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002329/0.3801, allocations: 65.66 kB / 0.7584 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.3802, allocations: 55.36 kB / 0.7584 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.3803, allocations: 97 kB / 0.7585 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.3803, allocations: 29.7 kB / 0.7585 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.99e-05/0.3804, allocations: 84.14 kB / 0.7586 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.3804, allocations: 19.67 kB / 0.7586 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.316e-06/0.3804, allocations: 8 kB / 0.7586 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3806, allocations: 314.8 kB / 0.7589 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.545e-05/0.3807, allocations: 12 kB / 0.759 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.81e-05/0.3807, allocations: 8 kB / 0.759 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.275e-05/0.3808, allocations: 15.98 kB / 0.759 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.323e-06/0.3808, allocations: 0 / 0.759 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001587/0.3809, allocations: 57.62 kB / 0.759 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.381, allocations: 8 kB / 0.759 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.348e-06/0.381, allocations: 0 / 0.759 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.381, allocations: 4 kB / 0.7591 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.3812, allocations: 15.98 kB / 0.7591 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.796e-06/0.3812, allocations: 0 / 0.7591 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.3813, allocations: 11.94 kB / 0.7591 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.3814, allocations: 4 kB / 0.7591 GB, free: 2.18 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.727e-05/0.3815, allocations: 101 kB / 0.7592 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.583e-05/0.3815, allocations: 11.91 kB / 0.7592 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.3816, allocations: 12.2 kB / 0.7592 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.723e-06/0.3816, allocations: 3.938 kB / 0.7592 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.952e-06/0.3816, allocations: 3.984 kB / 0.7592 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.352e-06/0.3816, allocations: 0 / 0.7592 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.3819, allocations: 177.7 kB / 0.7594 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.286e-06/0.3819, allocations: 0 / 0.7594 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.382, allocations: 15.98 kB / 0.7594 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.3821, allocations: 7.984 kB / 0.7594 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.3821, allocations: 0 / 0.7594 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/0.3821, allocations: 3.938 kB / 0.7594 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.3821, allocations: 4 kB / 0.7594 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.3823, allocations: 151.5 kB / 0.7596 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.986e-05/0.3824, allocations: 85.02 kB / 0.7596 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.3825, allocations: 11.98 kB / 0.7596 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.3826, allocations: 4 kB / 0.7596 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.598e-05/0.3827, allocations: 11.92 kB / 0.7597 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.3827, allocations: 15.98 kB / 0.7597 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.493e-05/0.3828, allocations: 83.58 kB / 0.7598 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.96e-07/0.3828, allocations: 0 / 0.7598 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003204/0.3832, allocations: 16 kB / 0.7598 GB, free: 1.383 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.0001654/0.3833, allocations: 103.2 kB / 0.7599 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001481/0.3835, allocations: 35.92 kB / 0.7599 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3835, allocations: 0 / 0.7599 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.437e-05/0.3836, allocations: 16 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.0002339/0.3838, allocations: 18.17 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.0003036/0.3842, allocations: 80.86 kB / 0.76 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.3845, allocations: 0.6848 MB / 0.7607 GB, free: 400 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.203e-05/0.3846, allocations: 8.25 kB / 0.7607 GB, free: 392 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.404e-05/0.3847, allocations: 11.44 kB / 0.7607 GB, free: 384 kB / 0.6355 GB Notification: Performance of SimCode: time 3.68e-06/0.3847, allocations: 0 / 0.7607 GB, free: 384 kB / 0.6355 GB Notification: Performance of Templates: time 0.003605/0.3883, allocations: 0.7438 MB / 0.7614 GB, free: 15.63 MB / 0.6511 GB