Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008564/0.0008564, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008551/0.0008551, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9161/0.9161, allocations: 177.1 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.869/1.869, allocations: 389.6 MB / 0.6354 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.7752 GB, free: 5.453 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.197e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002295/0.002317, allocations: 1.647 MB / 0.7768 GB, free: 3.816 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009139/0.003231, allocations: 0.639 MB / 0.7774 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.283e-05/0.003304, allocations: 8.75 kB / 0.7774 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.003415, allocations: 3.938 kB / 0.7774 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.279e-05/0.003468, allocations: 21.36 kB / 0.7774 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.003844, allocations: 104.1 kB / 0.7775 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.003978, allocations: 103.6 kB / 0.7776 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.98e-05/0.004068, allocations: 17.12 kB / 0.7776 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.004232, allocations: 67.8 kB / 0.7777 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.819e-05/0.0043, allocations: 41.59 kB / 0.7777 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.00432, allocations: 8 kB / 0.7777 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.004472, allocations: 95.91 kB / 0.7778 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.291e-05/0.004515, allocations: 19.92 kB / 0.7779 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.764e-05/0.004553, allocations: 32.41 kB / 0.7779 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.004737, allocations: 151.5 kB / 0.778 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.004741, allocations: 1.125 kB / 0.778 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.102e-06/0.004742, allocations: 0 / 0.778 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.004747, allocations: 0 / 0.778 GB, free: 2.527 MB / 0.7292 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.0004609/0.005208, allocations: 352.9 kB / 0.7784 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.005242, allocations: 9.344 kB / 0.7784 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.005401, allocations: 32.91 kB / 0.7784 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.005545, allocations: 142.6 kB / 0.7785 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.005554, allocations: 4.188 kB / 0.7786 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.005563, allocations: 4.375 kB / 0.7786 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.005708, allocations: 89.72 kB / 0.7786 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.005715, allocations: 192 / 0.7786 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-06/0.005724, allocations: 384 / 0.7786 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.231e-05/0.005746, allocations: 7.938 kB / 0.7787 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.376e-05/0.00578, allocations: 11.98 kB / 0.7787 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.006085, allocations: 205.8 kB / 0.7789 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.05e-05/0.006165, allocations: 80.05 kB / 0.7789 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.411e-05/0.006189, allocations: 16.92 kB / 0.779 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.006203, allocations: 0 / 0.779 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001103/0.006313, allocations: 78.06 kB / 0.779 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.006314, allocations: 0.7188 kB / 0.779 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0001372/0.006451, allocations: 70.7 kB / 0.7791 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.006478, allocations: 55.45 kB / 0.7791 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.281e-05/0.006551, allocations: 149.5 kB / 0.7793 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.006566, allocations: 30.92 kB / 0.7793 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.006611, allocations: 104 kB / 0.7794 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.006625, allocations: 19.84 kB / 0.7794 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.006667, allocations: 30.47 kB / 0.7795 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.179e-05/0.006739, allocations: 318.8 kB / 0.7798 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.191e-05/0.006781, allocations: 44.52 kB / 0.7798 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.839e-05/0.00681, allocations: 39.05 kB / 0.7798 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.079e-05/0.00687, allocations: 68.17 kB / 0.7799 GB, free: 444 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.006872, allocations: 0 / 0.7799 GB, free: 444 kB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.957e-05/0.006972, allocations: 126.1 kB / 0.78 GB, free: 300 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.007, allocations: 37.7 kB / 0.7801 GB, free: 256 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.007006, allocations: 3.984 kB / 0.7801 GB, free: 252 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.007016, allocations: 1.062 kB / 0.7801 GB, free: 252 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.625e-05/0.007102, allocations: 19.98 kB / 0.7801 GB, free: 232 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.397e-06/0.007105, allocations: 4.062 kB / 0.7801 GB, free: 228 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.731e-05/0.007163, allocations: 21.28 kB / 0.7801 GB, free: 208 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.007171, allocations: 0 / 0.7801 GB, free: 208 kB / 0.7292 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 6.922e-05/0.00724, allocations: 118 kB / 0.7802 GB, free: 80 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.007258, allocations: 19.84 kB / 0.7803 GB, free: 60 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.007289, allocations: 16.72 kB / 0.7803 GB, free: 48 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.007305, allocations: 8.609 kB / 0.7803 GB, free: 40 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.007309, allocations: 0 / 0.7803 GB, free: 40 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.007313, allocations: 0.5312 kB / 0.7803 GB, free: 40 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.007421, allocations: 85.88 kB / 0.7804 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.007423, allocations: 0.6875 kB / 0.7804 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.359e-05/0.007466, allocations: 17.39 kB / 0.7804 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.00747, allocations: 7.938 kB / 0.7804 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.007478, allocations: 3.984 kB / 0.7804 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.00748, allocations: 0 / 0.7804 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.007481, allocations: 0.5938 kB / 0.7804 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.007603, allocations: 97.94 kB / 0.7805 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.547e-05/0.007618, allocations: 11.91 kB / 0.7805 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.007639, allocations: 7.938 kB / 0.7805 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.221e-05/0.007681, allocations: 11.98 kB / 0.7805 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.007723, allocations: 15.97 kB / 0.7805 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.00773, allocations: 0 / 0.7805 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.788e-05/0.007758, allocations: 30.89 kB / 0.7806 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007758, allocations: 0 / 0.7806 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001592/0.007917, allocations: 35.94 kB / 0.7806 GB, free: 15.68 MB / 0.7448 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.0001485/0.008065, allocations: 115.2 kB / 0.7807 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001568/0.008222, allocations: 121.9 kB / 0.7808 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.008227, allocations: 0 / 0.7808 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.97e-05/0.008266, allocations: 24.84 kB / 0.7808 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000119/0.008385, allocations: 17.53 kB / 0.7809 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004982/0.008884, allocations: 223.8 kB / 0.7811 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.622e-05/0.00892, allocations: 65.47 kB / 0.7811 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.284e-05/0.008963, allocations: 9.391 kB / 0.7811 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.012e-05/0.009033, allocations: 67.34 kB / 0.7812 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of SimCode: time 8.31e-07/0.009034, allocations: 1.156 kB / 0.7812 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of Templates: time 0.003316/0.01235, allocations: 1.482 MB / 0.7827 GB, free: 13.56 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.842185189016163]