Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.71/1.71, allocations: 306.1 MB / 321.4 MB, free: 10.74 MB / 250.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.001046/0.001045, allocations: 179.5 kB / 393.1 MB, free: 4.086 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.41/1.41, allocations: 225.7 MB / 0.6743 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008558/0.0008561, allocations: 91.48 kB / 0.7935 GB, free: 40.09 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0002968/0.0002968, allocations: 8.531 kB / 0.9224 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5632/0.5635, allocations: 121.3 MB / 1.041 GB, free: 58.77 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001739/0.5653, allocations: 1.26 MB / 1.042 GB, free: 57.93 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009562/0.5663, allocations: 0.7155 MB / 1.043 GB, free: 57.36 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.283e-05/0.5663, allocations: 6.688 kB / 1.043 GB, free: 57.36 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.5665, allocations: 6.188 kB / 1.043 GB, free: 57.36 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.528e-05/0.5665, allocations: 13.72 kB / 1.043 GB, free: 57.35 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.5669, allocations: 71.03 kB / 1.043 GB, free: 57.31 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.567, allocations: 85.78 kB / 1.043 GB, free: 57.28 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.5671, allocations: 22.67 kB / 1.043 GB, free: 57.27 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.5672, allocations: 44.16 kB / 1.043 GB, free: 57.25 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.879e-05/0.5673, allocations: 44.77 kB / 1.043 GB, free: 57.23 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.5674, allocations: 3.469 kB / 1.043 GB, free: 57.23 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.066e-05/0.5675, allocations: 47.83 kB / 1.043 GB, free: 57.21 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.825e-05/0.5675, allocations: 21.8 kB / 1.043 GB, free: 57.21 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.467e-05/0.5676, allocations: 56.47 kB / 1.043 GB, free: 57.16 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.5678, allocations: 130.1 kB / 1.043 GB, free: 57.12 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.5679, allocations: 1.375 kB / 1.043 GB, free: 57.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.973e-06/0.5679, allocations: 0 / 1.043 GB, free: 57.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.5679, allocations: 0 / 1.043 GB, free: 57.12 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.000712/0.5686, allocations: 451.1 kB / 1.044 GB, free: 56.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.5686, allocations: 12 kB / 1.044 GB, free: 56.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.5687, allocations: 12.53 kB / 1.044 GB, free: 56.69 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.5689, allocations: 198.5 kB / 1.044 GB, free: 56.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.5689, allocations: 4.625 kB / 1.044 GB, free: 56.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.5689, allocations: 5.438 kB / 1.044 GB, free: 56.47 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/0.5692, allocations: 116.7 kB / 1.044 GB, free: 56.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.5692, allocations: 0 / 1.044 GB, free: 56.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.5693, allocations: 2.562 kB / 1.044 GB, free: 56.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.5693, allocations: 2.875 kB / 1.044 GB, free: 56.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000321/0.5696, allocations: 107.7 kB / 1.044 GB, free: 56.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005702/0.5702, allocations: 366.8 kB / 1.045 GB, free: 56.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.5705, allocations: 109.6 kB / 1.045 GB, free: 56.07 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.5707, allocations: 68.62 kB / 1.045 GB, free: 56.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.5707, allocations: 3.688 kB / 1.045 GB, free: 56.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002982/0.571, allocations: 128.8 kB / 1.045 GB, free: 55.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.571, allocations: 0 / 1.045 GB, free: 55.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0006266/0.5717, allocations: 236.5 kB / 1.045 GB, free: 55.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.5717, allocations: 57.28 kB / 1.045 GB, free: 55.84 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.5718, allocations: 136.2 kB / 1.045 GB, free: 55.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.5718, allocations: 31.81 kB / 1.045 GB, free: 55.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.472e-05/0.5719, allocations: 100.7 kB / 1.045 GB, free: 55.61 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.5719, allocations: 22.42 kB / 1.045 GB, free: 55.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-06/0.5719, allocations: 3.984 kB / 1.045 GB, free: 55.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.081e-05/0.572, allocations: 328 kB / 1.046 GB, free: 55.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.5722, allocations: 66.62 kB / 1.046 GB, free: 55.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.5724, allocations: 68.02 kB / 1.046 GB, free: 55.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/0.5727, allocations: 166.4 kB / 1.046 GB, free: 55.17 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.5727, allocations: 4 kB / 1.046 GB, free: 55.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004392/0.5732, allocations: 211 kB / 1.046 GB, free: 55.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/0.5732, allocations: 46.16 kB / 1.046 GB, free: 55.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.5732, allocations: 0 / 1.046 GB, free: 55.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.5732, allocations: 0 / 1.046 GB, free: 55.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.5734, allocations: 24.27 kB / 1.046 GB, free: 55.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.5734, allocations: 4 kB / 1.046 GB, free: 55.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.5736, allocations: 22.02 kB / 1.046 GB, free: 55.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.5736, allocations: 8.281 kB / 1.046 GB, free: 55.02 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 7.592e-05/0.5737, allocations: 128.3 kB / 1.046 GB, free: 54.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.5737, allocations: 12.81 kB / 1.046 GB, free: 54.88 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.5737, allocations: 13.77 kB / 1.046 GB, free: 54.88 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.5737, allocations: 5.141 kB / 1.046 GB, free: 54.88 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5737, allocations: 0 / 1.046 GB, free: 54.88 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.5738, allocations: 0 / 1.046 GB, free: 54.88 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.5739, allocations: 199.8 kB / 1.047 GB, free: 54.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5739, allocations: 3.047 kB / 1.047 GB, free: 54.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.574, allocations: 23.41 kB / 1.047 GB, free: 54.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.574, allocations: 0 / 1.047 GB, free: 54.67 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.574, allocations: 9.438 kB / 1.047 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.5741, allocations: 1.641 kB / 1.047 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.5741, allocations: 8.672 kB / 1.047 GB, free: 54.65 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004254/0.5745, allocations: 209.2 kB / 1.047 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.839e-05/0.5745, allocations: 84.39 kB / 1.047 GB, free: 54.45 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.5746, allocations: 5.844 kB / 1.047 GB, free: 54.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.5747, allocations: 19.7 kB / 1.047 GB, free: 54.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.985e-05/0.5748, allocations: 13.98 kB / 1.047 GB, free: 54.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.5748, allocations: 3.031 kB / 1.047 GB, free: 54.44 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.232e-05/0.5748, allocations: 107.2 kB / 1.047 GB, free: 54.36 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5748, allocations: 0 / 1.047 GB, free: 54.36 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002428/0.5751, allocations: 44.23 kB / 1.047 GB, free: 54.35 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.0001594/0.5753, allocations: 120.2 kB / 1.047 GB, free: 54.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004489/0.5757, allocations: 204.8 kB / 1.047 GB, free: 54.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5757, allocations: 0 / 1.047 GB, free: 54.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002305/0.576, allocations: 75 kB / 1.048 GB, free: 54.14 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.5762, allocations: 12.28 kB / 1.048 GB, free: 54.14 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005134/0.5767, allocations: 264.7 kB / 1.048 GB, free: 53.95 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.5768, allocations: 0.7046 MB / 1.048 GB, free: 53.25 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.632e-05/0.5769, allocations: 11.3 kB / 1.048 GB, free: 53.25 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.577, allocations: 11.88 kB / 1.049 GB, free: 53.25 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/0.577, allocations: 0 / 1.049 GB, free: 53.25 MB / 0.698 GB Notification: Performance of Templates: time 0.003848/0.5808, allocations: 1.271 MB / 1.05 GB, free: 53.14 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)