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.001625/0.001625, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001802/0.001802, allocations: 222.8 kB / 23 MB, free: 4.914 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.244/3.244, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 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.002132/0.002132, allocations: 67.64 kB / 1.187 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3427, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002887/0.3456, allocations: 1.552 MB / 1.366 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.3468, allocations: 0.6127 MB / 1.367 GB, free: 11.44 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.359e-05/0.3469, allocations: 0 / 1.367 GB, free: 11.44 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.347, allocations: 11.86 kB / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.617e-05/0.347, allocations: 19.81 kB / 1.367 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004362/0.3474, allocations: 107.6 kB / 1.367 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.3476, allocations: 99.69 kB / 1.367 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.83e-05/0.3477, allocations: 16.22 kB / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.3479, allocations: 47.84 kB / 1.367 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.368e-05/0.348, allocations: 43.81 kB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.348, allocations: 8 kB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.3482, allocations: 95.84 kB / 1.367 GB, free: 10.99 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.94e-05/0.3482, allocations: 19.92 kB / 1.367 GB, free: 10.97 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.855e-05/0.3483, allocations: 35.8 kB / 1.367 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.3485, allocations: 159.3 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3485, allocations: 0 / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3485, allocations: 0 / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.3486, allocations: 0 / 1.367 GB, free: 10.78 MB / 1.061 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.0008345/0.3494, allocations: 387.4 kB / 1.368 GB, free: 10.37 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.3494, allocations: 12.03 kB / 1.368 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002835/0.3497, allocations: 28.86 kB / 1.368 GB, free: 10.33 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.35, allocations: 142.3 kB / 1.368 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.35, allocations: 8.375 kB / 1.368 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.35, allocations: 4.375 kB / 1.368 GB, free: 10.15 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003501/0.3503, allocations: 117.8 kB / 1.368 GB, free: 10.03 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3504, allocations: 0 / 1.368 GB, free: 10.03 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.3504, allocations: 3.984 kB / 1.368 GB, free: 10.03 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.3504, allocations: 4 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003347/0.3507, allocations: 87.92 kB / 1.368 GB, free: 9.938 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000647/0.3514, allocations: 276.4 kB / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.3517, allocations: 90.45 kB / 1.368 GB, free: 9.539 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.3519, allocations: 52.88 kB / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.3519, allocations: 0 / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003107/0.3522, allocations: 119.3 kB / 1.369 GB, free: 9.355 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.3522, allocations: 4 kB / 1.369 GB, free: 9.352 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0006785/0.3529, allocations: 201.5 kB / 1.369 GB, free: 9.148 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.3529, allocations: 59.41 kB / 1.369 GB, free: 9.078 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.3531, allocations: 143.5 kB / 1.369 GB, free: 8.93 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.3531, allocations: 25.7 kB / 1.369 GB, free: 8.898 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.85e-05/0.3532, allocations: 104 kB / 1.369 GB, free: 8.793 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.3532, allocations: 31.8 kB / 1.369 GB, free: 8.762 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.738e-05/0.3533, allocations: 25.7 kB / 1.369 GB, free: 8.73 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3534, allocations: 326.8 kB / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.3537, allocations: 85.59 kB / 1.37 GB, free: 8.312 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.3539, allocations: 89.7 kB / 1.37 GB, free: 8.219 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003828/0.3543, allocations: 146.5 kB / 1.37 GB, free: 8.066 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3543, allocations: 0 / 1.37 GB, free: 8.066 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005021/0.3548, allocations: 228.9 kB / 1.37 GB, free: 7.824 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.083e-05/0.3548, allocations: 39.41 kB / 1.37 GB, free: 7.781 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3548, allocations: 0.5469 kB / 1.37 GB, free: 7.781 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3548, allocations: 4 kB / 1.37 GB, free: 7.777 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.355, allocations: 15.98 kB / 1.37 GB, free: 7.762 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.355, allocations: 7.984 kB / 1.37 GB, free: 7.754 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.3551, allocations: 23.86 kB / 1.37 GB, free: 7.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.3551, allocations: 11.88 kB / 1.37 GB, free: 7.719 MB / 1.061 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.000111/0.3552, allocations: 118.5 kB / 1.37 GB, free: 7.594 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.3553, allocations: 15.95 kB / 1.37 GB, free: 7.578 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.93e-05/0.3553, allocations: 12.7 kB / 1.37 GB, free: 7.559 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.3553, allocations: 4 kB / 1.37 GB, free: 7.555 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3553, allocations: 0 / 1.37 GB, free: 7.555 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3553, allocations: 4 kB / 1.37 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.3555, allocations: 133.2 kB / 1.37 GB, free: 7.391 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3555, allocations: 3.984 kB / 1.37 GB, free: 7.387 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.3556, allocations: 23.92 kB / 1.37 GB, free: 7.363 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3556, allocations: 3.938 kB / 1.37 GB, free: 7.359 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.3556, allocations: 0 / 1.37 GB, free: 7.359 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3556, allocations: 0 / 1.37 GB, free: 7.359 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3556, allocations: 0 / 1.37 GB, free: 7.359 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004913/0.3561, allocations: 188.9 kB / 1.371 GB, free: 7.156 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.944e-05/0.3561, allocations: 7.938 kB / 1.371 GB, free: 7.148 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.3562, allocations: 8 kB / 1.371 GB, free: 7.141 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.3563, allocations: 15.97 kB / 1.371 GB, free: 7.125 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.852e-05/0.3564, allocations: 15.91 kB / 1.371 GB, free: 7.109 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.3564, allocations: 4 kB / 1.371 GB, free: 7.105 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001202/0.3565, allocations: 113.5 kB / 1.371 GB, free: 6.996 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3565, allocations: 0 / 1.371 GB, free: 6.996 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002679/0.3568, allocations: 39.92 kB / 1.371 GB, free: 6.957 MB / 1.061 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.0001964/0.357, allocations: 119.2 kB / 1.371 GB, free: 6.832 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005212/0.3575, allocations: 204.9 kB / 1.371 GB, free: 6.613 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3575, allocations: 0 / 1.371 GB, free: 6.613 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002024/0.3577, allocations: 59.95 kB / 1.371 GB, free: 6.555 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.3579, allocations: 20.11 kB / 1.371 GB, free: 6.535 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000583/0.3585, allocations: 250.1 kB / 1.371 GB, free: 6.258 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.475e-05/0.3586, allocations: 85.31 kB / 1.371 GB, free: 6.156 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.107e-05/0.3587, allocations: 19.42 kB / 1.372 GB, free: 6.137 MB / 1.061 GB Notification: Performance of SimCode: time 3.4e-07/0.3587, allocations: 3.938 kB / 1.372 GB, free: 6.133 MB / 1.061 GB Notification: Performance of Templates: time 0.003701/0.3624, allocations: 1.581 MB / 1.373 GB, free: 4.559 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.584155762102455]