Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01481/0.01481, allocations: 89.12 kB / 15.04 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.00167/0.001671, allocations: 171.3 kB / 15.92 MB, free: 5.938 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.076/2.076, allocations: 205.5 MB / 222.2 MB, free: 13.72 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.631/2.631, allocations: 252.8 MB / 0.511 GB, free: 8.332 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007127/0.0007129, allocations: 14.38 kB / 0.6243 GB, free: 28.29 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2635, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002556/0.2661, allocations: 1.245 MB / 0.7293 GB, free: 8.895 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.2674, allocations: 0.4967 MB / 0.7298 GB, free: 8.391 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.625e-05/0.2675, allocations: 4 kB / 0.7298 GB, free: 8.387 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.2676, allocations: 3.938 kB / 0.7298 GB, free: 8.383 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 8.016e-05/0.2677, allocations: 19.89 kB / 0.7298 GB, free: 8.363 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.268, allocations: 31.91 kB / 0.7298 GB, free: 8.332 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.2682, allocations: 67.91 kB / 0.7299 GB, free: 8.266 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.2683, allocations: 24.19 kB / 0.7299 GB, free: 8.242 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.2685, allocations: 47.78 kB / 0.7299 GB, free: 8.195 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.2687, allocations: 47.81 kB / 0.73 GB, free: 8.148 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.2687, allocations: 4 kB / 0.73 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 2.57e-05/0.2687, allocations: 4 kB / 0.73 GB, free: 8.141 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.939e-05/0.2688, allocations: 15.92 kB / 0.73 GB, free: 8.125 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 7.113e-05/0.2689, allocations: 41.64 kB / 0.7301 GB, free: 8.078 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.269, allocations: 64.08 kB / 0.7301 GB, free: 8.016 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.269, allocations: 0 / 0.7301 GB, free: 8.016 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2691, allocations: 4 kB / 0.7301 GB, free: 8.012 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.2691, allocations: 4 kB / 0.7301 GB, free: 8.008 MB / 0.5573 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.001109/0.2702, allocations: 470.5 kB / 0.7306 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.2703, allocations: 8.031 kB / 0.7306 GB, free: 7.48 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.701e-05/0.2703, allocations: 42.55 kB / 0.7306 GB, free: 7.43 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.852e-05/0.2704, allocations: 15.77 kB / 0.7306 GB, free: 7.414 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.2707, allocations: 187 kB / 0.7308 GB, free: 7.191 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.2707, allocations: 7.984 kB / 0.7308 GB, free: 7.184 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.428e-05/0.2708, allocations: 7.938 kB / 0.7308 GB, free: 7.176 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005499/0.2713, allocations: 137.6 kB / 0.731 GB, free: 7.035 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.2713, allocations: 0 / 0.731 GB, free: 7.035 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.2714, allocations: 11.97 kB / 0.731 GB, free: 7.023 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.2714, allocations: 3.953 kB / 0.731 GB, free: 7.02 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006602/0.2721, allocations: 127.9 kB / 0.7311 GB, free: 6.895 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000933/0.273, allocations: 368.6 kB / 0.7314 GB, free: 6.484 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006261/0.2737, allocations: 138.5 kB / 0.7316 GB, free: 6.34 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.2737, allocations: 15.89 kB / 0.7316 GB, free: 6.324 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005785/0.2743, allocations: 151.4 kB / 0.7317 GB, free: 6.164 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=10): time 3.196e-06/0.2743, allocations: 0 / 0.7317 GB, free: 6.164 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10): time 0.001481/0.2758, allocations: 428.1 kB / 0.7321 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.703e-05/0.2759, allocations: 81.11 kB / 0.7322 GB, free: 5.617 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.2761, allocations: 149.8 kB / 0.7324 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.2762, allocations: 25.7 kB / 0.7324 GB, free: 5.43 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.654e-05/0.2763, allocations: 96.08 kB / 0.7325 GB, free: 5.332 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.2763, allocations: 27.61 kB / 0.7325 GB, free: 5.305 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.911e-05/0.2763, allocations: 8 kB / 0.7325 GB, free: 5.297 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.2765, allocations: 322.8 kB / 0.7328 GB, free: 4.973 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003898/0.2769, allocations: 87.94 kB / 0.7329 GB, free: 4.887 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003969/0.2773, allocations: 91.94 kB / 0.733 GB, free: 4.797 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004489/0.2778, allocations: 147.5 kB / 0.7331 GB, free: 4.641 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.2778, allocations: 0 / 0.7331 GB, free: 4.641 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001018/0.2788, allocations: 304.7 kB / 0.7334 GB, free: 4.324 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.538e-05/0.2789, allocations: 71.39 kB / 0.7335 GB, free: 4.242 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.279, allocations: 3.938 kB / 0.7335 GB, free: 4.238 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.279, allocations: 4 kB / 0.7335 GB, free: 4.234 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.2793, allocations: 27.97 kB / 0.7335 GB, free: 4.207 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.2793, allocations: 0 / 0.7335 GB, free: 4.207 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003411/0.2796, allocations: 35.89 kB / 0.7336 GB, free: 4.172 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.2797, allocations: 4 kB / 0.7336 GB, free: 4.168 MB / 0.5573 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.0001946/0.2799, allocations: 163.5 kB / 0.7337 GB, free: 3.992 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.2799, allocations: 11.86 kB / 0.7337 GB, free: 3.98 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.824e-05/0.28, allocations: 20.7 kB / 0.7338 GB, free: 3.961 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.28, allocations: 0 / 0.7338 GB, free: 3.961 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.28, allocations: 3.938 kB / 0.7338 GB, free: 3.957 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.28, allocations: 0 / 0.7338 GB, free: 3.957 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.2803, allocations: 209.5 kB / 0.734 GB, free: 3.703 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2803, allocations: 0 / 0.734 GB, free: 3.703 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.2805, allocations: 23.98 kB / 0.734 GB, free: 3.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/0.2805, allocations: 3.953 kB / 0.734 GB, free: 3.676 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/0.2806, allocations: 7.984 kB / 0.734 GB, free: 3.668 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.2806, allocations: 3.938 kB / 0.734 GB, free: 3.664 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2806, allocations: 480 / 0.734 GB, free: 3.664 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009961/0.2816, allocations: 310.5 kB / 0.7343 GB, free: 3.336 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.2817, allocations: 88.95 kB / 0.7344 GB, free: 3.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.412e-05/0.2817, allocations: 3.953 kB / 0.7344 GB, free: 3.227 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003101/0.2821, allocations: 35.95 kB / 0.7344 GB, free: 3.191 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.2822, allocations: 23.97 kB / 0.7344 GB, free: 3.168 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.2822, allocations: 0 / 0.7344 GB, free: 3.168 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001277/0.2824, allocations: 117.9 kB / 0.7345 GB, free: 3.055 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2824, allocations: 0 / 0.7345 GB, free: 3.055 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003168/0.2827, allocations: 24 kB / 0.7346 GB, free: 3.031 MB / 0.5573 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.001344/0.2841, allocations: 0.8443 MB / 0.7354 GB, free: 2.152 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001047/0.2851, allocations: 354.7 kB / 0.7357 GB, free: 1.781 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2852, allocations: 0 / 0.7357 GB, free: 1.781 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005421/0.2857, allocations: 203.2 kB / 0.7359 GB, free: 1.57 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.286, allocations: 11.94 kB / 0.7359 GB, free: 1.559 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.2889, allocations: 0.9946 MB / 0.7369 GB, free: 0.5078 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.2893, allocations: 0.7004 MB / 0.7376 GB, free: 15.78 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001326/0.2894, allocations: 15.98 kB / 0.7376 GB, free: 15.77 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.812e-05/0.2895, allocations: 27.42 kB / 0.7376 GB, free: 15.74 MB / 0.573 GB Notification: Performance of SimCode: time 1.002e-06/0.2896, allocations: 0 / 0.7376 GB, free: 15.74 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06863/0.3582, allocations: 2.662 MB / 0.7402 GB, free: 13.2 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003698/0.3586, allocations: 181.9 kB / 0.7404 GB, free: 12.96 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.647/3.006, allocations: 0 / 0.7404 GB, free: 12.96 MB / 0.573 GB