Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.856/2.856, allocations: 254.9 MB / 269.9 MB, free: 9.645 MB / 218.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.001339/0.001339, allocations: 188 kB / 329.5 MB, free: 1.152 MB / 250.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 2.435/2.435, allocations: 225.6 MB / 0.6001 GB, free: 3.652 MB / 426.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.0009597/0.0009593, allocations: 98.56 kB / 0.7074 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007732/0.0007735, allocations: 9.094 kB / 0.8242 GB, free: 129.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2681, allocations: 109.1 MB / 0.9307 GB, free: 43.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002738/0.2709, allocations: 1.252 MB / 0.932 GB, free: 42.19 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.2724, allocations: 452 kB / 0.9324 GB, free: 41.74 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.203e-05/0.2725, allocations: 0 / 0.9324 GB, free: 41.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.2727, allocations: 7.922 kB / 0.9324 GB, free: 41.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.2728, allocations: 11.88 kB / 0.9324 GB, free: 41.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003521/0.2731, allocations: 47.88 kB / 0.9325 GB, free: 41.68 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.2734, allocations: 95.69 kB / 0.9326 GB, free: 41.58 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.2736, allocations: 16.22 kB / 0.9326 GB, free: 41.56 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.2738, allocations: 51.81 kB / 0.9326 GB, free: 41.51 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.274, allocations: 43.83 kB / 0.9327 GB, free: 41.47 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.801e-05/0.274, allocations: 4 kB / 0.9327 GB, free: 41.46 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.012e-05/0.2741, allocations: 8 kB / 0.9327 GB, free: 41.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.775e-05/0.2742, allocations: 15.92 kB / 0.9327 GB, free: 41.44 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.801e-05/0.2742, allocations: 41.64 kB / 0.9327 GB, free: 41.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.2745, allocations: 64.09 kB / 0.9328 GB, free: 41.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.2745, allocations: 4 kB / 0.9328 GB, free: 41.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.475e-06/0.2745, allocations: 3.938 kB / 0.9328 GB, free: 41.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.2745, allocations: 0 / 0.9328 GB, free: 41.32 MB / 0.6042 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.001262/0.2758, allocations: 478.6 kB / 0.9333 GB, free: 40.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.2759, allocations: 10.84 kB / 0.9333 GB, free: 40.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.683e-05/0.2759, allocations: 16.75 kB / 0.9333 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.2761, allocations: 192.9 kB / 0.9335 GB, free: 40.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.2762, allocations: 4.375 kB / 0.9335 GB, free: 40.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.2762, allocations: 16.31 kB / 0.9335 GB, free: 40.53 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005094/0.2767, allocations: 145.9 kB / 0.9336 GB, free: 40.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.2768, allocations: 0 / 0.9336 GB, free: 40.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.2768, allocations: 0 / 0.9336 GB, free: 40.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2768, allocations: 0 / 0.9336 GB, free: 40.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006285/0.2774, allocations: 135.9 kB / 0.9338 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000804/0.2783, allocations: 364.7 kB / 0.9341 GB, free: 39.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005889/0.2789, allocations: 150.5 kB / 0.9342 GB, free: 39.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003706/0.2793, allocations: 108.9 kB / 0.9344 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.2793, allocations: 0 / 0.9344 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005316/0.2798, allocations: 159.3 kB / 0.9345 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 2.294e-06/0.2799, allocations: 0 / 0.9345 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.00126/0.2811, allocations: 355 kB / 0.9348 GB, free: 39.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.2812, allocations: 93.05 kB / 0.9349 GB, free: 38.94 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.2813, allocations: 139.9 kB / 0.9351 GB, free: 38.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.2814, allocations: 29.7 kB / 0.9351 GB, free: 38.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.804e-05/0.2814, allocations: 108 kB / 0.9352 GB, free: 38.65 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.2815, allocations: 23.7 kB / 0.9352 GB, free: 38.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.457e-05/0.2815, allocations: 3.938 kB / 0.9352 GB, free: 38.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.367e-05/0.2816, allocations: 331 kB / 0.9355 GB, free: 38.29 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003783/0.282, allocations: 95.94 kB / 0.9356 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003771/0.2824, allocations: 95.88 kB / 0.9357 GB, free: 38.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004007/0.2828, allocations: 155.3 kB / 0.9359 GB, free: 37.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2828, allocations: 0 / 0.9359 GB, free: 37.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008956/0.2837, allocations: 312.8 kB / 0.9362 GB, free: 37.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.635e-05/0.2838, allocations: 71.39 kB / 0.9362 GB, free: 37.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2838, allocations: 0 / 0.9362 GB, free: 37.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.2838, allocations: 4 kB / 0.9362 GB, free: 37.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.2841, allocations: 31.97 kB / 0.9363 GB, free: 37.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.2841, allocations: 0 / 0.9363 GB, free: 37.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003352/0.2845, allocations: 35.89 kB / 0.9363 GB, free: 37.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.2845, allocations: 4 kB / 0.9363 GB, free: 37.46 MB / 0.6042 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.0001623/0.2847, allocations: 172 kB / 0.9365 GB, free: 37.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.2847, allocations: 11.91 kB / 0.9365 GB, free: 37.26 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/0.2848, allocations: 16.7 kB / 0.9365 GB, free: 37.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.2848, allocations: 0 / 0.9365 GB, free: 37.25 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.2848, allocations: 4 kB / 0.9365 GB, free: 37.24 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2848, allocations: 0 / 0.9365 GB, free: 37.24 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.285, allocations: 205.4 kB / 0.9367 GB, free: 36.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.285, allocations: 4 kB / 0.9367 GB, free: 36.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.2852, allocations: 23.92 kB / 0.9367 GB, free: 36.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.2853, allocations: 4 kB / 0.9367 GB, free: 36.96 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.2853, allocations: 0 / 0.9367 GB, free: 36.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2853, allocations: 0 / 0.9367 GB, free: 36.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.2853, allocations: 0 / 0.9367 GB, free: 36.96 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009252/0.2862, allocations: 322.5 kB / 0.937 GB, free: 36.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/0.2863, allocations: 88.95 kB / 0.9371 GB, free: 36.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.851e-05/0.2864, allocations: 0 / 0.9371 GB, free: 36.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00031/0.2867, allocations: 43.89 kB / 0.9372 GB, free: 36.47 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.2868, allocations: 31.89 kB / 0.9372 GB, free: 36.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.2869, allocations: 0 / 0.9372 GB, free: 36.44 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.406e-05/0.287, allocations: 109 kB / 0.9373 GB, free: 36.34 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.81e-07/0.287, allocations: 192 / 0.9373 GB, free: 36.34 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002805/0.2873, allocations: 27.94 kB / 0.9373 GB, free: 36.31 MB / 0.6042 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.0001111/0.2874, allocations: 111.2 kB / 0.9374 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009433/0.2883, allocations: 370.6 kB / 0.9378 GB, free: 35.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2884, allocations: 4 kB / 0.9378 GB, free: 35.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004823/0.2888, allocations: 207.5 kB / 0.938 GB, free: 35.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.2892, allocations: 19.92 kB / 0.938 GB, free: 35.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000829/0.29, allocations: 331.3 kB / 0.9383 GB, free: 35.21 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/0.2902, allocations: 0.7043 MB / 0.939 GB, free: 34.48 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001108/0.2903, allocations: 11.98 kB / 0.939 GB, free: 34.46 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.885e-05/0.2904, allocations: 15.42 kB / 0.939 GB, free: 34.45 MB / 0.6042 GB Notification: Performance of SimCode: time 1.032e-06/0.2904, allocations: 0 / 0.939 GB, free: 34.45 MB / 0.6042 GB Notification: Performance of Templates: time 0.005213/0.2956, allocations: 1.485 MB / 0.9405 GB, free: 32.98 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)