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.0009857/0.0009857, 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.001448/0.001448, allocations: 169 kB / 23.82 MB, free: 0.7461 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.9336/0.9336, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.817/1.817, allocations: 377.8 MB / 0.6236 GB, free: 8.578 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.392e-06/1.392e-06, allocations: 0 / 0.8115 GB, free: 1.801 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.663e-05/1.802e-05, allocations: 9.312 kB / 0.8115 GB, free: 1.793 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001795/0.001813, allocations: 1.605 MB / 0.8131 GB, free: 200 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007872/0.0026, allocations: 0.6254 MB / 0.8137 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.078e-05/0.002661, allocations: 0 / 0.8137 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.002769, allocations: 13.55 kB / 0.8137 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.488e-05/0.002814, allocations: 23.8 kB / 0.8137 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.003204, allocations: 113.1 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.003328, allocations: 95.64 kB / 0.8139 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.731e-05/0.003415, allocations: 12.22 kB / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.003557, allocations: 67.81 kB / 0.814 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.277e-05/0.00362, allocations: 40.38 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.00364, allocations: 4.906 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.003753, allocations: 95.91 kB / 0.8141 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.935e-05/0.003793, allocations: 20.53 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.896e-05/0.003832, allocations: 23.92 kB / 0.8142 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.004012, allocations: 157 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.004014, allocations: 0 / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.61e-07/0.004014, allocations: 4 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.798e-06/0.004018, allocations: 0 / 0.8143 GB, free: 14.91 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.0004527/0.004471, allocations: 478.5 kB / 0.8148 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.801e-05/0.004499, allocations: 8.562 kB / 0.8148 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.004654, allocations: 34.48 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.004807, allocations: 140.4 kB / 0.8149 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.004819, allocations: 8.375 kB / 0.815 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.004834, allocations: 4.953 kB / 0.815 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.004991, allocations: 87.58 kB / 0.815 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.005003, allocations: 4.125 kB / 0.815 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.005013, allocations: 1.062 kB / 0.8151 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.005038, allocations: 7.938 kB / 0.8151 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.497e-05/0.005093, allocations: 32.88 kB / 0.8151 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003805/0.005473, allocations: 317.1 kB / 0.8154 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.981e-05/0.005553, allocations: 39.05 kB / 0.8154 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.299e-05/0.005596, allocations: 23.61 kB / 0.8155 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.005613, allocations: 5.75 kB / 0.8155 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001071/0.00572, allocations: 81.03 kB / 0.8155 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.005721, allocations: 0 / 0.8155 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0001981/0.005919, allocations: 93.61 kB / 0.8156 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.005948, allocations: 59.41 kB / 0.8157 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.898e-05/0.006037, allocations: 193.8 kB / 0.8159 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.00605, allocations: 29.7 kB / 0.8159 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.592e-05/0.006106, allocations: 150.8 kB / 0.816 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.006124, allocations: 27.8 kB / 0.8161 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.006164, allocations: 35.36 kB / 0.8161 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.917e-05/0.006264, allocations: 0.4922 MB / 0.8166 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.755e-05/0.006311, allocations: 44.62 kB / 0.8166 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.791e-05/0.006349, allocations: 45.69 kB / 0.8167 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.147e-05/0.006421, allocations: 69.31 kB / 0.8167 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.006422, allocations: 0 / 0.8167 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001433/0.006566, allocations: 145.1 kB / 0.8169 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.006591, allocations: 37.7 kB / 0.8169 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.006596, allocations: 0 / 0.8169 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.006609, allocations: 1.438 kB / 0.8169 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.055e-05/0.00669, allocations: 15.98 kB / 0.8169 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.006695, allocations: 4.062 kB / 0.8169 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.413e-05/0.006749, allocations: 24.44 kB / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.006759, allocations: 4 kB / 0.817 GB, free: 11.97 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 6.694e-05/0.006825, allocations: 169.1 kB / 0.8171 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.467e-05/0.00684, allocations: 12.5 kB / 0.8171 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.42e-05/0.006864, allocations: 13.44 kB / 0.8171 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.006874, allocations: 8 kB / 0.8171 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.006878, allocations: 5.281 kB / 0.8172 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.006882, allocations: 3.984 kB / 0.8172 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003338/0.007216, allocations: 144.5 kB / 0.8173 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.007217, allocations: 2.562 kB / 0.8173 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.69e-05/0.007254, allocations: 11.98 kB / 0.8173 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.007255, allocations: 4 kB / 0.8173 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.007263, allocations: 0 / 0.8173 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.007264, allocations: 0 / 0.8173 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.007264, allocations: 0 / 0.8173 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.007385, allocations: 120.2 kB / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.076e-05/0.007396, allocations: 8.484 kB / 0.8174 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.007414, allocations: 8.797 kB / 0.8174 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.08e-05/0.007455, allocations: 8 kB / 0.8174 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.007507, allocations: 12.91 kB / 0.8175 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.007515, allocations: 4 kB / 0.8175 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.726e-05/0.007562, allocations: 150.2 kB / 0.8176 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007562, allocations: 3.938 kB / 0.8176 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001527/0.007715, allocations: 39.92 kB / 0.8177 GB, free: 11.2 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.0001182/0.007833, allocations: 128 kB / 0.8178 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001531/0.007986, allocations: 133.5 kB / 0.8179 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.007987, allocations: 0 / 0.8179 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.598e-05/0.008033, allocations: 35.48 kB / 0.8179 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.008177, allocations: 19.98 kB / 0.818 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004931/0.00867, allocations: 210.8 kB / 0.8182 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.343e-05/0.008703, allocations: 71.33 kB / 0.8182 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.182e-05/0.008745, allocations: 13.28 kB / 0.8182 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.008779, allocations: 17.53 kB / 0.8183 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of SimCode: time 4.51e-07/0.00878, allocations: 0 / 0.8183 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of Templates: time 0.002851/0.01163, allocations: 1.497 MB / 0.8197 GB, free: 9.051 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: 4.923533066175878]