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.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.001855/0.001855, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.002531/0.002531, allocations: 191.4 kB / 22.23 MB, free: 5.16 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.509/1.509, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.118/3.118, allocations: 496 MB / 0.7835 GB, free: 33.63 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 62.73 kB / 1.138 GB, free: 33.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3577, allocations: 173.6 MB / 1.307 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003359/0.361, allocations: 1.581 MB / 1.309 GB, free: 252 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.3624, allocations: 0.596 MB / 1.309 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.488e-05/0.3624, allocations: 0 / 1.309 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.3626, allocations: 7.875 kB / 1.309 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.7e-05/0.3626, allocations: 23.84 kB / 1.309 GB, free: 15.61 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005196/0.3632, allocations: 87.78 kB / 1.309 GB, free: 15.53 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.3634, allocations: 99.62 kB / 1.31 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.3635, allocations: 16.22 kB / 1.31 GB, free: 15.41 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.3637, allocations: 43.86 kB / 1.31 GB, free: 15.37 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.3638, allocations: 47.81 kB / 1.31 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.3638, allocations: 4 kB / 1.31 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.364, allocations: 103.7 kB / 1.31 GB, free: 15.21 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.541e-05/0.3641, allocations: 15.98 kB / 1.31 GB, free: 15.2 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.783e-05/0.3642, allocations: 47.7 kB / 1.31 GB, free: 15.15 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003722/0.3645, allocations: 139.5 kB / 1.31 GB, free: 15.02 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3645, allocations: 0 / 1.31 GB, free: 15.02 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3646, allocations: 0 / 1.31 GB, free: 15.02 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.3646, allocations: 0 / 1.31 GB, free: 15.02 MB / 1.014 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.0009436/0.3655, allocations: 379.5 kB / 1.31 GB, free: 14.61 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.3655, allocations: 8.031 kB / 1.31 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.67e-05/0.3656, allocations: 16.84 kB / 1.31 GB, free: 14.59 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.3658, allocations: 138.3 kB / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.3658, allocations: 4.375 kB / 1.31 GB, free: 14.42 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.3659, allocations: 4.375 kB / 1.311 GB, free: 14.42 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003642/0.3662, allocations: 113.8 kB / 1.311 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3662, allocations: 4 kB / 1.311 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.3662, allocations: 0 / 1.311 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.347e-05/0.3663, allocations: 4 kB / 1.311 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003615/0.3666, allocations: 91.86 kB / 1.311 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007789/0.3674, allocations: 315.8 kB / 1.311 GB, free: 13.85 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.3678, allocations: 82.52 kB / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.368, allocations: 56.88 kB / 1.311 GB, free: 13.7 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.368, allocations: 0 / 1.311 GB, free: 13.7 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004025/0.3684, allocations: 123.2 kB / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of pre-optimization done (n=9): time 4.449e-06/0.3684, allocations: 3.984 kB / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=9): time 0.0007165/0.3691, allocations: 213.5 kB / 1.311 GB, free: 13.35 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.3691, allocations: 55.41 kB / 1.312 GB, free: 13.29 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.3693, allocations: 136.1 kB / 1.312 GB, free: 13.14 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.3693, allocations: 33.98 kB / 1.312 GB, free: 13.11 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.119e-05/0.3694, allocations: 104 kB / 1.312 GB, free: 13 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/0.3694, allocations: 31.73 kB / 1.312 GB, free: 12.97 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.056e-05/0.3695, allocations: 25.66 kB / 1.312 GB, free: 12.94 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.3697, allocations: 322.8 kB / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.3699, allocations: 63.95 kB / 1.312 GB, free: 12.55 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.3701, allocations: 55.95 kB / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004095/0.3705, allocations: 146.5 kB / 1.312 GB, free: 12.34 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3705, allocations: 0 / 1.312 GB, free: 12.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005803/0.3711, allocations: 203.3 kB / 1.313 GB, free: 12.13 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/0.3711, allocations: 33.7 kB / 1.313 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.3711, allocations: 0 / 1.313 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.3712, allocations: 3.984 kB / 1.313 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.3713, allocations: 15.98 kB / 1.313 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.3713, allocations: 4 kB / 1.313 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.3715, allocations: 11.98 kB / 1.313 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.3715, allocations: 11.98 kB / 1.313 GB, free: 12.05 MB / 1.014 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.0001439/0.3716, allocations: 133.6 kB / 1.313 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.3717, allocations: 11.91 kB / 1.313 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.203e-05/0.3717, allocations: 12.72 kB / 1.313 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.3717, allocations: 7.984 kB / 1.313 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.3717, allocations: 0 / 1.313 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3717, allocations: 0 / 1.313 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.372, allocations: 164.6 kB / 1.313 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.372, allocations: 3.984 kB / 1.313 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.3721, allocations: 23.98 kB / 1.313 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.3721, allocations: 0 / 1.313 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.3721, allocations: 4 kB / 1.313 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3721, allocations: 0 / 1.313 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3721, allocations: 0 / 1.313 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005056/0.3726, allocations: 184.9 kB / 1.313 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.761e-05/0.3727, allocations: 15.84 kB / 1.313 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.3727, allocations: 11.98 kB / 1.313 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.3728, allocations: 12.17 kB / 1.313 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.242e-05/0.3729, allocations: 11.98 kB / 1.313 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.3729, allocations: 7.922 kB / 1.313 GB, free: 11.38 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.377e-05/0.373, allocations: 108.8 kB / 1.313 GB, free: 11.27 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.01e-07/0.373, allocations: 0 / 1.313 GB, free: 11.27 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002675/0.3733, allocations: 43.92 kB / 1.313 GB, free: 11.23 MB / 1.014 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.0002007/0.3735, allocations: 124 kB / 1.314 GB, free: 11.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005172/0.374, allocations: 171.2 kB / 1.314 GB, free: 10.92 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.374, allocations: 0 / 1.314 GB, free: 10.92 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.3742, allocations: 71.88 kB / 1.314 GB, free: 10.85 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.3744, allocations: 8 kB / 1.314 GB, free: 10.84 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006194/0.375, allocations: 231.8 kB / 1.314 GB, free: 10.59 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.3754, allocations: 0.6963 MB / 1.315 GB, free: 9.871 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.15e-05/0.3755, allocations: 11.98 kB / 1.315 GB, free: 9.859 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.159e-05/0.3755, allocations: 15.42 kB / 1.315 GB, free: 9.844 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/0.3755, allocations: 4 kB / 1.315 GB, free: 9.84 MB / 1.014 GB Notification: Performance of Templates: time 0.004876/0.3804, allocations: 1.47 MB / 1.316 GB, free: 8.379 MB / 1.014 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.004222568124533]