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.009137/0.009137, allocations: 108.9 kB / 15.06 MB, free: 6.047 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.001113/0.001113, allocations: 183.9 kB / 15.95 MB, free: 5.961 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 2.013/2.013, 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.458/2.458, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004662/0.0004666, allocations: 12 kB / 0.5869 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5855/0.586, allocations: 98.71 MB / 0.6833 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001583/0.5876, allocations: 1.234 MB / 0.6845 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0008006/0.5885, allocations: 478.5 kB / 0.685 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.233e-05/0.5885, allocations: 3.938 kB / 0.685 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 7.57e-05/0.5886, allocations: 11.44 kB / 0.685 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.884e-05/0.5887, allocations: 19.78 kB / 0.685 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.5889, allocations: 32.39 kB / 0.6851 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.5891, allocations: 64.61 kB / 0.6851 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.818e-05/0.5892, allocations: 20.42 kB / 0.6851 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.5893, allocations: 46.47 kB / 0.6852 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.5894, allocations: 43.47 kB / 0.6852 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.5895, allocations: 3.656 kB / 0.6852 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 2.123e-05/0.5895, allocations: 3.906 kB / 0.6852 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.892e-05/0.5896, allocations: 21.17 kB / 0.6853 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.375e-05/0.5896, allocations: 41.52 kB / 0.6853 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.5897, allocations: 63.64 kB / 0.6854 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.95e-06/0.5898, allocations: 0 / 0.6854 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.138e-06/0.5898, allocations: 3.938 kB / 0.6854 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.595e-06/0.5898, allocations: 0 / 0.6854 GB, free: 15.34 MB / 0.5261 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.000722/0.5905, allocations: 477.9 kB / 0.6858 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.5906, allocations: 8.812 kB / 0.6858 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.598e-05/0.5906, allocations: 19.53 kB / 0.6858 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.5908, allocations: 183.9 kB / 0.686 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.5908, allocations: 7.875 kB / 0.686 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.5909, allocations: 4.625 kB / 0.686 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004286/0.5913, allocations: 143.3 kB / 0.6862 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.707e-06/0.5913, allocations: 3.938 kB / 0.6862 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.5914, allocations: 1.406 kB / 0.6862 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.611e-06/0.5914, allocations: 5.047 kB / 0.6862 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004748/0.5919, allocations: 130.2 kB / 0.6863 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006817/0.5926, allocations: 359.1 kB / 0.6866 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004524/0.593, allocations: 151.1 kB / 0.6868 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.5931, allocations: 1.812 kB / 0.6868 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004348/0.5935, allocations: 156.7 kB / 0.6869 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 3.012e-06/0.5935, allocations: 0 / 0.6869 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.001049/0.5946, allocations: 419 kB / 0.6873 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.5947, allocations: 94.69 kB / 0.6874 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.5948, allocations: 136.8 kB / 0.6876 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.5948, allocations: 32.48 kB / 0.6876 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.102e-05/0.5949, allocations: 98.19 kB / 0.6877 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.595, allocations: 31.8 kB / 0.6877 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.293e-05/0.595, allocations: 1.031 kB / 0.6877 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.884e-05/0.595, allocations: 326 kB / 0.688 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002993/0.5954, allocations: 85.88 kB / 0.6881 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.5957, allocations: 90.55 kB / 0.6882 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.596, allocations: 149.6 kB / 0.6883 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.596, allocations: 5.5 kB / 0.6883 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007495/0.5968, allocations: 295.9 kB / 0.6886 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.248e-05/0.5968, allocations: 75.5 kB / 0.6887 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.5969, allocations: 0.6094 kB / 0.6887 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.5969, allocations: 5.547 kB / 0.6887 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.5971, allocations: 23.58 kB / 0.6887 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.5971, allocations: 0 / 0.6887 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/0.5974, allocations: 45.3 kB / 0.6888 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.5974, allocations: 3.188 kB / 0.6888 GB, free: 12.89 MB / 0.5261 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.0001387/0.5976, allocations: 168.1 kB / 0.6889 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.428e-05/0.5976, allocations: 17.77 kB / 0.6889 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.352e-05/0.5977, allocations: 12.53 kB / 0.689 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.399e-06/0.5977, allocations: 1.828 kB / 0.689 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.681e-06/0.5977, allocations: 0 / 0.689 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.5977, allocations: 1.656 kB / 0.689 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.5979, allocations: 203.9 kB / 0.6892 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.213e-06/0.5979, allocations: 4 kB / 0.6892 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.5981, allocations: 21.3 kB / 0.6892 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.754e-06/0.5981, allocations: 5.641 kB / 0.6892 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/0.5981, allocations: 5.953 kB / 0.6892 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.325e-06/0.5981, allocations: 1.891 kB / 0.6892 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.086e-06/0.5981, allocations: 0 / 0.6892 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007555/0.5989, allocations: 313.1 kB / 0.6895 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.975e-05/0.599, allocations: 88.94 kB / 0.6896 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-05/0.599, allocations: 11.67 kB / 0.6896 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.5993, allocations: 30.61 kB / 0.6896 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.5994, allocations: 22.11 kB / 0.6896 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.5994, allocations: 3.75 kB / 0.6896 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.793e-05/0.5995, allocations: 107.2 kB / 0.6897 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.16e-07/0.5995, allocations: 0 / 0.6897 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003043/0.5999, allocations: 32.03 kB / 0.6898 GB, free: 12.12 MB / 0.5261 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.000107/0.6, allocations: 101.5 kB / 0.6899 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007936/0.6008, allocations: 357.7 kB / 0.6902 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.003e-06/0.6008, allocations: 0 / 0.6902 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004053/0.6012, allocations: 199.8 kB / 0.6904 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.6014, allocations: 15.14 kB / 0.6904 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007485/0.6022, allocations: 334 kB / 0.6907 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.6024, allocations: 0.7021 MB / 0.6914 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.322e-05/0.6025, allocations: 11.19 kB / 0.6914 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.6025, allocations: 11.95 kB / 0.6914 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of SimCode: time 1.57e-06/0.6026, allocations: 0 / 0.6914 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of Templates: time 0.005339/0.6079, allocations: 1.484 MB / 0.6929 GB, free: 10.69 MB / 0.5261 GB