Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0006658/0.0006658, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009904/0.001656, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006585/0.0006585, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008776/0.001536, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.994/0.994, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08933/1.083, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.802/1.802, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5201/2.322, allocations: 123.3 MB / 0.728 GB, free: 5.832 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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="mat",numberOfIntervals=2500,variableFilter="time|sigRan.u.[0-9,]+.|sigRan.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sigRan.u.[0-9,]+.|sigRan.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0.5469 kB / 0.7293 GB, free: 4.578 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.457e-05, allocations: 2.938 kB / 0.7293 GB, free: 4.574 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002343/0.002367, allocations: 1.65 MB / 0.7309 GB, free: 2.938 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008498/0.003217, allocations: 0.6435 MB / 0.7315 GB, free: 2.297 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.184e-05/0.003279, allocations: 0 / 0.7315 GB, free: 2.297 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.645e-05/0.003345, allocations: 13.64 kB / 0.7315 GB, free: 2.285 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.391e-05/0.003389, allocations: 19.59 kB / 0.7316 GB, free: 2.273 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.003716, allocations: 101.6 kB / 0.7317 GB, free: 2.176 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.003863, allocations: 94.17 kB / 0.7318 GB, free: 2.09 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.313e-05/0.003956, allocations: 17.66 kB / 0.7318 GB, free: 2.07 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.004175, allocations: 89.91 kB / 0.7319 GB, free: 1.984 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.139e-05/0.004246, allocations: 31.91 kB / 0.7319 GB, free: 1.953 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.004265, allocations: 4.656 kB / 0.7319 GB, free: 1.949 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.00443, allocations: 111.8 kB / 0.732 GB, free: 1.84 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.307e-05/0.004473, allocations: 12.62 kB / 0.732 GB, free: 1.828 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.723e-05/0.00451, allocations: 19.94 kB / 0.732 GB, free: 1.809 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.004689, allocations: 125.3 kB / 0.7321 GB, free: 1.688 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.403e-05/0.004703, allocations: 0 / 0.7321 GB, free: 1.688 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.71e-07/0.004704, allocations: 0 / 0.7321 GB, free: 1.688 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.1e-05/0.004725, allocations: 0 / 0.7321 GB, free: 1.688 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.0005467/0.005271, allocations: 374.7 kB / 0.7325 GB, free: 1.293 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.005302, allocations: 8.844 kB / 0.7325 GB, free: 1.285 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/0.005497, allocations: 106 kB / 0.7326 GB, free: 1.164 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.005736, allocations: 144.5 kB / 0.7328 GB, free: 1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.005746, allocations: 8.359 kB / 0.7328 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.005757, allocations: 5.25 kB / 0.7328 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.0059, allocations: 94.31 kB / 0.7329 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.005907, allocations: 192 / 0.7329 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.005916, allocations: 4.969 kB / 0.7329 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.289e-05/0.005938, allocations: 7.938 kB / 0.7329 GB, free: 0.875 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.873e-05/0.005987, allocations: 21.73 kB / 0.7329 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.006309, allocations: 193.9 kB / 0.7331 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.66e-05/0.006396, allocations: 78.47 kB / 0.7331 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.992e-05/0.006416, allocations: 9.547 kB / 0.7332 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.006429, allocations: 4 kB / 0.7332 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001151/0.006544, allocations: 86.86 kB / 0.7332 GB, free: 460 kB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.006546, allocations: 0.5 kB / 0.7332 GB, free: 460 kB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0001446/0.00669, allocations: 74.8 kB / 0.7333 GB, free: 380 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.006723, allocations: 55.41 kB / 0.7334 GB, free: 312 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.618e-05/0.006799, allocations: 143.6 kB / 0.7335 GB, free: 156 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.006815, allocations: 30.42 kB / 0.7335 GB, free: 120 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/0.006856, allocations: 92.08 kB / 0.7336 GB, free: 24 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.006873, allocations: 24.31 kB / 0.7336 GB, free: 0 / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.738e-05/0.006921, allocations: 29.69 kB / 0.7337 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.386e-05/0.006994, allocations: 323.8 kB / 0.734 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.686e-05/0.007031, allocations: 40.53 kB / 0.734 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.911e-05/0.00706, allocations: 42.56 kB / 0.7341 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.986e-05/0.00712, allocations: 72.11 kB / 0.7341 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.007124, allocations: 4 kB / 0.7341 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.496e-05/0.007219, allocations: 130.8 kB / 0.7343 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.007253, allocations: 37.69 kB / 0.7343 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.007258, allocations: 0 / 0.7343 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.344e-06/0.007266, allocations: 0 / 0.7343 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.725e-05/0.007353, allocations: 21.33 kB / 0.7343 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.007356, allocations: 0 / 0.7343 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.652e-05/0.007412, allocations: 15.94 kB / 0.7343 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.007425, allocations: 8.828 kB / 0.7343 GB, free: 15.23 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 (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 0.000233/0.007658, allocations: 117.5 kB / 0.7345 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/0.007671, allocations: 15.92 kB / 0.7345 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.447e-05/0.007695, allocations: 12.78 kB / 0.7345 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.007706, allocations: 8.828 kB / 0.7345 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.007708, allocations: 0 / 0.7345 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.007711, allocations: 0.5938 kB / 0.7345 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.054e-05/0.007792, allocations: 89.8 kB / 0.7346 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.007793, allocations: 0.6562 kB / 0.7346 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.111e-05/0.007834, allocations: 21.12 kB / 0.7346 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.127e-05/0.007845, allocations: 11.89 kB / 0.7346 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.007846, allocations: 0 / 0.7346 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.007852, allocations: 1.031 kB / 0.7346 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.007853, allocations: 0 / 0.7346 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.007854, allocations: 0 / 0.7346 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.921e-05/0.007953, allocations: 99.22 kB / 0.7347 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.007973, allocations: 7.922 kB / 0.7347 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.567e-05/0.008008, allocations: 9.781 kB / 0.7347 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.008054, allocations: 15.97 kB / 0.7347 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.00806, allocations: 0 / 0.7347 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.411e-05/0.008084, allocations: 36 kB / 0.7348 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.008084, allocations: 1.219 kB / 0.7348 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000159/0.008243, allocations: 47.83 kB / 0.7348 GB, free: 14.7 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: 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.0001119/0.008355, allocations: 97.16 kB / 0.7349 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001329/0.008488, allocations: 134.4 kB / 0.735 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.008494, allocations: 0 / 0.735 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.071e-05/0.008535, allocations: 25.59 kB / 0.7351 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/0.008647, allocations: 31.17 kB / 0.7351 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008589/0.009506, allocations: 221.2 kB / 0.7353 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.499e-05/0.009541, allocations: 63.34 kB / 0.7354 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.935e-05/0.009581, allocations: 10.42 kB / 0.7354 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.912e-05/0.00965, allocations: 63.38 kB / 0.7354 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of SimCode: time 4.91e-07/0.00965, allocations: 0 / 0.7354 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of Templates: time 0.00312/0.01277, allocations: 1.512 MB / 0.7369 GB, free: 12.55 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker/Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9131831135600805]