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.Continuous.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.Continuous.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") Notification: Performance of loadModel(Buildings): time 4.061/4.061, allocations: 432.7 MB / 445.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.245e-05/3.257e-05, allocations: 7.594 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1729, allocations: 98.72 MB / 0.6347 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1902/0.3632, allocations: 124.2 MB / 0.756 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.3635, allocations: 71.95 kB / 0.7561 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001977/0.3655, allocations: 0.6259 MB / 0.7567 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.03e-06/0.3655, allocations: 0 / 0.7567 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.3655, allocations: 0 / 0.7567 GB, free: 4.875 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.0003956/0.3659, allocations: 346.4 kB / 0.757 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.366, allocations: 8.031 kB / 0.757 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.366, allocations: 7.938 kB / 0.757 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.3662, allocations: 163 kB / 0.7572 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.3662, allocations: 0 / 0.7572 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.082e-06/0.3662, allocations: 0 / 0.7572 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.3663, allocations: 41.69 kB / 0.7572 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.673e-06/0.3663, allocations: 4 kB / 0.7572 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.385e-06/0.3664, allocations: 0 / 0.7572 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.064e-06/0.3664, allocations: 0 / 0.7572 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.891e-05/0.3664, allocations: 12 kB / 0.7572 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000457/0.3669, allocations: 272.8 kB / 0.7575 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.515e-05/0.367, allocations: 26.58 kB / 0.7575 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.399e-05/0.367, allocations: 12.92 kB / 0.7575 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.3671, allocations: 4 kB / 0.7575 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.3671, allocations: 30.56 kB / 0.7576 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.548e-06/0.3671, allocations: 0 / 0.7576 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001632/0.3673, allocations: 45.55 kB / 0.7576 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.3673, allocations: 51.41 kB / 0.7577 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.3675, allocations: 113 kB / 0.7578 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.3675, allocations: 25.7 kB / 0.7578 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.3676, allocations: 84.08 kB / 0.7579 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.3676, allocations: 3.906 kB / 0.7579 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-06/0.3676, allocations: 3.938 kB / 0.7579 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3678, allocations: 318.8 kB / 0.7582 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.192e-05/0.3678, allocations: 0 / 0.7582 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.354e-05/0.3678, allocations: 8 kB / 0.7582 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.958e-05/0.3679, allocations: 12.05 kB / 0.7582 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3679, allocations: 0 / 0.7582 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001092/0.368, allocations: 41.7 kB / 0.7582 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.368, allocations: 9.969 kB / 0.7582 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.043e-06/0.3681, allocations: 0 / 0.7582 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3681, allocations: 0 / 0.7582 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.3682, allocations: 11.98 kB / 0.7583 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.094e-06/0.3682, allocations: 0 / 0.7583 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.657e-05/0.3683, allocations: 16.02 kB / 0.7583 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.3683, allocations: 3.953 kB / 0.7583 GB, free: 3.023 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.434e-05/0.3684, allocations: 101 kB / 0.7584 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.3685, allocations: 4 kB / 0.7584 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.235e-05/0.3685, allocations: 7.125 kB / 0.7584 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.041e-06/0.3685, allocations: 0 / 0.7584 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.493e-06/0.3685, allocations: 0 / 0.7584 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.17e-06/0.3685, allocations: 0 / 0.7584 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.3688, allocations: 161.6 kB / 0.7585 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.689e-06/0.3688, allocations: 11.94 kB / 0.7585 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.843e-05/0.3689, allocations: 4 kB / 0.7586 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.532e-06/0.3689, allocations: 4 kB / 0.7586 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.348e-06/0.3689, allocations: 0 / 0.7586 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-06/0.3689, allocations: 3.984 kB / 0.7586 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.972e-06/0.369, allocations: 0 / 0.7586 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.3691, allocations: 151.4 kB / 0.7587 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.986e-05/0.3692, allocations: 77.11 kB / 0.7588 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.3692, allocations: 0 / 0.7588 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.3694, allocations: 11.98 kB / 0.7588 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.3694, allocations: 7.969 kB / 0.7588 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.522e-06/0.3694, allocations: 0 / 0.7588 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.833e-05/0.3695, allocations: 83.53 kB / 0.7589 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.58e-07/0.3695, allocations: 4 kB / 0.7589 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002892/0.3698, allocations: 4.031 kB / 0.7589 GB, free: 2.312 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.0001514/0.37, allocations: 107.4 kB / 0.759 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.646e-05/0.3701, allocations: 12 kB / 0.759 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.817e-06/0.3701, allocations: 0 / 0.759 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.848e-05/0.3702, allocations: 11.94 kB / 0.759 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.3704, allocations: 9.844 kB / 0.759 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002351/0.3706, allocations: 65.11 kB / 0.7591 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.371, allocations: 0.677 MB / 0.7597 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.914e-05/0.371, allocations: 0 / 0.7597 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.915e-05/0.3711, allocations: 11.44 kB / 0.7598 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of SimCode: time 1.462e-06/0.3711, allocations: 0 / 0.7598 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of Templates: time 0.002756/0.3738, allocations: 395.8 kB / 0.7601 GB, free: 0.9805 MB / 0.6355 GB