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.00113/0.00113, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001445/0.002575, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001119/0.001119, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001369/0.002488, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9138/0.9138, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08968/1.003, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.321/2.321, allocations: 446.7 MB / 0.6745 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2252/2.546, allocations: 145.9 MB / 0.817 GB, free: 4.191 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.673e-06/1.673e-06, allocations: 0 / 0.8182 GB, free: 2.922 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.524e-05/1.691e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002322/0.002339, allocations: 1.654 MB / 0.8199 GB, free: 1.25 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0006977/0.003037, allocations: 0.6463 MB / 0.8205 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.193e-05/0.003089, allocations: 0 / 0.8205 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 5.682e-05/0.003146, allocations: 7.875 kB / 0.8205 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.43e-05/0.00318, allocations: 27.8 kB / 0.8205 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.003442, allocations: 95.62 kB / 0.8206 GB, free: 480 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.003567, allocations: 99.64 kB / 0.8207 GB, free: 380 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.697e-05/0.003644, allocations: 12.22 kB / 0.8207 GB, free: 364 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.003792, allocations: 83.75 kB / 0.8208 GB, free: 280 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.452e-05/0.003856, allocations: 31.89 kB / 0.8208 GB, free: 248 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.003874, allocations: 8 kB / 0.8208 GB, free: 240 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.004008, allocations: 103.8 kB / 0.8209 GB, free: 136 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.592e-05/0.004044, allocations: 15.94 kB / 0.821 GB, free: 120 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.356e-05/0.004077, allocations: 23.94 kB / 0.821 GB, free: 96 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.00424, allocations: 119.7 kB / 0.8211 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.269e-05/0.004253, allocations: 0 / 0.8211 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.81e-07/0.004254, allocations: 4 kB / 0.8211 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.004266, allocations: 0 / 0.8211 GB, free: 15.97 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.0005042/0.00477, allocations: 373.6 kB / 0.8215 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.004802, allocations: 12.62 kB / 0.8215 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001954/0.004998, allocations: 110 kB / 0.8216 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.005141, allocations: 137.6 kB / 0.8217 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.005149, allocations: 4.375 kB / 0.8217 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.005161, allocations: 8.359 kB / 0.8217 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.005304, allocations: 85.72 kB / 0.8218 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.00531, allocations: 192 / 0.8218 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.005319, allocations: 384 / 0.8218 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.005341, allocations: 11.92 kB / 0.8218 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.55e-05/0.005376, allocations: 15.94 kB / 0.8218 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003066/0.005683, allocations: 205.8 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.741e-05/0.00576, allocations: 70.48 kB / 0.8221 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.394e-05/0.005784, allocations: 24.84 kB / 0.8221 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.005798, allocations: 0 / 0.8221 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001243/0.005922, allocations: 78.19 kB / 0.8222 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.005923, allocations: 0 / 0.8222 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001354/0.006059, allocations: 73.61 kB / 0.8223 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.00609, allocations: 51.41 kB / 0.8223 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.548e-05/0.006165, allocations: 145 kB / 0.8224 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.006181, allocations: 29.7 kB / 0.8225 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.579e-05/0.006226, allocations: 96.12 kB / 0.8226 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.006245, allocations: 31.72 kB / 0.8226 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.006283, allocations: 29.8 kB / 0.8226 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.737e-05/0.00638, allocations: 326.8 kB / 0.8229 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.719e-05/0.006417, allocations: 36.53 kB / 0.823 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.692e-05/0.006454, allocations: 49.62 kB / 0.823 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.494e-05/0.006519, allocations: 72.12 kB / 0.8231 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.006521, allocations: 0 / 0.8231 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.997e-05/0.006621, allocations: 125 kB / 0.8232 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.005e-05/0.006661, allocations: 40.36 kB / 0.8232 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.006668, allocations: 0 / 0.8232 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.504e-06/0.006675, allocations: 4 kB / 0.8233 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.558e-05/0.006761, allocations: 23.97 kB / 0.8233 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.006766, allocations: 3.938 kB / 0.8233 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.84e-05/0.006824, allocations: 19.92 kB / 0.8233 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.006835, allocations: 0 / 0.8233 GB, free: 13.5 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 6.608e-05/0.006901, allocations: 116.7 kB / 0.8234 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.006915, allocations: 15.92 kB / 0.8234 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.299e-05/0.006938, allocations: 8.781 kB / 0.8234 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.006948, allocations: 4 kB / 0.8234 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.00695, allocations: 4 kB / 0.8234 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.006954, allocations: 3.984 kB / 0.8234 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.054e-05/0.007035, allocations: 93.8 kB / 0.8235 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.007036, allocations: 3.938 kB / 0.8235 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.728e-05/0.007074, allocations: 15.98 kB / 0.8236 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.007085, allocations: 11.89 kB / 0.8236 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.007086, allocations: 0 / 0.8236 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.007093, allocations: 3.984 kB / 0.8236 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.007094, allocations: 0 / 0.8236 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.007095, allocations: 0 / 0.8236 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.469e-05/0.00719, allocations: 102.7 kB / 0.8237 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.007208, allocations: 3.938 kB / 0.8237 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.788e-05/0.007246, allocations: 11.98 kB / 0.8237 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.007287, allocations: 15.97 kB / 0.8237 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.007292, allocations: 0 / 0.8237 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.376e-05/0.007316, allocations: 31.45 kB / 0.8237 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.007316, allocations: 0 / 0.8237 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001235/0.007439, allocations: 35.94 kB / 0.8238 GB, free: 12.98 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.0001082/0.007548, allocations: 104.4 kB / 0.8239 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001254/0.007673, allocations: 130 kB / 0.824 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.007679, allocations: 0 / 0.824 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.779e-05/0.007716, allocations: 32.75 kB / 0.824 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001118/0.007828, allocations: 28.44 kB / 0.824 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009044/0.008733, allocations: 230.7 kB / 0.8243 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.797e-05/0.008781, allocations: 63.34 kB / 0.8243 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.753e-05/0.008818, allocations: 4 kB / 0.8243 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.85e-05/0.008887, allocations: 63.36 kB / 0.8244 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of SimCode: time 8.32e-07/0.008887, allocations: 4 kB / 0.8244 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of Templates: time 0.02152/0.0304, allocations: 1.512 MB / 0.8259 GB, free: 10.75 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker/Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.ref.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.036126014776528]