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.001895/0.001895, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002184/0.002184, allocations: 219.1 kB / 23.01 MB, free: 4.609 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.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 3.254/3.254, allocations: 0.505 GB / 0.8108 GB, free: 22.17 MB / 0.6231 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.002034/0.002034, allocations: 68.08 kB / 1.178 GB, free: 16.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3954, allocations: 180.2 MB / 1.354 GB, free: 7.988 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.004315/0.3997, allocations: 1.589 MB / 1.356 GB, free: 6.391 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00197/0.4017, allocations: 0.6505 MB / 1.356 GB, free: 5.734 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.65e-05/0.4018, allocations: 0 / 1.356 GB, free: 5.734 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.4019, allocations: 11.86 kB / 1.356 GB, free: 5.723 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.402, allocations: 35.72 kB / 1.356 GB, free: 5.688 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006962/0.4027, allocations: 99.77 kB / 1.356 GB, free: 5.59 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000255/0.4029, allocations: 103.6 kB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.4031, allocations: 8.234 kB / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002353/0.4033, allocations: 55.77 kB / 1.357 GB, free: 5.422 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.4035, allocations: 47.83 kB / 1.357 GB, free: 5.375 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.373e-05/0.4035, allocations: 8 kB / 1.357 GB, free: 5.367 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002718/0.4038, allocations: 95.84 kB / 1.357 GB, free: 5.273 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.491e-05/0.4038, allocations: 27.89 kB / 1.357 GB, free: 5.246 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.354e-05/0.4039, allocations: 51.73 kB / 1.357 GB, free: 5.195 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003654/0.4043, allocations: 147.4 kB / 1.357 GB, free: 5.051 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4043, allocations: 0 / 1.357 GB, free: 5.051 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.953e-06/0.4043, allocations: 0 / 1.357 GB, free: 5.051 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.4043, allocations: 0 / 1.357 GB, free: 5.051 MB / 1.045 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.001047/0.4054, allocations: 383.5 kB / 1.357 GB, free: 4.641 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.4054, allocations: 12.03 kB / 1.357 GB, free: 4.629 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004249/0.4058, allocations: 40.81 kB / 1.357 GB, free: 4.59 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.4062, allocations: 136.4 kB / 1.357 GB, free: 4.434 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.4062, allocations: 8.375 kB / 1.357 GB, free: 4.426 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.4062, allocations: 8.359 kB / 1.357 GB, free: 4.418 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004703/0.4067, allocations: 97.94 kB / 1.358 GB, free: 4.316 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.4067, allocations: 0 / 1.358 GB, free: 4.316 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.4067, allocations: 4 kB / 1.358 GB, free: 4.312 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.959e-05/0.4068, allocations: 11.98 kB / 1.358 GB, free: 4.301 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005752/0.4073, allocations: 91.8 kB / 1.358 GB, free: 4.211 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009952/0.4083, allocations: 319.8 kB / 1.358 GB, free: 3.855 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00057/0.4089, allocations: 86.52 kB / 1.358 GB, free: 3.762 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003536/0.4093, allocations: 61.44 kB / 1.358 GB, free: 3.699 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.4093, allocations: 3.938 kB / 1.358 GB, free: 3.695 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004944/0.4098, allocations: 111.3 kB / 1.358 GB, free: 3.574 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 2.274e-06/0.4098, allocations: 0 / 1.358 GB, free: 3.574 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.001173/0.4109, allocations: 209.4 kB / 1.358 GB, free: 3.363 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.411, allocations: 55.41 kB / 1.358 GB, free: 3.297 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.4112, allocations: 149 kB / 1.359 GB, free: 3.145 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.4113, allocations: 29.69 kB / 1.359 GB, free: 3.109 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.4114, allocations: 104 kB / 1.359 GB, free: 3.004 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.434e-05/0.4114, allocations: 31.86 kB / 1.359 GB, free: 2.973 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.368e-05/0.4115, allocations: 25.7 kB / 1.359 GB, free: 2.941 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002262/0.4117, allocations: 322.8 kB / 1.359 GB, free: 2.617 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/0.4121, allocations: 59.95 kB / 1.359 GB, free: 2.559 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003556/0.4125, allocations: 59.95 kB / 1.359 GB, free: 2.5 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007412/0.4132, allocations: 150.5 kB / 1.359 GB, free: 2.344 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.4132, allocations: 0 / 1.359 GB, free: 2.344 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0008702/0.4141, allocations: 199.3 kB / 1.36 GB, free: 2.137 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.743e-05/0.4141, allocations: 33.7 kB / 1.36 GB, free: 2.098 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.4141, allocations: 0 / 1.36 GB, free: 2.098 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.4142, allocations: 4 kB / 1.36 GB, free: 2.094 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.4144, allocations: 23.95 kB / 1.36 GB, free: 2.07 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.4144, allocations: 0 / 1.36 GB, free: 2.07 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/0.4146, allocations: 31.75 kB / 1.36 GB, free: 2.039 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.4147, allocations: 0 / 1.36 GB, free: 2.039 MB / 1.045 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.0001848/0.4148, allocations: 129.8 kB / 1.36 GB, free: 1.902 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.4149, allocations: 7.953 kB / 1.36 GB, free: 1.895 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.017e-05/0.4149, allocations: 12.72 kB / 1.36 GB, free: 1.883 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.76e-05/0.4149, allocations: 4 kB / 1.36 GB, free: 1.879 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.415, allocations: 3.984 kB / 1.36 GB, free: 1.875 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.415, allocations: 7.938 kB / 1.36 GB, free: 1.867 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.4153, allocations: 160.7 kB / 1.36 GB, free: 1.668 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.4153, allocations: 0 / 1.36 GB, free: 1.668 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.4154, allocations: 23.97 kB / 1.36 GB, free: 1.645 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.4154, allocations: 4 kB / 1.36 GB, free: 1.641 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.4154, allocations: 4 kB / 1.36 GB, free: 1.637 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4154, allocations: 0 / 1.36 GB, free: 1.637 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4154, allocations: 0 / 1.36 GB, free: 1.637 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000789/0.4162, allocations: 185.3 kB / 1.36 GB, free: 1.438 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.09e-05/0.4163, allocations: 15.91 kB / 1.36 GB, free: 1.422 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.484e-05/0.4163, allocations: 3.984 kB / 1.36 GB, free: 1.418 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.4165, allocations: 15.98 kB / 1.36 GB, free: 1.402 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.137e-05/0.4166, allocations: 11.92 kB / 1.36 GB, free: 1.391 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.4166, allocations: 7.984 kB / 1.36 GB, free: 1.383 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001392/0.4168, allocations: 107.3 kB / 1.36 GB, free: 1.277 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4168, allocations: 0 / 1.36 GB, free: 1.277 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003655/0.4171, allocations: 35.94 kB / 1.36 GB, free: 1.242 MB / 1.045 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.0002953/0.4174, allocations: 123.2 kB / 1.36 GB, free: 1.113 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0008841/0.4183, allocations: 187.2 kB / 1.361 GB, free: 0.918 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4183, allocations: 0 / 1.361 GB, free: 0.918 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003729/0.4187, allocations: 59.89 kB / 1.361 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.4191, allocations: 12 kB / 1.361 GB, free: 0.8477 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009568/0.42, allocations: 258.1 kB / 1.361 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005227/0.4205, allocations: 0.6963 MB / 1.362 GB, free: 15.84 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.661e-05/0.4206, allocations: 15.44 kB / 1.362 GB, free: 15.82 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/0.4206, allocations: 0 / 1.362 GB, free: 15.82 MB / 1.061 GB Notification: Performance of Templates: time 0.005784/0.4264, allocations: 1.545 MB / 1.363 GB, free: 14.28 MB / 1.061 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/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: 11.818924997991417]