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.001755/0.001755, allocations: 73.56 kB / 19.76 MB, free: 2.02 MB / 14.72 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.002054/0.002054, allocations: 161 kB / 23.01 MB, free: 4.957 MB / 14.72 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 1.444/1.444, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] 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 2.859/2.859, allocations: 394.2 MB / 0.6387 GB, free: 11.91 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 72.12 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9576/0.9597, allocations: 181.8 MB / 1.187 GB, free: 16.16 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002636/0.9624, allocations: 1.572 MB / 1.188 GB, free: 15.08 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0009814/0.9633, allocations: 0.5998 MB / 1.189 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.246e-05/0.9634, allocations: 5.188 kB / 1.189 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 9.478e-05/0.9635, allocations: 11.77 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.559e-05/0.9636, allocations: 18.89 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004218/0.964, allocations: 107.2 kB / 1.189 GB, free: 14.62 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.9641, allocations: 100.9 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.634e-05/0.9642, allocations: 11.92 kB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.9644, allocations: 56.45 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.378e-05/0.9645, allocations: 40.97 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.9645, allocations: 7.469 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.9647, allocations: 89.5 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.849e-05/0.9647, allocations: 28.33 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.168e-05/0.9648, allocations: 33.33 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.965, allocations: 145.2 kB / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.965, allocations: 0 / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.313e-06/0.965, allocations: 1.125 kB / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.965, allocations: 0.75 kB / 1.189 GB, free: 14.41 MB / 1.076 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.00066/0.9656, allocations: 389.4 kB / 1.19 GB, free: 14.07 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.9657, allocations: 9.219 kB / 1.19 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002665/0.9659, allocations: 31.58 kB / 1.19 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.9661, allocations: 143.1 kB / 1.19 GB, free: 13.92 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.9661, allocations: 3.109 kB / 1.19 GB, free: 13.92 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.9661, allocations: 8.562 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003016/0.9664, allocations: 115.5 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.9665, allocations: 0 / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.9665, allocations: 0.6562 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.9665, allocations: 5.359 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003221/0.9668, allocations: 87.38 kB / 1.19 GB, free: 13.84 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005355/0.9673, allocations: 289.2 kB / 1.19 GB, free: 13.6 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003074/0.9677, allocations: 87.42 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.9678, allocations: 54.94 kB / 1.19 GB, free: 13.55 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.9678, allocations: 4.875 kB / 1.19 GB, free: 13.55 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002787/0.9681, allocations: 115.8 kB / 1.191 GB, free: 13.48 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.9681, allocations: 4 kB / 1.191 GB, free: 13.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.00064/0.9688, allocations: 200.1 kB / 1.191 GB, free: 13.42 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.9688, allocations: 58.09 kB / 1.191 GB, free: 13.35 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.9689, allocations: 140.6 kB / 1.191 GB, free: 13.24 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.9689, allocations: 26.95 kB / 1.191 GB, free: 13.21 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.307e-05/0.9689, allocations: 102.9 kB / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.969, allocations: 38.22 kB / 1.191 GB, free: 13.08 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/0.969, allocations: 26.56 kB / 1.191 GB, free: 13.06 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.364e-05/0.9691, allocations: 324.7 kB / 1.191 GB, free: 12.74 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.9693, allocations: 84.36 kB / 1.192 GB, free: 12.7 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.9694, allocations: 85.19 kB / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003473/0.9698, allocations: 146.5 kB / 1.192 GB, free: 12.59 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.9698, allocations: 0 / 1.192 GB, free: 12.59 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004499/0.9702, allocations: 229.3 kB / 1.192 GB, free: 12.46 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.9703, allocations: 35.81 kB / 1.192 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.9703, allocations: 1.156 kB / 1.192 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.9703, allocations: 0 / 1.192 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.9704, allocations: 19.61 kB / 1.192 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.9704, allocations: 9.156 kB / 1.192 GB, free: 12.42 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.9706, allocations: 18.5 kB / 1.192 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.9706, allocations: 7.734 kB / 1.192 GB, free: 12.41 MB / 1.076 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.384e-05/0.9707, allocations: 126 kB / 1.192 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.9707, allocations: 8.922 kB / 1.192 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/0.9707, allocations: 13.61 kB / 1.192 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.9707, allocations: 3.609 kB / 1.192 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.9707, allocations: 2.281 kB / 1.192 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.9707, allocations: 4 kB / 1.192 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.9708, allocations: 135.8 kB / 1.192 GB, free: 12.13 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.9708, allocations: 4 kB / 1.192 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.971, allocations: 21.27 kB / 1.192 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.971, allocations: 0.75 kB / 1.192 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.971, allocations: 2.531 kB / 1.192 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.971, allocations: 1.062 kB / 1.192 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.971, allocations: 0 / 1.192 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004224/0.9714, allocations: 190.2 kB / 1.193 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.723e-05/0.9714, allocations: 19.95 kB / 1.193 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.9714, allocations: 5.844 kB / 1.193 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.9716, allocations: 18.33 kB / 1.193 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.347e-05/0.9716, allocations: 10.39 kB / 1.193 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.9716, allocations: 7.5 kB / 1.193 GB, free: 11.99 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.478e-05/0.9717, allocations: 112.6 kB / 1.193 GB, free: 11.91 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9717, allocations: 1.062 kB / 1.193 GB, free: 11.91 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002561/0.9719, allocations: 32.12 kB / 1.193 GB, free: 11.91 MB / 1.076 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.0001396/0.9721, allocations: 121.1 kB / 1.193 GB, free: 11.81 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004689/0.9726, allocations: 207.9 kB / 1.193 GB, free: 11.69 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.9726, allocations: 0 / 1.193 GB, free: 11.69 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.9728, allocations: 60.53 kB / 1.193 GB, free: 11.68 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.973, allocations: 25.12 kB / 1.193 GB, free: 11.66 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004734/0.9734, allocations: 229.4 kB / 1.193 GB, free: 11.5 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.338e-05/0.9735, allocations: 94.67 kB / 1.193 GB, free: 11.42 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.531e-05/0.9736, allocations: 16.17 kB / 1.193 GB, free: 11.42 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.9736, allocations: 15.08 kB / 1.194 GB, free: 11.41 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.9736, allocations: 0 / 1.194 GB, free: 11.41 MB / 1.076 GB Notification: Performance of Templates: time 0.004556/0.9782, allocations: 1.486 MB / 1.195 GB, free: 11.24 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 8.915980441961437]