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.0009563/0.0009563, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009683/0.0009683, allocations: 177.3 kB / 23.36 MB, free: 1.133 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 1.015/1.015, allocations: 177.1 MB / 203.8 MB, free: 5.5 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 2.386/2.386, allocations: 438.8 MB / 0.6826 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.[0-9,]+.|sigRan.y.[0-9,]+.",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.[0-9,]+.|sigRan.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059e-05/1.2e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.00192/0.001932, allocations: 1.657 MB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008369/0.002769, allocations: 0.6387 MB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.94e-05/0.002828, allocations: 4 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 8.936e-05/0.002918, allocations: 7.875 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.713e-05/0.002965, allocations: 19.78 kB / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.003311, allocations: 103.6 kB / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.003445, allocations: 103.6 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.952e-05/0.003525, allocations: 16.23 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.003706, allocations: 63.86 kB / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.225e-05/0.003778, allocations: 35.89 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.003796, allocations: 8 kB / 0.8412 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.003934, allocations: 107.8 kB / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.559e-05/0.003969, allocations: 19.92 kB / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.004002, allocations: 27.92 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.004166, allocations: 143.6 kB / 0.8414 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.004168, allocations: 0 / 0.8414 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004168, allocations: 0 / 0.8414 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.004171, allocations: 4 kB / 0.8414 GB, free: 11.23 MB / 0.8073 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.0004225/0.004594, allocations: 354 kB / 0.8418 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.004624, allocations: 12.56 kB / 0.8418 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.004776, allocations: 32.91 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.004912, allocations: 141.6 kB / 0.842 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.246e-06/0.00492, allocations: 384 / 0.842 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.004929, allocations: 4.375 kB / 0.842 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.005074, allocations: 93.72 kB / 0.8421 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.005083, allocations: 192 / 0.8421 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.005094, allocations: 384 / 0.8421 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.324e-05/0.005117, allocations: 11.88 kB / 0.8421 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.425e-05/0.005151, allocations: 15.98 kB / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003088/0.00546, allocations: 193.9 kB / 0.8423 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.664e-05/0.005537, allocations: 78.41 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.453e-05/0.005561, allocations: 16.92 kB / 0.8424 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.005572, allocations: 0 / 0.8424 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/0.005681, allocations: 86.17 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.005682, allocations: 0 / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001371/0.005819, allocations: 73.61 kB / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.005848, allocations: 55.39 kB / 0.8426 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.934e-05/0.005917, allocations: 140.7 kB / 0.8427 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.005932, allocations: 29.81 kB / 0.8427 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.291e-05/0.005975, allocations: 107.9 kB / 0.8428 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002648/0.00624, allocations: 23.75 kB / 0.8428 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.006279, allocations: 29.69 kB / 0.8429 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.006346, allocations: 322.8 kB / 0.8432 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.682e-05/0.006383, allocations: 48.52 kB / 0.8432 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.605e-05/0.006409, allocations: 37.7 kB / 0.8433 GB, free: 9.191 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.951e-05/0.006468, allocations: 68.12 kB / 0.8433 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.00647, allocations: 0 / 0.8433 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.516e-05/0.006565, allocations: 121 kB / 0.8434 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.00659, allocations: 41.69 kB / 0.8435 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.006594, allocations: 0 / 0.8435 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.006605, allocations: 4 kB / 0.8435 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.411e-05/0.006679, allocations: 23.92 kB / 0.8435 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.006682, allocations: 0 / 0.8435 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.625e-05/0.006738, allocations: 19.94 kB / 0.8435 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.006746, allocations: 0 / 0.8435 GB, free: 8.883 MB / 0.8073 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 5.775e-05/0.006803, allocations: 120.7 kB / 0.8436 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.006816, allocations: 11.92 kB / 0.8437 GB, free: 8.742 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.871e-05/0.006835, allocations: 12.78 kB / 0.8437 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.006845, allocations: 7.984 kB / 0.8437 GB, free: 8.727 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.006846, allocations: 3.938 kB / 0.8437 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.006849, allocations: 0 / 0.8437 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.48e-05/0.006924, allocations: 85.88 kB / 0.8438 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.006924, allocations: 0 / 0.8438 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.56e-05/0.00696, allocations: 15.98 kB / 0.8438 GB, free: 8.605 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.006963, allocations: 7.938 kB / 0.8438 GB, free: 8.598 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.00697, allocations: 3.984 kB / 0.8438 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.006971, allocations: 0 / 0.8438 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.006972, allocations: 0 / 0.8438 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.815e-05/0.00706, allocations: 99.09 kB / 0.8439 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.234e-05/0.007073, allocations: 15.89 kB / 0.8439 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.007088, allocations: 3.938 kB / 0.8439 GB, free: 8.457 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.964e-05/0.007128, allocations: 11.98 kB / 0.8439 GB, free: 8.445 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.00717, allocations: 15.97 kB / 0.8439 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.007175, allocations: 4 kB / 0.8439 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.3e-05/0.007198, allocations: 29.95 kB / 0.844 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007198, allocations: 0 / 0.844 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001396/0.007337, allocations: 35.98 kB / 0.844 GB, free: 8.359 MB / 0.8073 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.000115/0.007452, allocations: 104.3 kB / 0.8441 GB, free: 8.246 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001277/0.00758, allocations: 125.9 kB / 0.8442 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.007584, allocations: 0 / 0.8442 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.894e-05/0.007622, allocations: 24.78 kB / 0.8442 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001013/0.007724, allocations: 27.78 kB / 0.8443 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004317/0.008155, allocations: 214.8 kB / 0.8445 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.191e-05/0.008187, allocations: 63.34 kB / 0.8445 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.9e-05/0.008226, allocations: 15.97 kB / 0.8445 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.356e-05/0.00829, allocations: 63.36 kB / 0.8446 GB, free: 7.645 MB / 0.8073 GB Notification: Performance of SimCode: time 6.11e-07/0.00829, allocations: 0 / 0.8446 GB, free: 7.645 MB / 0.8073 GB Notification: Performance of Templates: time 0.002781/0.01107, allocations: 1.487 MB / 0.8461 GB, free: 6.172 MB / 0.8073 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_SignalRanker.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2041222201660275]