Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009091/0.009091, allocations: 111.2 kB / 15.06 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001092/0.001092, allocations: 185.5 kB / 15.95 MB, free: 5.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.782/1.782, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.241/2.241, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004581/0.0004582, allocations: 8 kB / 0.5869 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5309/0.5314, allocations: 98.7 MB / 0.6833 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1807/0.7121, allocations: 125.8 MB / 0.8062 GB, free: 392 kB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.7124, allocations: 75.95 kB / 0.8062 GB, free: 316 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.008197/0.7206, allocations: 1.867 MB / 0.8081 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.839e-06/0.7206, allocations: 0 / 0.8081 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.819e-05/0.7207, allocations: 4 kB / 0.8081 GB, free: 14.43 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.0007837/0.7214, allocations: 482.2 kB / 0.8085 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.7215, allocations: 8.031 kB / 0.8085 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.07e-05/0.7216, allocations: 19.77 kB / 0.8086 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.7218, allocations: 194.9 kB / 0.8087 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.7219, allocations: 12 kB / 0.8088 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.7219, allocations: 4 kB / 0.8088 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004415/0.7224, allocations: 137.5 kB / 0.8089 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.503e-06/0.7224, allocations: 0 / 0.8089 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.7224, allocations: 0 / 0.8089 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.364e-06/0.7224, allocations: 4 kB / 0.8089 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004799/0.7229, allocations: 135.8 kB / 0.809 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007751/0.7237, allocations: 364.7 kB / 0.8094 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004627/0.7242, allocations: 142.4 kB / 0.8095 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.7242, allocations: 4 kB / 0.8095 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004157/0.7247, allocations: 151.3 kB / 0.8097 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.816e-06/0.7247, allocations: 0 / 0.8097 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.001125/0.7258, allocations: 420.2 kB / 0.8101 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.976e-05/0.7259, allocations: 89.11 kB / 0.8101 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.7261, allocations: 127.5 kB / 0.8103 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.7262, allocations: 29.7 kB / 0.8103 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.999e-05/0.7262, allocations: 104 kB / 0.8104 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.624e-05/0.7263, allocations: 31.58 kB / 0.8104 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.273e-05/0.7263, allocations: 0 / 0.8104 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.7265, allocations: 322.8 kB / 0.8107 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003103/0.7268, allocations: 87.94 kB / 0.8108 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002918/0.7271, allocations: 87.88 kB / 0.8109 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003453/0.7275, allocations: 147.3 kB / 0.811 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.764e-06/0.7275, allocations: 0 / 0.811 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007927/0.7283, allocations: 304.9 kB / 0.8113 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.267e-05/0.7284, allocations: 71.39 kB / 0.8114 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.333e-06/0.7284, allocations: 0 / 0.8114 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.7284, allocations: 3.984 kB / 0.8114 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.7287, allocations: 27.92 kB / 0.8114 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.381e-06/0.7287, allocations: 4 kB / 0.8114 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/0.7289, allocations: 31.95 kB / 0.8115 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-05/0.729, allocations: 8.469 kB / 0.8115 GB, free: 10.66 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 () * Number of clocked 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.0001902/0.7292, allocations: 163.5 kB / 0.8116 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.7292, allocations: 15.86 kB / 0.8116 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.946e-05/0.7293, allocations: 16.66 kB / 0.8117 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.7293, allocations: 0 / 0.8117 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7293, allocations: 0 / 0.8117 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.712e-06/0.7293, allocations: 4 kB / 0.8117 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.7296, allocations: 205.5 kB / 0.8119 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.426e-06/0.7296, allocations: 0 / 0.8119 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.7298, allocations: 23.97 kB / 0.8119 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.891e-06/0.7298, allocations: 0 / 0.8119 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.7298, allocations: 7.953 kB / 0.8119 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.583e-06/0.7298, allocations: 7.938 kB / 0.8119 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.7298, allocations: 0 / 0.8119 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008372/0.7307, allocations: 306.5 kB / 0.8122 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.735e-05/0.7308, allocations: 88.95 kB / 0.8123 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.312e-05/0.7308, allocations: 11.98 kB / 0.8123 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.7311, allocations: 31.92 kB / 0.8123 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.7312, allocations: 23.97 kB / 0.8123 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/0.7312, allocations: 11.98 kB / 0.8123 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.916e-05/0.7313, allocations: 104 kB / 0.8124 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.34e-07/0.7314, allocations: 0 / 0.8124 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003129/0.7317, allocations: 28 kB / 0.8125 GB, free: 9.512 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) * Number of clocked states: 0 () * 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.0001557/0.7318, allocations: 109.5 kB / 0.8126 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000822/0.7327, allocations: 354.7 kB / 0.8129 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.803e-06/0.7327, allocations: 0 / 0.8129 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004292/0.7331, allocations: 195.3 kB / 0.8131 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.7334, allocations: 17.88 kB / 0.8131 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007944/0.7342, allocations: 324.9 kB / 0.8134 GB, free: 8.461 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.7346, allocations: 0.7045 MB / 0.8141 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.773e-05/0.7347, allocations: 15.98 kB / 0.8141 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.156e-05/0.7347, allocations: 15.38 kB / 0.8141 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of SimCode: time 1.54e-06/0.7347, allocations: 3.938 kB / 0.8141 GB, free: 7.699 MB / 0.6355 GB Notification: Performance of Templates: time 0.005756/0.7405, allocations: 1.473 MB / 0.8156 GB, free: 6.246 MB / 0.6355 GB