Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.485/1.485, allocations: 291.7 MB / 306.8 MB, free: 7.707 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.001013/0.001013, allocations: 188.5 kB / 375.4 MB, free: 5.117 MB / 298.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.214/1.214, allocations: 225.7 MB / 0.6538 GB, free: 13.64 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.0007269/0.000727, allocations: 102.4 kB / 0.7699 GB, free: 50.36 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004075/0.0004075, allocations: 12 kB / 0.8956 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5685/0.5689, allocations: 118.1 MB / 1.011 GB, free: 57.7 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001546/0.5705, allocations: 1.26 MB / 1.012 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006479/0.5712, allocations: 445.1 kB / 1.013 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.184e-05/0.5712, allocations: 1.062 kB / 1.013 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.5713, allocations: 6.328 kB / 1.013 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.435e-05/0.5714, allocations: 18.05 kB / 1.013 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.5716, allocations: 38.25 kB / 1.013 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.5718, allocations: 97.55 kB / 1.013 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.5719, allocations: 17.2 kB / 1.013 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.572, allocations: 46.38 kB / 1.013 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.917e-05/0.5721, allocations: 47.33 kB / 1.013 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.5722, allocations: 5.75 kB / 1.013 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 2.005e-05/0.5722, allocations: 2.969 kB / 1.013 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.563e-05/0.5722, allocations: 17.36 kB / 1.013 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.696e-05/0.5723, allocations: 41.92 kB / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.5724, allocations: 64.14 kB / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.5724, allocations: 0 / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.414e-06/0.5724, allocations: 0 / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.5724, allocations: 2.562 kB / 1.013 GB, free: 57.52 MB / 0.7136 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.0007085/0.5732, allocations: 482.3 kB / 1.013 GB, free: 57.08 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.5732, allocations: 8.438 kB / 1.013 GB, free: 57.08 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.5732, allocations: 12.84 kB / 1.013 GB, free: 57.08 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.5734, allocations: 197.8 kB / 1.014 GB, free: 56.87 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.5734, allocations: 7.188 kB / 1.014 GB, free: 56.87 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.5735, allocations: 10.72 kB / 1.014 GB, free: 56.87 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.5738, allocations: 145.8 kB / 1.014 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.5738, allocations: 0.5938 kB / 1.014 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.5738, allocations: 5.438 kB / 1.014 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.5738, allocations: 2.938 kB / 1.014 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003385/0.5742, allocations: 132.5 kB / 1.014 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005384/0.5747, allocations: 368.4 kB / 1.014 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/0.5751, allocations: 150.3 kB / 1.014 GB, free: 56.53 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.5753, allocations: 113.4 kB / 1.014 GB, free: 56.52 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.5753, allocations: 2.875 kB / 1.014 GB, free: 56.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003371/0.5757, allocations: 154.3 kB / 1.015 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.532e-06/0.5757, allocations: 0.9375 kB / 1.015 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0007373/0.5764, allocations: 360.6 kB / 1.015 GB, free: 56.41 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.5765, allocations: 86.89 kB / 1.015 GB, free: 56.31 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.342e-05/0.5766, allocations: 142 kB / 1.015 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.5766, allocations: 30.98 kB / 1.015 GB, free: 56.18 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.381e-05/0.5766, allocations: 97.36 kB / 1.015 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.5767, allocations: 35.34 kB / 1.015 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-06/0.5767, allocations: 4.938 kB / 1.015 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.991e-05/0.5767, allocations: 330.5 kB / 1.016 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.5769, allocations: 93.31 kB / 1.016 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.5771, allocations: 101.2 kB / 1.016 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003992/0.5776, allocations: 283.9 kB / 1.016 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.5776, allocations: 0 / 1.016 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004751/0.5781, allocations: 313.9 kB / 1.016 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.348e-05/0.5781, allocations: 69.73 kB / 1.017 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.5781, allocations: 0 / 1.017 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.5781, allocations: 0 / 1.017 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.5783, allocations: 24.73 kB / 1.017 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.5783, allocations: 3.406 kB / 1.017 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.5785, allocations: 33.75 kB / 1.017 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.5785, allocations: 6.781 kB / 1.017 GB, free: 55.48 MB / 0.7136 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 9.8e-05/0.5786, allocations: 175.4 kB / 1.017 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.5786, allocations: 12.72 kB / 1.017 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.952e-05/0.5787, allocations: 14.78 kB / 1.017 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.5787, allocations: 1.594 kB / 1.017 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5787, allocations: 3.938 kB / 1.017 GB, free: 55.31 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.5787, allocations: 5.094 kB / 1.017 GB, free: 55.31 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.5788, allocations: 206.1 kB / 1.017 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5788, allocations: 0.5938 kB / 1.017 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.5789, allocations: 21.28 kB / 1.017 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.5789, allocations: 7.062 kB / 1.017 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.579, allocations: 3.625 kB / 1.017 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.579, allocations: 2.781 kB / 1.017 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.579, allocations: 0 / 1.017 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004916/0.5795, allocations: 323.6 kB / 1.017 GB, free: 55.01 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.554e-05/0.5795, allocations: 86.58 kB / 1.017 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.5795, allocations: 7.812 kB / 1.017 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.5797, allocations: 31.94 kB / 1.017 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.885e-05/0.5798, allocations: 24.83 kB / 1.017 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.5798, allocations: 4.406 kB / 1.017 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.955e-05/0.5799, allocations: 114.3 kB / 1.018 GB, free: 54.83 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5799, allocations: 0 / 1.018 GB, free: 54.83 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001974/0.5801, allocations: 28.09 kB / 1.018 GB, free: 54.82 MB / 0.7136 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 8.767e-05/0.5802, allocations: 104.4 kB / 1.018 GB, free: 54.74 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005592/0.5808, allocations: 366.1 kB / 1.018 GB, free: 54.61 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5808, allocations: 0 / 1.018 GB, free: 54.61 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000277/0.581, allocations: 206.7 kB / 1.018 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.5813, allocations: 12.03 kB / 1.018 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005414/0.5818, allocations: 342.8 kB / 1.019 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.5819, allocations: 0.6954 MB / 1.019 GB, free: 53.67 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.666e-05/0.582, allocations: 13.38 kB / 1.019 GB, free: 53.67 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.738e-05/0.582, allocations: 10.38 kB / 1.019 GB, free: 53.66 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.5821, allocations: 4 kB / 1.019 GB, free: 53.66 MB / 0.7136 GB Notification: Performance of Templates: time 0.003283/0.5853, allocations: 1.477 MB / 1.021 GB, free: 53.6 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)