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.001126/0.001126, allocations: 77.06 kB / 9.98 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00161/0.002735, allocations: 444 kB / 10.41 MB, free: 276 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.001076/0.001076, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001381/0.002457, allocations: 475.6 kB / 11.79 MB, free: 2.371 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.9905/0.9905, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09272/1.083, allocations: 53.66 MB / 243.4 MB, free: 15.49 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.331/2.331, allocations: 447.1 MB / 0.675 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2167/2.547, allocations: 146 MB / 0.8176 GB, free: 3.805 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.643e-06/1.643e-06, allocations: 0 / 0.8189 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.173e-05/1.338e-05, allocations: 6.25 kB / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001757/0.00177, allocations: 1.642 MB / 0.8205 GB, free: 0.8477 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0006802/0.00245, allocations: 0.6463 MB / 0.8211 GB, free: 200 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.005e-05/0.0025, allocations: 0 / 0.8211 GB, free: 200 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 5.292e-05/0.002553, allocations: 11.88 kB / 0.8211 GB, free: 188 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.542e-05/0.002589, allocations: 19.78 kB / 0.8212 GB, free: 168 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.002853, allocations: 99.64 kB / 0.8213 GB, free: 68 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.002981, allocations: 107.6 kB / 0.8214 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.146e-05/0.003053, allocations: 12.22 kB / 0.8214 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.003201, allocations: 75.81 kB / 0.8214 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.301e-05/0.003264, allocations: 39.89 kB / 0.8215 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.003282, allocations: 8 kB / 0.8215 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.00341, allocations: 103.8 kB / 0.8216 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.673e-05/0.003447, allocations: 15.94 kB / 0.8216 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.599e-05/0.003493, allocations: 19.94 kB / 0.8216 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.003643, allocations: 123.6 kB / 0.8217 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 8.836e-06/0.003651, allocations: 4 kB / 0.8217 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.72e-07/0.003652, allocations: 0 / 0.8217 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.003661, allocations: 0 / 0.8217 GB, free: 15.56 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.0004785/0.00414, allocations: 369.7 kB / 0.8221 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.65e-05/0.004166, allocations: 8.031 kB / 0.8221 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.004352, allocations: 114 kB / 0.8222 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.004474, allocations: 133.6 kB / 0.8223 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-06/0.004481, allocations: 384 / 0.8223 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.004495, allocations: 12.38 kB / 0.8224 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.004627, allocations: 85.72 kB / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.004633, allocations: 4.188 kB / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.004641, allocations: 4.312 kB / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.004658, allocations: 7.938 kB / 0.8225 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.3e-05/0.004691, allocations: 15.92 kB / 0.8225 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000259/0.00495, allocations: 205.8 kB / 0.8227 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.909e-05/0.005019, allocations: 78.47 kB / 0.8227 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.397e-05/0.005043, allocations: 28.78 kB / 0.8228 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.005054, allocations: 0 / 0.8228 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.76e-05/0.005151, allocations: 78.19 kB / 0.8228 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 9.02e-07/0.005152, allocations: 0 / 0.8228 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001848/0.005337, allocations: 73.66 kB / 0.8229 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.00536, allocations: 55.41 kB / 0.823 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.22e-05/0.005432, allocations: 144.5 kB / 0.8231 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.005445, allocations: 25.7 kB / 0.8231 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.642e-05/0.005481, allocations: 99.97 kB / 0.8232 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.005498, allocations: 31.72 kB / 0.8232 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.005533, allocations: 33.69 kB / 0.8233 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.781e-05/0.005601, allocations: 318.8 kB / 0.8236 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.433e-05/0.005635, allocations: 44.52 kB / 0.8236 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.541e-05/0.00566, allocations: 37.69 kB / 0.8237 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.752e-05/0.005718, allocations: 72.12 kB / 0.8237 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.00572, allocations: 0 / 0.8237 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.255e-05/0.005812, allocations: 133 kB / 0.8239 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.005837, allocations: 29.7 kB / 0.8239 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.005841, allocations: 0 / 0.8239 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.00585, allocations: 4 kB / 0.8239 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.655e-05/0.005927, allocations: 23.97 kB / 0.8239 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.005929, allocations: 0 / 0.8239 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.098e-05/0.00598, allocations: 23.94 kB / 0.8239 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.005987, allocations: 3.938 kB / 0.8239 GB, free: 13.08 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.346e-05/0.006041, allocations: 112.7 kB / 0.824 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.222e-05/0.006053, allocations: 11.92 kB / 0.8241 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.308e-05/0.006076, allocations: 16.78 kB / 0.8241 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.006084, allocations: 4 kB / 0.8241 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.006086, allocations: 0 / 0.8241 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.006089, allocations: 4 kB / 0.8241 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.26e-05/0.006161, allocations: 93.78 kB / 0.8242 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.006162, allocations: 0 / 0.8242 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.506e-05/0.006197, allocations: 11.98 kB / 0.8242 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-06/0.006207, allocations: 11.89 kB / 0.8242 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.006208, allocations: 0 / 0.8242 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.006217, allocations: 7.984 kB / 0.8242 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.006218, allocations: 4 kB / 0.8242 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.006219, allocations: 0 / 0.8242 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.856e-05/0.006298, allocations: 86.7 kB / 0.8243 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.006314, allocations: 7.938 kB / 0.8243 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.482e-05/0.006349, allocations: 11.98 kB / 0.8243 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.006387, allocations: 19.95 kB / 0.8243 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.006392, allocations: 4 kB / 0.8243 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.18e-05/0.006414, allocations: 27.28 kB / 0.8244 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006414, allocations: 0 / 0.8244 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001228/0.006537, allocations: 35.94 kB / 0.8244 GB, free: 12.57 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.0001072/0.006644, allocations: 116.4 kB / 0.8245 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001817/0.006826, allocations: 121.9 kB / 0.8246 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.006832, allocations: 8 kB / 0.8246 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.197e-05/0.006874, allocations: 32.83 kB / 0.8247 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001141/0.006988, allocations: 86.58 kB / 0.8247 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000755/0.007743, allocations: 222.8 kB / 0.825 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.882e-05/0.007772, allocations: 63.34 kB / 0.825 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.399e-05/0.007806, allocations: 11.98 kB / 0.825 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.896e-05/0.007865, allocations: 59.36 kB / 0.8251 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of SimCode: time 4.81e-07/0.007865, allocations: 7.875 kB / 0.8251 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of Templates: time 0.002774/0.01064, allocations: 1.495 MB / 0.8265 GB, free: 10.29 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.989311260171235]