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.004198/0.004197, allocations: 232.5 kB / 15.82 MB, free: 6.301 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.001143/0.001143, allocations: 177.1 kB / 16.71 MB, free: 5.453 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 3.599/3.599, allocations: 389.1 MB / 406.5 MB, free: 6.883 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.554/4.554, allocations: 472.3 MB / 0.9024 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006653/0.0006656, allocations: 15.98 kB / 1.008 GB, free: 6.73 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2155, allocations: 98.7 MB / 1.105 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7984/1.014, allocations: 125.8 MB / 1.227 GB, free: 198.7 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/1.014, allocations: 78.72 kB / 1.228 GB, free: 198.6 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 0.008584/1.023, allocations: 1.881 MB / 1.229 GB, free: 197.5 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.024e-06/1.023, allocations: 1 kB / 1.229 GB, free: 197.5 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.144e-05/1.023, allocations: 0 / 1.229 GB, free: 197.5 MB / 0.7917 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.0007936/1.024, allocations: 481 kB / 1.23 GB, free: 197 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/1.024, allocations: 8.031 kB / 1.23 GB, free: 197 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.681e-05/1.024, allocations: 14.22 kB / 1.23 GB, free: 197 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/1.024, allocations: 202.2 kB / 1.23 GB, free: 196.7 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/1.024, allocations: 6.125 kB / 1.23 GB, free: 196.7 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/1.024, allocations: 10.41 kB / 1.23 GB, free: 196.7 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004993/1.025, allocations: 133.3 kB / 1.23 GB, free: 196.6 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/1.025, allocations: 4 kB / 1.23 GB, free: 196.6 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/1.025, allocations: 2.094 kB / 1.23 GB, free: 196.6 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/1.025, allocations: 3.953 kB / 1.23 GB, free: 196.6 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000612/1.025, allocations: 126.1 kB / 1.23 GB, free: 196.6 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007916/1.026, allocations: 368.6 kB / 1.231 GB, free: 196.2 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005613/1.027, allocations: 141.4 kB / 1.231 GB, free: 196.1 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003734/1.027, allocations: 112.3 kB / 1.231 GB, free: 196.1 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/1.027, allocations: 5.359 kB / 1.231 GB, free: 196.1 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004745/1.028, allocations: 147.7 kB / 1.231 GB, free: 196 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=10): time 2.394e-06/1.028, allocations: 0 / 1.231 GB, free: 196 MB / 0.7917 GB Notification: Performance of matching and sorting (n=10): time 0.001283/1.029, allocations: 339.4 kB / 1.231 GB, free: 195.7 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/1.029, allocations: 92.28 kB / 1.231 GB, free: 195.6 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/1.029, allocations: 141.9 kB / 1.232 GB, free: 195.5 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/1.029, allocations: 26.83 kB / 1.232 GB, free: 195.5 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 5.391e-05/1.029, allocations: 101.2 kB / 1.232 GB, free: 195.4 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/1.029, allocations: 34.22 kB / 1.232 GB, free: 195.3 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-05/1.029, allocations: 0 / 1.232 GB, free: 195.3 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 7.03e-05/1.03, allocations: 324.4 kB / 1.232 GB, free: 195 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003631/1.03, allocations: 87.58 kB / 1.232 GB, free: 195 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/1.03, allocations: 84.42 kB / 1.232 GB, free: 194.9 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003872/1.031, allocations: 148.8 kB / 1.232 GB, free: 194.8 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.031, allocations: 1.25 kB / 1.232 GB, free: 194.8 MB / 0.7917 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00087/1.032, allocations: 308.2 kB / 1.233 GB, free: 194.6 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 6.401e-05/1.032, allocations: 72 kB / 1.233 GB, free: 194.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/1.032, allocations: 1 kB / 1.233 GB, free: 194.5 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/1.032, allocations: 0.625 kB / 1.233 GB, free: 194.5 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/1.032, allocations: 28.02 kB / 1.233 GB, free: 194.5 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/1.032, allocations: 0 / 1.233 GB, free: 194.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/1.032, allocations: 36.53 kB / 1.233 GB, free: 194.5 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.951e-05/1.032, allocations: 4 kB / 1.233 GB, free: 194.4 MB / 0.7917 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.0001441/1.033, allocations: 162.4 kB / 1.233 GB, free: 194.3 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/1.033, allocations: 17.48 kB / 1.233 GB, free: 194.3 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/1.033, allocations: 13.19 kB / 1.233 GB, free: 194.3 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/1.033, allocations: 2.594 kB / 1.233 GB, free: 194.3 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/1.033, allocations: 0 / 1.233 GB, free: 194.3 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/1.033, allocations: 10.16 kB / 1.233 GB, free: 194.3 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/1.033, allocations: 202.4 kB / 1.233 GB, free: 194.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/1.033, allocations: 0 / 1.233 GB, free: 194.1 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/1.033, allocations: 27.66 kB / 1.233 GB, free: 194 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/1.033, allocations: 10.94 kB / 1.233 GB, free: 194 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/1.033, allocations: 0 / 1.233 GB, free: 194 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/1.033, allocations: 3.938 kB / 1.233 GB, free: 194 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.033, allocations: 1.812 kB / 1.233 GB, free: 194 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008859/1.034, allocations: 307.5 kB / 1.234 GB, free: 193.8 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 3.854e-05/1.034, allocations: 88.95 kB / 1.234 GB, free: 193.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/1.034, allocations: 11.14 kB / 1.234 GB, free: 193.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002902/1.034, allocations: 34.47 kB / 1.234 GB, free: 193.7 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/1.035, allocations: 22 kB / 1.234 GB, free: 193.6 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/1.035, allocations: 6.109 kB / 1.234 GB, free: 193.6 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 8.401e-05/1.035, allocations: 109.3 kB / 1.234 GB, free: 193.6 MB / 0.7917 GB Notification: Performance of sort global known variables: time 3.61e-07/1.035, allocations: 0 / 1.234 GB, free: 193.6 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.000307/1.035, allocations: 28.25 kB / 1.234 GB, free: 193.5 MB / 0.7917 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.0001233/1.035, allocations: 105.5 kB / 1.234 GB, free: 193.4 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0009849/1.036, allocations: 356.5 kB / 1.234 GB, free: 193.1 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.036, allocations: 2.562 kB / 1.234 GB, free: 193.1 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0004794/1.037, allocations: 192.4 kB / 1.234 GB, free: 193 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/1.037, allocations: 16.28 kB / 1.234 GB, free: 193 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008126/1.038, allocations: 332.8 kB / 1.235 GB, free: 192.7 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001769/1.038, allocations: 0.7059 MB / 1.235 GB, free: 192 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001067/1.038, allocations: 12.42 kB / 1.235 GB, free: 192 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.408e-05/1.038, allocations: 13.45 kB / 1.235 GB, free: 192 MB / 0.7917 GB Notification: Performance of SimCode: time 7.01e-07/1.038, allocations: 3.938 kB / 1.236 GB, free: 192 MB / 0.7917 GB Notification: Performance of Templates: time 0.00521/1.043, allocations: 1.471 MB / 1.237 GB, free: 191.2 MB / 0.7917 GB