Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001572, allocations: 108.7 kB / 17.07 MB, free: 6.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 189.2 kB / 20.02 MB, free: 3.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 245.7 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.667/2.667, allocations: 437.1 MB / 0.7177 GB, free: 4.531 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sigRan.u.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sigRan.u.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 64.09 kB / 1.028 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2896, allocations: 151.6 MB / 1.176 GB, free: 5.918 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002753/0.2923, allocations: 1.55 MB / 1.177 GB, free: 4.348 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.2934, allocations: 0.5765 MB / 1.178 GB, free: 3.766 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.22e-05/0.2934, allocations: 0 / 1.178 GB, free: 3.766 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.2935, allocations: 11.86 kB / 1.178 GB, free: 3.754 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.453e-05/0.2936, allocations: 19.86 kB / 1.178 GB, free: 3.734 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.294, allocations: 87.78 kB / 1.178 GB, free: 3.648 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.2942, allocations: 107.6 kB / 1.178 GB, free: 3.543 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.73e-05/0.2943, allocations: 12.23 kB / 1.178 GB, free: 3.527 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.2944, allocations: 47.84 kB / 1.178 GB, free: 3.48 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.423e-05/0.2945, allocations: 51.81 kB / 1.178 GB, free: 3.43 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.2945, allocations: 8 kB / 1.178 GB, free: 3.422 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.2947, allocations: 91.84 kB / 1.178 GB, free: 3.332 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.998e-05/0.2947, allocations: 15.92 kB / 1.178 GB, free: 3.316 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.066e-05/0.2948, allocations: 43.72 kB / 1.178 GB, free: 3.273 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.2951, allocations: 143.5 kB / 1.178 GB, free: 3.133 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2951, allocations: 0 / 1.178 GB, free: 3.133 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2951, allocations: 0 / 1.178 GB, free: 3.133 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2951, allocations: 0 / 1.178 GB, free: 3.133 MB / 0.92 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.0008578/0.296, allocations: 464.5 kB / 1.179 GB, free: 2.625 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.296, allocations: 8.031 kB / 1.179 GB, free: 2.617 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.092e-05/0.296, allocations: 12.84 kB / 1.179 GB, free: 2.605 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.2963, allocations: 196.2 kB / 1.179 GB, free: 2.375 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.2963, allocations: 384 / 1.179 GB, free: 2.375 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.2963, allocations: 4.375 kB / 1.179 GB, free: 2.371 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.2966, allocations: 117.8 kB / 1.179 GB, free: 2.25 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.2967, allocations: 4 kB / 1.179 GB, free: 2.246 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.2967, allocations: 0 / 1.179 GB, free: 2.246 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.2967, allocations: 4 kB / 1.179 GB, free: 2.242 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003488/0.2971, allocations: 95.78 kB / 1.179 GB, free: 2.148 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006533/0.2977, allocations: 344.7 kB / 1.18 GB, free: 1.762 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.2981, allocations: 90.52 kB / 1.18 GB, free: 1.664 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.2982, allocations: 60.88 kB / 1.18 GB, free: 1.602 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.2983, allocations: 0 / 1.18 GB, free: 1.602 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003487/0.2986, allocations: 119.3 kB / 1.18 GB, free: 1.473 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.2986, allocations: 0 / 1.18 GB, free: 1.473 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0006745/0.2993, allocations: 209.5 kB / 1.18 GB, free: 1.262 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.2994, allocations: 63.41 kB / 1.18 GB, free: 1.188 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.2995, allocations: 136.8 kB / 1.18 GB, free: 1.047 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.2996, allocations: 25.7 kB / 1.18 GB, free: 1.016 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.569e-05/0.2996, allocations: 108 kB / 1.18 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.2997, allocations: 27.78 kB / 1.18 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.986e-05/0.2997, allocations: 25.7 kB / 1.181 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.2999, allocations: 322.8 kB / 1.181 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.3001, allocations: 59.95 kB / 1.181 GB, free: 476 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.3003, allocations: 56.22 kB / 1.181 GB, free: 420 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003975/0.3007, allocations: 146.4 kB / 1.181 GB, free: 264 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3007, allocations: 96 / 1.181 GB, free: 264 kB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004941/0.3012, allocations: 207.2 kB / 1.181 GB, free: 44 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.336e-05/0.3013, allocations: 33.69 kB / 1.181 GB, free: 4 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3013, allocations: 0 / 1.181 GB, free: 4 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3013, allocations: 4 kB / 1.181 GB, free: 0 / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.3015, allocations: 19.98 kB / 1.181 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.3015, allocations: 0 / 1.181 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.3016, allocations: 19.97 kB / 1.181 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.3017, allocations: 11.94 kB / 1.181 GB, free: 15.95 MB / 0.9356 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.0001144/0.3018, allocations: 121.8 kB / 1.181 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.3018, allocations: 11.91 kB / 1.181 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.632e-05/0.3018, allocations: 16.7 kB / 1.181 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.3019, allocations: 4 kB / 1.181 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3019, allocations: 0 / 1.181 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.3019, allocations: 0 / 1.181 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.3021, allocations: 201.5 kB / 1.182 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3021, allocations: 0 / 1.182 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.3022, allocations: 19.98 kB / 1.182 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3022, allocations: 0 / 1.182 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.3022, allocations: 3.984 kB / 1.182 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3023, allocations: 0 / 1.182 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3023, allocations: 4 kB / 1.182 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004662/0.3027, allocations: 188.9 kB / 1.182 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.387e-05/0.3028, allocations: 85 kB / 1.182 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.3028, allocations: 4 kB / 1.182 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.303, allocations: 11.98 kB / 1.182 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.432e-05/0.303, allocations: 11.98 kB / 1.182 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.303, allocations: 7.984 kB / 1.182 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.704e-05/0.3031, allocations: 108.6 kB / 1.182 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3031, allocations: 0 / 1.182 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002475/0.3034, allocations: 39.94 kB / 1.182 GB, free: 15.03 MB / 0.9356 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.0001858/0.3036, allocations: 123.2 kB / 1.182 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005061/0.3041, allocations: 195.2 kB / 1.182 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3041, allocations: 0 / 1.182 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.3043, allocations: 67.88 kB / 1.183 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.3046, allocations: 15.86 kB / 1.183 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005572/0.3051, allocations: 257.2 kB / 1.183 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.3055, allocations: 0.6924 MB / 1.183 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.933e-05/0.3056, allocations: 23.42 kB / 1.183 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.3056, allocations: 0 / 1.183 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of Templates: time 0.003495/0.3091, allocations: 1.524 MB / 1.185 GB, free: 12.07 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.400001914938912]