Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001136/0.001136, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001555/0.001555, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9677/0.9677, allocations: 177.1 MB / 204.2 MB, free: 5.117 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.805/1.805, allocations: 377.8 MB / 0.6236 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.8115 GB, free: 1.809 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/3.033e-05, allocations: 4.562 kB / 0.8115 GB, free: 1.805 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002788/0.002818, allocations: 1.606 MB / 0.8131 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.003944, allocations: 0.6221 MB / 0.8137 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.958e-05/0.004013, allocations: 3.938 kB / 0.8137 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.004125, allocations: 11.88 kB / 0.8137 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.545e-05/0.00418, allocations: 24.5 kB / 0.8137 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004402/0.00462, allocations: 108.2 kB / 0.8138 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.004778, allocations: 105.1 kB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.777e-05/0.004876, allocations: 12.22 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.005045, allocations: 63.81 kB / 0.814 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.601e-05/0.005111, allocations: 40.42 kB / 0.814 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.00513, allocations: 4 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.005259, allocations: 101.2 kB / 0.8141 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.23e-05/0.005301, allocations: 15.92 kB / 0.8141 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.24e-05/0.005344, allocations: 23.92 kB / 0.8142 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.005539, allocations: 160.6 kB / 0.8143 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.005542, allocations: 0 / 0.8143 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.543e-06/0.005544, allocations: 0 / 0.8143 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.005548, allocations: 0 / 0.8143 GB, free: 14.92 MB / 0.7761 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.0006561/0.006204, allocations: 479.2 kB / 0.8148 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.006243, allocations: 8.031 kB / 0.8148 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002332/0.006476, allocations: 30.25 kB / 0.8148 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.006673, allocations: 148.4 kB / 0.8149 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.00669, allocations: 4.938 kB / 0.8149 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.006706, allocations: 4.375 kB / 0.815 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.006914, allocations: 92.64 kB / 0.815 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.006923, allocations: 192 / 0.815 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.006938, allocations: 8.375 kB / 0.815 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-05/0.006968, allocations: 3.938 kB / 0.8151 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.063e-05/0.007029, allocations: 18.45 kB / 0.8151 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005183/0.007547, allocations: 327.6 kB / 0.8154 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.007664, allocations: 39.05 kB / 0.8154 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.346e-05/0.007708, allocations: 19.69 kB / 0.8154 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.007723, allocations: 4 kB / 0.8154 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.007869, allocations: 81.58 kB / 0.8155 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.753e-06/0.007871, allocations: 0.5312 kB / 0.8155 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0002585/0.008129, allocations: 95.5 kB / 0.8156 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.008168, allocations: 51.41 kB / 0.8157 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.00829, allocations: 207.7 kB / 0.8159 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.008307, allocations: 25.7 kB / 0.8159 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.932e-05/0.008377, allocations: 146.8 kB / 0.816 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.008401, allocations: 29.72 kB / 0.8161 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.678e-05/0.008458, allocations: 39.36 kB / 0.8161 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.008593, allocations: 0.4922 MB / 0.8166 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.046e-05/0.008664, allocations: 49.69 kB / 0.8166 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.945e-05/0.008713, allocations: 41.69 kB / 0.8167 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.454e-05/0.008808, allocations: 65.38 kB / 0.8167 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.00881, allocations: 0.625 kB / 0.8167 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001828/0.008993, allocations: 153.5 kB / 0.8169 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.009022, allocations: 37.69 kB / 0.8169 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.009028, allocations: 0.9062 kB / 0.8169 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.00904, allocations: 0 / 0.8169 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.315e-05/0.009133, allocations: 16.77 kB / 0.8169 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.009139, allocations: 4.078 kB / 0.8169 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.751e-05/0.009197, allocations: 17.16 kB / 0.8169 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.009208, allocations: 3.984 kB / 0.8169 GB, free: 11.98 MB / 0.7761 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 7.312e-05/0.009281, allocations: 165.4 kB / 0.8171 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.009297, allocations: 11.95 kB / 0.8171 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.009322, allocations: 18.11 kB / 0.8171 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.009334, allocations: 7.984 kB / 0.8171 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.009337, allocations: 3.938 kB / 0.8171 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.00934, allocations: 1.188 kB / 0.8171 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.009443, allocations: 144.5 kB / 0.8173 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.009445, allocations: 0 / 0.8173 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.542e-05/0.00949, allocations: 18.39 kB / 0.8173 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.009492, allocations: 0 / 0.8173 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.009502, allocations: 3.984 kB / 0.8173 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.009504, allocations: 0 / 0.8173 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.009505, allocations: 0 / 0.8173 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.009639, allocations: 128.2 kB / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.305e-05/0.009652, allocations: 11.89 kB / 0.8174 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.009671, allocations: 5 kB / 0.8174 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.317e-05/0.009714, allocations: 7.984 kB / 0.8174 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.009764, allocations: 17.03 kB / 0.8175 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.009772, allocations: 4 kB / 0.8175 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.191e-05/0.009824, allocations: 144.9 kB / 0.8176 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.009824, allocations: 1.094 kB / 0.8176 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001693/0.009993, allocations: 39.98 kB / 0.8176 GB, free: 11.21 MB / 0.7761 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.0001388/0.01013, allocations: 116.3 kB / 0.8178 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001607/0.01029, allocations: 136.7 kB / 0.8179 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01029, allocations: 4.906 kB / 0.8179 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.567e-05/0.01034, allocations: 27.66 kB / 0.8179 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.0105, allocations: 20.42 kB / 0.8179 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005537/0.01106, allocations: 218.3 kB / 0.8181 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.38e-05/0.01109, allocations: 63.34 kB / 0.8182 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.315e-05/0.01114, allocations: 12.77 kB / 0.8182 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/0.01118, allocations: 17.14 kB / 0.8182 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of SimCode: time 8.31e-07/0.01118, allocations: 0 / 0.8182 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of Templates: time 0.003319/0.0145, allocations: 1.608 MB / 0.8198 GB, free: 8.957 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.008988251909614]