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.001028/0.001028, allocations: 80.39 kB / 21.47 MB, free: 3.027 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.00163/0.00163, allocations: 172 kB / 24.87 MB, free: 8.875 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.9645/0.9645, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.854/1.854, allocations: 377.9 MB / 0.6247 GB, free: 8.406 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.232e-06/1.232e-06, allocations: 0 / 0.8127 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.832e-05/1.956e-05, allocations: 9.484 kB / 0.8127 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001912/0.001932, allocations: 1.606 MB / 0.8143 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0008632/0.002795, allocations: 0.6246 MB / 0.8149 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.17e-05/0.002856, allocations: 0 / 0.8149 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 9.602e-05/0.002953, allocations: 15.86 kB / 0.8149 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.025e-05/0.002993, allocations: 12.84 kB / 0.8149 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.003354, allocations: 108.5 kB / 0.815 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.003478, allocations: 105.3 kB / 0.8151 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.131e-05/0.003559, allocations: 12.17 kB / 0.8152 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.003693, allocations: 63.86 kB / 0.8152 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.221e-05/0.003756, allocations: 39.89 kB / 0.8153 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.003774, allocations: 8.594 kB / 0.8153 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.003889, allocations: 99.72 kB / 0.8154 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.075e-05/0.00393, allocations: 20.7 kB / 0.8154 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/0.003966, allocations: 27.95 kB / 0.8154 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.004198, allocations: 144.7 kB / 0.8155 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.0042, allocations: 0 / 0.8155 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.41e-07/0.004201, allocations: 0 / 0.8155 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.004205, allocations: 1.375 kB / 0.8155 GB, free: 14.6 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.0004863/0.004691, allocations: 481.8 kB / 0.816 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.004721, allocations: 9.781 kB / 0.816 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001504/0.004871, allocations: 28.88 kB / 0.816 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.005012, allocations: 154.2 kB / 0.8162 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-06/0.005021, allocations: 5.438 kB / 0.8162 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.005033, allocations: 4.375 kB / 0.8162 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.005167, allocations: 86.83 kB / 0.8163 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.005174, allocations: 1.656 kB / 0.8163 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.005184, allocations: 384 / 0.8163 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.005203, allocations: 7.938 kB / 0.8163 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.8e-05/0.005241, allocations: 15.92 kB / 0.8163 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000333/0.005573, allocations: 298.9 kB / 0.8166 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.581e-05/0.005649, allocations: 39.05 kB / 0.8166 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.728e-05/0.005677, allocations: 19.61 kB / 0.8166 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.005691, allocations: 4.062 kB / 0.8167 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001082/0.005799, allocations: 77.56 kB / 0.8167 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.0058, allocations: 0 / 0.8167 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.000188/0.005988, allocations: 90.27 kB / 0.8168 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.00602, allocations: 51.41 kB / 0.8169 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.82e-05/0.006118, allocations: 204.6 kB / 0.8171 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.006133, allocations: 27.36 kB / 0.8171 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.502e-05/0.006198, allocations: 150.8 kB / 0.8172 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.006219, allocations: 31.73 kB / 0.8173 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.006261, allocations: 35.34 kB / 0.8173 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.006386, allocations: 0.4928 MB / 0.8178 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.591e-05/0.006422, allocations: 33.7 kB / 0.8178 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.321e-05/0.006455, allocations: 42.75 kB / 0.8178 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.297e-05/0.006518, allocations: 65.3 kB / 0.8179 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.006521, allocations: 3.938 kB / 0.8179 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001363/0.006657, allocations: 146 kB / 0.8181 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.00668, allocations: 29.7 kB / 0.8181 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.006687, allocations: 4.828 kB / 0.8181 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.246e-06/0.006695, allocations: 4 kB / 0.8181 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.669e-05/0.006772, allocations: 26.14 kB / 0.8181 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.006774, allocations: 0 / 0.8181 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.387e-05/0.006828, allocations: 15.94 kB / 0.8181 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.006838, allocations: 4 kB / 0.8181 GB, free: 11.72 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 8.527e-05/0.006923, allocations: 163.2 kB / 0.8183 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.928e-05/0.006943, allocations: 19.94 kB / 0.8183 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.349e-05/0.006966, allocations: 12.78 kB / 0.8183 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.006975, allocations: 0 / 0.8183 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.006976, allocations: 4 kB / 0.8183 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.00698, allocations: 3.984 kB / 0.8183 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.965e-05/0.00707, allocations: 117.2 kB / 0.8184 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.007071, allocations: 0 / 0.8184 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.911e-05/0.00711, allocations: 17.52 kB / 0.8185 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.007113, allocations: 7.938 kB / 0.8185 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-06/0.00712, allocations: 0 / 0.8185 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.007122, allocations: 3.984 kB / 0.8185 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007123, allocations: 0.5 kB / 0.8185 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.007236, allocations: 117.4 kB / 0.8186 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.567e-05/0.007251, allocations: 19.83 kB / 0.8186 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.007267, allocations: 0 / 0.8186 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.051e-05/0.007307, allocations: 12.7 kB / 0.8186 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.007344, allocations: 17.8 kB / 0.8186 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.00735, allocations: 3.984 kB / 0.8186 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.482e-05/0.007395, allocations: 139.2 kB / 0.8188 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007395, allocations: 0 / 0.8188 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001562/0.007551, allocations: 40 kB / 0.8188 GB, free: 10.98 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.0001042/0.007655, allocations: 120.5 kB / 0.8189 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001275/0.007783, allocations: 133 kB / 0.819 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.007784, allocations: 0.9688 kB / 0.819 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.791e-05/0.007832, allocations: 31.59 kB / 0.8191 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.007978, allocations: 24.52 kB / 0.8191 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004417/0.008419, allocations: 210.5 kB / 0.8193 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.373e-05/0.008453, allocations: 63.34 kB / 0.8194 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.693e-05/0.00849, allocations: 5.688 kB / 0.8194 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.204e-05/0.008562, allocations: 86.19 kB / 0.8194 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of SimCode: time 6.01e-07/0.008563, allocations: 0 / 0.8194 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of Templates: time 0.003068/0.01163, allocations: 1.657 MB / 0.8211 GB, free: 8.617 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.133050772827119]