Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.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.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadModel(Buildings): time 3.758/3.758, allocations: 432.7 MB / 445.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.495e-05/2.507e-05, allocations: 3.531 kB / 0.5383 GB, free: 10.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.171, allocations: 98.72 MB / 0.6347 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1933/0.3644, allocations: 125.7 MB / 0.7575 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.3646, allocations: 67.97 kB / 0.7575 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008044/0.3727, allocations: 1.874 MB / 0.7594 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.9e-06/0.3727, allocations: 0 / 0.7594 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.513e-06/0.3727, allocations: 0 / 0.7594 GB, free: 2.113 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000716/0.3735, allocations: 461.6 kB / 0.7598 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.3735, allocations: 12.03 kB / 0.7598 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.796e-05/0.3736, allocations: 15.84 kB / 0.7598 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.3739, allocations: 201.1 kB / 0.76 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.3739, allocations: 8 kB / 0.76 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.3739, allocations: 4 kB / 0.76 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.3742, allocations: 105.6 kB / 0.7601 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.983e-06/0.3742, allocations: 0 / 0.7601 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.3743, allocations: 4 kB / 0.7601 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.347e-06/0.3743, allocations: 0 / 0.7601 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.3745, allocations: 67.88 kB / 0.7602 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007619/0.3753, allocations: 364.7 kB / 0.7605 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.3755, allocations: 88.47 kB / 0.7606 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.3757, allocations: 80.94 kB / 0.7607 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.3757, allocations: 7.922 kB / 0.7607 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000244/0.376, allocations: 115.2 kB / 0.7608 GB, free: 448 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.729e-06/0.376, allocations: 0 / 0.7608 GB, free: 448 kB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0004471/0.3765, allocations: 191.2 kB / 0.761 GB, free: 244 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.74e-05/0.3765, allocations: 85.11 kB / 0.7611 GB, free: 140 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.3767, allocations: 130.8 kB / 0.7612 GB, free: 4 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.615e-05/0.3768, allocations: 33.75 kB / 0.7612 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.077e-05/0.3769, allocations: 103.9 kB / 0.7613 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.653e-05/0.3769, allocations: 31.59 kB / 0.7614 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.519e-05/0.3769, allocations: 4 kB / 0.7614 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.3771, allocations: 318.8 kB / 0.7617 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.3773, allocations: 55.98 kB / 0.7617 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.3774, allocations: 51.98 kB / 0.7618 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.3776, allocations: 111.4 kB / 0.7619 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3777, allocations: 0 / 0.7619 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004742/0.3782, allocations: 245.1 kB / 0.7621 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.789e-05/0.3782, allocations: 71.39 kB / 0.7622 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.771e-06/0.3783, allocations: 0 / 0.7622 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.3783, allocations: 0 / 0.7622 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.3785, allocations: 23.98 kB / 0.7622 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.33e-06/0.3785, allocations: 3.984 kB / 0.7622 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.3787, allocations: 43.81 kB / 0.7623 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.3788, allocations: 7.984 kB / 0.7623 GB, free: 14.86 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001601/0.379, allocations: 146.6 kB / 0.7624 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.379, allocations: 23.78 kB / 0.7624 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.58e-05/0.3791, allocations: 12.62 kB / 0.7624 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.318e-06/0.3791, allocations: 4 kB / 0.7624 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.842e-06/0.3791, allocations: 3.938 kB / 0.7625 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.709e-06/0.3791, allocations: 0 / 0.7625 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.3794, allocations: 205.6 kB / 0.7626 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.066e-06/0.3794, allocations: 0 / 0.7626 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.3795, allocations: 23.97 kB / 0.7627 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/0.3796, allocations: 4.188 kB / 0.7627 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.3796, allocations: 3.953 kB / 0.7627 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.399e-06/0.3796, allocations: 3.938 kB / 0.7627 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3796, allocations: 0 / 0.7627 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004841/0.3801, allocations: 246.6 kB / 0.7629 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.641e-05/0.3802, allocations: 92.91 kB / 0.763 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.3802, allocations: 4 kB / 0.763 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.3805, allocations: 35.91 kB / 0.763 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.3806, allocations: 23.97 kB / 0.7631 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.3807, allocations: 4 kB / 0.7631 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.793e-05/0.3808, allocations: 109.5 kB / 0.7632 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.6e-07/0.3808, allocations: 0 / 0.7632 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003015/0.3811, allocations: 31.94 kB / 0.7632 GB, free: 13.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001468/0.3813, allocations: 111.2 kB / 0.7633 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005113/0.3818, allocations: 286.8 kB / 0.7636 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.717e-06/0.3818, allocations: 4 kB / 0.7636 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002771/0.3821, allocations: 167.3 kB / 0.7637 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.3823, allocations: 22.02 kB / 0.7638 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005863/0.3829, allocations: 205.7 kB / 0.764 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.3833, allocations: 0.7043 MB / 0.7647 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.146e-05/0.3834, allocations: 11.98 kB / 0.7647 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.319e-05/0.3835, allocations: 23.42 kB / 0.7647 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of SimCode: time 1.45e-06/0.3835, allocations: 0 / 0.7647 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of Templates: time 0.004975/0.3885, allocations: 1.459 MB / 0.7661 GB, free: 10.73 MB / 0.6511 GB