Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007988/0.0007988, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0007829/0.0007829, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 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.8485/0.8485, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.713/1.713, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.604e-05, allocations: 10.22 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002091/0.002117, allocations: 1.552 MB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008693/0.002987, allocations: 0.6084 MB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.543e-05/0.003062, allocations: 0 / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.003187, allocations: 11.86 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.196e-05/0.003239, allocations: 23.8 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005256/0.003765, allocations: 111.6 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.003955, allocations: 99.62 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.004078, allocations: 16.22 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.004262, allocations: 71.75 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.796e-05/0.00433, allocations: 31.95 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.004349, allocations: 4 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.004469, allocations: 95.84 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.765e-05/0.004517, allocations: 23.91 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.649e-05/0.004563, allocations: 27.91 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.004768, allocations: 171.5 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.00477, allocations: 0 / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.512e-06/0.004772, allocations: 0 / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.004776, allocations: 4 kB / 1.004 GB, free: 10.19 MB / 0.9636 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.0005936/0.005369, allocations: 383.4 kB / 1.004 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.005405, allocations: 8.75 kB / 1.004 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.005574, allocations: 32.86 kB / 1.004 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.005764, allocations: 144 kB / 1.004 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.005777, allocations: 4.359 kB / 1.004 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.005791, allocations: 8.375 kB / 1.004 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.005997, allocations: 102.2 kB / 1.004 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.006006, allocations: 192 / 1.004 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.006025, allocations: 8.359 kB / 1.004 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/0.006046, allocations: 11.88 kB / 1.004 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.006213, allocations: 79.92 kB / 1.004 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000466/0.006679, allocations: 284.4 kB / 1.005 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.006858, allocations: 86.45 kB / 1.005 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.134e-05/0.00695, allocations: 56.81 kB / 1.005 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.006965, allocations: 4 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001994/0.007165, allocations: 119.2 kB / 1.005 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 2.004e-06/0.007167, allocations: 0 / 1.005 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0004053/0.007572, allocations: 213.5 kB / 1.005 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.007608, allocations: 51.41 kB / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.869e-05/0.007697, allocations: 148.6 kB / 1.005 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.007714, allocations: 29.69 kB / 1.005 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.007765, allocations: 100.1 kB / 1.005 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.007783, allocations: 27.8 kB / 1.005 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/0.007825, allocations: 29.7 kB / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.595e-05/0.007911, allocations: 326.8 kB / 1.006 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.008031, allocations: 81.66 kB / 1.006 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.762e-05/0.008129, allocations: 85.66 kB / 1.006 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/0.008513, allocations: 150.5 kB / 1.006 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.008515, allocations: 0 / 1.006 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002548/0.00877, allocations: 228.9 kB / 1.006 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.008796, allocations: 29.7 kB / 1.006 GB, free: 7.199 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.008803, allocations: 4 kB / 1.006 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.008815, allocations: 0 / 1.006 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.081e-05/0.008896, allocations: 27.91 kB / 1.006 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.008901, allocations: 0 / 1.006 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.126e-05/0.008972, allocations: 27.91 kB / 1.006 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.008983, allocations: 3.984 kB / 1.006 GB, free: 7.137 MB / 0.9636 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 7.102e-05/0.009054, allocations: 121.8 kB / 1.007 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.009065, allocations: 7.953 kB / 1.007 GB, free: 7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.00909, allocations: 12.78 kB / 1.007 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.009102, allocations: 11.98 kB / 1.007 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.009106, allocations: 8 kB / 1.007 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.00911, allocations: 480 / 1.007 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.46e-05/0.009204, allocations: 133.2 kB / 1.007 GB, free: 6.805 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.009206, allocations: 0 / 1.007 GB, free: 6.805 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.779e-05/0.009253, allocations: 19.97 kB / 1.007 GB, free: 6.785 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.009255, allocations: 0 / 1.007 GB, free: 6.785 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.009264, allocations: 3.938 kB / 1.007 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.009265, allocations: 4 kB / 1.007 GB, free: 6.777 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.009266, allocations: 0 / 1.007 GB, free: 6.777 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.009505, allocations: 200.8 kB / 1.007 GB, free: 6.562 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.009517, allocations: 7.953 kB / 1.007 GB, free: 6.555 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.009532, allocations: 0 / 1.007 GB, free: 6.555 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.034e-05/0.009582, allocations: 15.97 kB / 1.007 GB, free: 6.539 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.009631, allocations: 19.97 kB / 1.007 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.009639, allocations: 3.984 kB / 1.007 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.886e-05/0.009688, allocations: 103.3 kB / 1.007 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.009688, allocations: 0 / 1.007 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000173/0.009861, allocations: 39.94 kB / 1.007 GB, free: 6.375 MB / 0.9636 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.0001602/0.01002, allocations: 127.1 kB / 1.007 GB, free: 6.238 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000274/0.01029, allocations: 205 kB / 1.007 GB, free: 6.02 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.0103, allocations: 0 / 1.007 GB, free: 6.02 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.451e-05/0.01039, allocations: 59.89 kB / 1.007 GB, free: 5.961 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.01055, allocations: 15.94 kB / 1.007 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.01094, allocations: 255.2 kB / 1.008 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.754e-05/0.011, allocations: 97.44 kB / 1.008 GB, free: 5.547 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.01104, allocations: 16.48 kB / 1.008 GB, free: 5.531 MB / 0.9636 GB Notification: Performance of SimCode: time 3.61e-07/0.01104, allocations: 0 / 1.008 GB, free: 5.531 MB / 0.9636 GB Notification: Performance of Templates: time 0.002459/0.0135, allocations: 1.585 MB / 1.009 GB, free: 3.949 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.854533372446895]