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.0009283/0.0009283, allocations: 80.88 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.0009776/0.0009776, allocations: 181 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 0.9333/0.9333, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.3/2.3, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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 2.745e-06/2.745e-06, allocations: 3.984 kB / 0.8385 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.287e-05/1.562e-05, allocations: 4.422 kB / 0.8385 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001762/0.001777, allocations: 1.595 MB / 0.8401 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0007631/0.002541, allocations: 0.6386 MB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.479e-05/0.002595, allocations: 7.938 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 8.827e-05/0.002684, allocations: 7.922 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.412e-05/0.002728, allocations: 19.73 kB / 0.8408 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.00308, allocations: 111.7 kB / 0.8409 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.003195, allocations: 99.62 kB / 0.841 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.89e-05/0.003264, allocations: 12.23 kB / 0.841 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.0034, allocations: 75.8 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.481e-05/0.003455, allocations: 31.89 kB / 0.8411 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.003472, allocations: 8 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.003577, allocations: 95.83 kB / 0.8412 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.54e-05/0.003612, allocations: 19.92 kB / 0.8412 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.003646, allocations: 31.91 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.003799, allocations: 147.5 kB / 0.8414 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.0038, allocations: 0 / 0.8414 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.71e-07/0.003801, allocations: 0 / 0.8414 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.645e-06/0.003803, allocations: 0 / 0.8414 GB, free: 11.35 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.0004115/0.004215, allocations: 354.1 kB / 0.8417 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.004244, allocations: 12.62 kB / 0.8417 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.004384, allocations: 32.91 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.004513, allocations: 135.7 kB / 0.8419 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.004522, allocations: 8.312 kB / 0.8419 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.004535, allocations: 4.375 kB / 0.8419 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.00466, allocations: 81.73 kB / 0.842 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.004667, allocations: 192 / 0.842 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.004676, allocations: 12.36 kB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.004696, allocations: 7.938 kB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.071e-05/0.004727, allocations: 11.94 kB / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002774/0.005004, allocations: 205.8 kB / 0.8422 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.9e-05/0.005073, allocations: 70.48 kB / 0.8423 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.296e-05/0.005096, allocations: 16.84 kB / 0.8423 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.005107, allocations: 0 / 0.8423 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.397e-05/0.005201, allocations: 90.17 kB / 0.8424 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.005202, allocations: 4 kB / 0.8424 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001229/0.005325, allocations: 65.67 kB / 0.8424 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.005353, allocations: 55.34 kB / 0.8425 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.731e-05/0.00542, allocations: 144.3 kB / 0.8426 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.005436, allocations: 33.7 kB / 0.8426 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.507e-05/0.005471, allocations: 96.02 kB / 0.8427 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.005488, allocations: 31.72 kB / 0.8428 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.005523, allocations: 25.7 kB / 0.8428 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.726e-05/0.005591, allocations: 326.8 kB / 0.8431 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.446e-05/0.005625, allocations: 40.53 kB / 0.8431 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.602e-05/0.005651, allocations: 41.69 kB / 0.8432 GB, free: 9.312 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.424e-05/0.005705, allocations: 68.19 kB / 0.8432 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.005707, allocations: 4 kB / 0.8433 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.96e-05/0.005807, allocations: 137 kB / 0.8434 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.005825, allocations: 32.05 kB / 0.8434 GB, free: 9.043 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.005831, allocations: 3.984 kB / 0.8434 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.005841, allocations: 0 / 0.8434 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.569e-05/0.005906, allocations: 15.98 kB / 0.8434 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.005909, allocations: 4 kB / 0.8434 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.199e-05/0.005961, allocations: 15.94 kB / 0.8434 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.005971, allocations: 11.98 kB / 0.8435 GB, free: 8.992 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.754e-05/0.006029, allocations: 117.1 kB / 0.8436 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.141e-05/0.00604, allocations: 7.938 kB / 0.8436 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.106e-05/0.006061, allocations: 20.77 kB / 0.8436 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.006069, allocations: 4 kB / 0.8436 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.006071, allocations: 3.938 kB / 0.8436 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.006074, allocations: 0 / 0.8436 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.388e-05/0.006148, allocations: 85.86 kB / 0.8437 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.006148, allocations: 0 / 0.8437 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.053e-05/0.006179, allocations: 11.98 kB / 0.8437 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.006182, allocations: 7.938 kB / 0.8437 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.006188, allocations: 4 kB / 0.8437 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.006189, allocations: 0 / 0.8437 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.00619, allocations: 0 / 0.8437 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.222e-05/0.006272, allocations: 102.6 kB / 0.8438 GB, free: 8.59 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.858e-06/0.006282, allocations: 7.891 kB / 0.8438 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.0063, allocations: 11.92 kB / 0.8438 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.814e-05/0.006338, allocations: 11.98 kB / 0.8438 GB, free: 8.559 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.006372, allocations: 7.984 kB / 0.8438 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.006377, allocations: 4 kB / 0.8439 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.219e-05/0.006399, allocations: 34.5 kB / 0.8439 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.006399, allocations: 0 / 0.8439 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001296/0.006529, allocations: 36 kB / 0.8439 GB, free: 8.477 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.0001059/0.006635, allocations: 100.3 kB / 0.844 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001231/0.006758, allocations: 133.9 kB / 0.8441 GB, free: 8.215 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.00676, allocations: 0 / 0.8441 GB, free: 8.215 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.424e-05/0.006795, allocations: 24.78 kB / 0.8442 GB, free: 8.188 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.565e-05/0.00688, allocations: 19.8 kB / 0.8442 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/0.007281, allocations: 226.6 kB / 0.8444 GB, free: 7.914 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.046e-05/0.007312, allocations: 63.34 kB / 0.8445 GB, free: 7.832 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.415e-05/0.007346, allocations: 8 kB / 0.8445 GB, free: 7.824 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.939e-05/0.007405, allocations: 63.36 kB / 0.8445 GB, free: 7.762 MB / 0.8073 GB Notification: Performance of SimCode: time 7.41e-07/0.007406, allocations: 0 / 0.8445 GB, free: 7.762 MB / 0.8073 GB Notification: Performance of Templates: time 0.002701/0.01011, allocations: 1.492 MB / 0.846 GB, free: 6.289 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 -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.07904862286523]