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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 4.091/4.091, allocations: 433.3 MB / 440.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.862e-05/1.869e-05, allocations: 4 kB / 0.5325 GB, free: 1.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4946/0.4947, allocations: 98.7 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2125/0.7072, allocations: 125 MB / 0.751 GB, free: 2.52 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.7075, allocations: 75.84 kB / 0.7511 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.008261/0.7158, allocations: 1.844 MB / 0.7529 GB, free: 0.5938 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.409e-06/0.7158, allocations: 0 / 0.7529 GB, free: 0.5938 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.461e-05/0.7159, allocations: 12 kB / 0.7529 GB, free: 0.582 MB / 0.6198 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.000748/0.7166, allocations: 457.6 kB / 0.7533 GB, free: 80 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.7167, allocations: 16.02 kB / 0.7534 GB, free: 64 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.329e-05/0.7167, allocations: 11.86 kB / 0.7534 GB, free: 52 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.7171, allocations: 202.8 kB / 0.7536 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.7171, allocations: 4 kB / 0.7536 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.7171, allocations: 4 kB / 0.7536 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000209/0.7174, allocations: 67.97 kB / 0.7536 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.7176, allocations: 93.64 kB / 0.7537 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.712e-06/0.7176, allocations: 0 / 0.7537 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.7177, allocations: 3.953 kB / 0.7537 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.642e-06/0.7177, allocations: 4 kB / 0.7537 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007686/0.7185, allocations: 341.2 kB / 0.7541 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.7187, allocations: 86.55 kB / 0.7541 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.7188, allocations: 72.91 kB / 0.7542 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.7189, allocations: 4 kB / 0.7542 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002486/0.7191, allocations: 111.3 kB / 0.7543 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 3.089e-06/0.7192, allocations: 0 / 0.7543 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.000413/0.7196, allocations: 145.6 kB / 0.7545 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.038e-05/0.7197, allocations: 89.05 kB / 0.7545 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.7198, allocations: 126.7 kB / 0.7547 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.7199, allocations: 29.7 kB / 0.7547 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.819e-05/0.72, allocations: 108 kB / 0.7548 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.881e-05/0.72, allocations: 31.55 kB / 0.7548 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.24e-05/0.7201, allocations: 0 / 0.7548 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.7202, allocations: 322.8 kB / 0.7551 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.7204, allocations: 47.98 kB / 0.7552 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.7205, allocations: 55.92 kB / 0.7552 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.7207, allocations: 47.91 kB / 0.7553 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.7207, allocations: 0 / 0.7553 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003978/0.7211, allocations: 161.7 kB / 0.7554 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.716e-05/0.7212, allocations: 75.34 kB / 0.7555 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.401e-06/0.7212, allocations: 7.984 kB / 0.7555 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.7212, allocations: 0 / 0.7555 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.7215, allocations: 19.98 kB / 0.7555 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.881e-06/0.7215, allocations: 0 / 0.7555 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002543/0.7218, allocations: 43.8 kB / 0.7556 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.144e-05/0.7218, allocations: 12 kB / 0.7556 GB, free: 13.61 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: 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.0001583/0.722, allocations: 146.6 kB / 0.7557 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.649e-05/0.722, allocations: 15.89 kB / 0.7557 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.453e-05/0.7221, allocations: 20.56 kB / 0.7558 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.73e-06/0.7221, allocations: 0 / 0.7558 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.7221, allocations: 0 / 0.7558 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.7221, allocations: 0 / 0.7558 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.7224, allocations: 174.1 kB / 0.7559 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.664e-06/0.7224, allocations: 0 / 0.7559 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.7226, allocations: 27.97 kB / 0.7559 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.965e-06/0.7226, allocations: 0 / 0.7559 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.7226, allocations: 4 kB / 0.7559 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.503e-06/0.7226, allocations: 0 / 0.7559 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.552e-06/0.7226, allocations: 3.953 kB / 0.756 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000429/0.7231, allocations: 200.8 kB / 0.7561 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.633e-05/0.7232, allocations: 89.02 kB / 0.7562 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.7232, allocations: 3.984 kB / 0.7562 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.7234, allocations: 27.97 kB / 0.7563 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.7236, allocations: 35.91 kB / 0.7563 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.7236, allocations: 4 kB / 0.7563 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.917e-05/0.7237, allocations: 99.27 kB / 0.7564 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.74e-07/0.7237, allocations: 0 / 0.7564 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003055/0.7241, allocations: 28.19 kB / 0.7564 GB, free: 12.66 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: 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.0001503/0.7242, allocations: 104.2 kB / 0.7565 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004869/0.7247, allocations: 290.6 kB / 0.7568 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.596e-06/0.7247, allocations: 0 / 0.7568 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002584/0.725, allocations: 155.4 kB / 0.7569 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.7252, allocations: 14.75 kB / 0.757 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005858/0.7259, allocations: 208.8 kB / 0.7572 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.7263, allocations: 0.704 MB / 0.7578 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.207e-05/0.7264, allocations: 15.92 kB / 0.7579 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.628e-05/0.7264, allocations: 19.42 kB / 0.7579 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of SimCode: time 1.542e-06/0.7265, allocations: 0 / 0.7579 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of Templates: time 0.004924/0.7314, allocations: 1.393 MB / 0.7592 GB, free: 9.684 MB / 0.6355 GB