Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.638/1.638, allocations: 297.4 MB / 312.6 MB, free: 2.926 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 178.1 kB / 382.3 MB, free: 14.83 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.7 MB / 0.6617 GB, free: 7.203 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008613/0.0008616, allocations: 99.69 kB / 0.7789 GB, free: 46.91 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003098/0.0003099, allocations: 8 kB / 0.9058 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5802/0.5805, allocations: 119.2 MB / 1.022 GB, free: 58.16 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001968/0.5825, allocations: 1.257 MB / 1.023 GB, free: 57.55 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.5838, allocations: 0.7182 MB / 1.024 GB, free: 57.09 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.5839, allocations: 1.312 kB / 1.024 GB, free: 57.09 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.5841, allocations: 6 kB / 1.024 GB, free: 57.08 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.761e-05/0.5842, allocations: 20.25 kB / 1.024 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004979/0.5847, allocations: 71.27 kB / 1.024 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00019/0.5849, allocations: 91.92 kB / 1.024 GB, free: 57 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.585, allocations: 19.06 kB / 1.024 GB, free: 57 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.5852, allocations: 43.64 kB / 1.024 GB, free: 56.98 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.5854, allocations: 42.86 kB / 1.024 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.5854, allocations: 2.594 kB / 1.024 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.5856, allocations: 49.25 kB / 1.025 GB, free: 56.95 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.119e-05/0.5856, allocations: 21.3 kB / 1.025 GB, free: 56.95 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.103e-05/0.5857, allocations: 60.83 kB / 1.025 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.586, allocations: 133.4 kB / 1.025 GB, free: 56.86 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.586, allocations: 0 / 1.025 GB, free: 56.86 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.565e-06/0.586, allocations: 2.781 kB / 1.025 GB, free: 56.86 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.586, allocations: 0 / 1.025 GB, free: 56.86 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007641/0.5868, allocations: 447.6 kB / 1.025 GB, free: 56.44 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.5869, allocations: 13.2 kB / 1.025 GB, free: 56.44 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.875e-05/0.5869, allocations: 9.781 kB / 1.025 GB, free: 56.44 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.5871, allocations: 205.4 kB / 1.025 GB, free: 56.22 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.5871, allocations: 1 kB / 1.025 GB, free: 56.22 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.5871, allocations: 8.344 kB / 1.025 GB, free: 56.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000314/0.5875, allocations: 115.1 kB / 1.025 GB, free: 56.17 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.5875, allocations: 0 / 1.025 GB, free: 56.17 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.5875, allocations: 8.531 kB / 1.025 GB, free: 56.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/0.5875, allocations: 4.297 kB / 1.025 GB, free: 56.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003894/0.5879, allocations: 107.6 kB / 1.026 GB, free: 56.15 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008037/0.5887, allocations: 359.3 kB / 1.026 GB, free: 55.85 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/0.5891, allocations: 103.9 kB / 1.026 GB, free: 55.82 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.5893, allocations: 69.92 kB / 1.026 GB, free: 55.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.5893, allocations: 3.656 kB / 1.026 GB, free: 55.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003636/0.5897, allocations: 130.7 kB / 1.026 GB, free: 55.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 2.405e-06/0.5897, allocations: 0 / 1.026 GB, free: 55.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0006534/0.5904, allocations: 238.3 kB / 1.026 GB, free: 55.65 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.5904, allocations: 55.14 kB / 1.027 GB, free: 55.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.5905, allocations: 142.9 kB / 1.027 GB, free: 55.48 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.5906, allocations: 29.7 kB / 1.027 GB, free: 55.44 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.902e-05/0.5906, allocations: 100.6 kB / 1.027 GB, free: 55.35 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.5907, allocations: 27.52 kB / 1.027 GB, free: 55.33 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.258e-06/0.5907, allocations: 3.219 kB / 1.027 GB, free: 55.33 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.741e-05/0.5907, allocations: 322 kB / 1.027 GB, free: 55.01 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.5909, allocations: 69.56 kB / 1.027 GB, free: 54.99 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.5911, allocations: 65.86 kB / 1.027 GB, free: 54.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003466/0.5915, allocations: 167.7 kB / 1.027 GB, free: 54.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5915, allocations: 1.5 kB / 1.027 GB, free: 54.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005164/0.592, allocations: 218.5 kB / 1.028 GB, free: 54.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/0.5921, allocations: 35.75 kB / 1.028 GB, free: 54.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.5921, allocations: 0 / 1.028 GB, free: 54.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.5921, allocations: 5.531 kB / 1.028 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.5923, allocations: 25.8 kB / 1.028 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.5923, allocations: 0 / 1.028 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.5924, allocations: 23.72 kB / 1.028 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.5924, allocations: 3.969 kB / 1.028 GB, free: 54.77 MB / 0.698 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: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.418e-05/0.5925, allocations: 136.7 kB / 1.028 GB, free: 54.64 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.948e-05/0.5926, allocations: 12.36 kB / 1.028 GB, free: 54.63 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.5926, allocations: 9.75 kB / 1.028 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/0.5926, allocations: 5.703 kB / 1.028 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.5926, allocations: 0 / 1.028 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.5926, allocations: 0.7031 kB / 1.028 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.5928, allocations: 200.7 kB / 1.028 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5928, allocations: 0 / 1.028 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.5929, allocations: 29.06 kB / 1.028 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.5929, allocations: 1.344 kB / 1.028 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.5929, allocations: 0 / 1.028 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.593, allocations: 5.031 kB / 1.028 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.593, allocations: 0 / 1.028 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004087/0.5934, allocations: 212 kB / 1.028 GB, free: 54.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.749e-05/0.5934, allocations: 87.86 kB / 1.028 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.5934, allocations: 0 / 1.028 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.5936, allocations: 27.83 kB / 1.028 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.123e-05/0.5936, allocations: 9.875 kB / 1.028 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.5937, allocations: 2.094 kB / 1.028 GB, free: 54.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.868e-05/0.5937, allocations: 106.5 kB / 1.029 GB, free: 54.11 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/0.5937, allocations: 0 / 1.029 GB, free: 54.11 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002634/0.594, allocations: 43.44 kB / 1.029 GB, free: 54.11 MB / 0.698 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: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001873/0.5942, allocations: 127 kB / 1.029 GB, free: 54.02 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004369/0.5946, allocations: 202.8 kB / 1.029 GB, free: 53.92 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5947, allocations: 4 kB / 1.029 GB, free: 53.92 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.5949, allocations: 66.95 kB / 1.029 GB, free: 53.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.5951, allocations: 18.67 kB / 1.029 GB, free: 53.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005002/0.5956, allocations: 261.4 kB / 1.029 GB, free: 53.71 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.5957, allocations: 0.6993 MB / 1.03 GB, free: 53.02 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.254e-05/0.5958, allocations: 16.95 kB / 1.03 GB, free: 53.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.528e-05/0.5959, allocations: 11.53 kB / 1.03 GB, free: 53.01 MB / 0.698 GB Notification: Performance of SimCode: time 3.01e-07/0.5959, allocations: 0 / 1.03 GB, free: 53.01 MB / 0.698 GB Notification: Performance of Templates: time 0.003805/0.5997, allocations: 1.271 MB / 1.031 GB, free: 52.91 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)