Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.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.001283/0.001283, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.00145/0.00145, allocations: 169 kB / 24.28 MB, free: 276 kB / 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 1.004/1.004, allocations: 177.1 MB / 204.6 MB, free: 5.648 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.894/1.894, allocations: 377.8 MB / 0.6239 GB, free: 8.547 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.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|numReq.u.[0-9,]+.|numReq.y",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|numReq.u.[0-9,]+.|numReq.y",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.8115 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.673e-05, allocations: 3.828 kB / 0.8115 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001997/0.002024, allocations: 1.534 MB / 0.813 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0006851/0.002709, allocations: 0.5051 MB / 0.8135 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.04e-05/0.002769, allocations: 3.938 kB / 0.8135 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 9.388e-05/0.002863, allocations: 3.938 kB / 0.8135 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.179e-05/0.002915, allocations: 21.33 kB / 0.8135 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.003158, allocations: 51.81 kB / 0.8135 GB, free: 0 / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.003325, allocations: 99.75 kB / 0.8136 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.212e-05/0.003418, allocations: 5.281 kB / 0.8136 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.00359, allocations: 83.73 kB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.503e-05/0.003655, allocations: 23.97 kB / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.003675, allocations: 9.531 kB / 0.8138 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.209e-05/0.003717, allocations: 19.97 kB / 0.8138 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.808e-05/0.003755, allocations: 11.94 kB / 0.8138 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.959e-05/0.003805, allocations: 31.91 kB / 0.8138 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.003947, allocations: 78.12 kB / 0.8139 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.003949, allocations: 0 / 0.8139 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.12e-07/0.00395, allocations: 0 / 0.8139 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.003957, allocations: 4 kB / 0.8139 GB, free: 15.64 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005214/0.004478, allocations: 479.7 kB / 0.8144 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.004511, allocations: 8.562 kB / 0.8144 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.00464, allocations: 25.61 kB / 0.8144 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.004801, allocations: 140.5 kB / 0.8145 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.004819, allocations: 8.906 kB / 0.8145 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.004834, allocations: 9.906 kB / 0.8145 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.005035, allocations: 140.6 kB / 0.8147 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.005041, allocations: 4.188 kB / 0.8147 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.005054, allocations: 4.125 kB / 0.8147 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.005061, allocations: 0.625 kB / 0.8147 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.143e-05/0.005142, allocations: 70.39 kB / 0.8147 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.005496, allocations: 308.4 kB / 0.815 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.005618, allocations: 96.67 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.85e-05/0.005686, allocations: 77.95 kB / 0.8152 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.005699, allocations: 4.75 kB / 0.8152 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.00584, allocations: 126.7 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.005842, allocations: 1.375 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.000318/0.00616, allocations: 266.6 kB / 0.8156 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.006202, allocations: 85.11 kB / 0.8157 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.442e-05/0.006296, allocations: 190.2 kB / 0.8159 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.006314, allocations: 33.7 kB / 0.8159 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.019e-05/0.006374, allocations: 146.8 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.006391, allocations: 19.91 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.006437, allocations: 43.3 kB / 0.8161 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.006545, allocations: 496.9 kB / 0.8166 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.642e-05/0.006622, allocations: 95.38 kB / 0.8167 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.714e-05/0.006689, allocations: 100.2 kB / 0.8167 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.00679, allocations: 136.7 kB / 0.8169 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.006792, allocations: 0 / 0.8169 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002169/0.007009, allocations: 273.6 kB / 0.8171 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.446e-05/0.007053, allocations: 70.05 kB / 0.8172 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.007057, allocations: 0 / 0.8172 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.007068, allocations: 0.9375 kB / 0.8172 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.538e-05/0.007153, allocations: 19.92 kB / 0.8172 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.007158, allocations: 2.219 kB / 0.8172 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.106e-05/0.007219, allocations: 15.98 kB / 0.8172 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.007231, allocations: 8 kB / 0.8172 GB, free: 11.87 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: 6 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.809e-05/0.007319, allocations: 190.3 kB / 0.8174 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.062e-05/0.00734, allocations: 23.06 kB / 0.8175 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.251e-05/0.007362, allocations: 12.78 kB / 0.8175 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.007364, allocations: 0 / 0.8175 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.007367, allocations: 0 / 0.8175 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.007371, allocations: 0 / 0.8175 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.313e-05/0.007454, allocations: 140.9 kB / 0.8176 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.007456, allocations: 4 kB / 0.8176 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.507e-05/0.007491, allocations: 11.92 kB / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.007494, allocations: 4 kB / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.007503, allocations: 1.156 kB / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.007504, allocations: 0 / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.007505, allocations: 0 / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.00772, allocations: 248.2 kB / 0.8179 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.229e-05/0.007732, allocations: 8.391 kB / 0.8179 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.007751, allocations: 4 kB / 0.8179 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.568e-05/0.007807, allocations: 29.45 kB / 0.8179 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.62e-05/0.007903, allocations: 35.95 kB / 0.8179 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.007913, allocations: 4 kB / 0.8179 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.408e-05/0.007967, allocations: 144.1 kB / 0.8181 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.1e-07/0.007967, allocations: 0 / 0.8181 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001482/0.008115, allocations: 24 kB / 0.8181 GB, free: 10.93 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: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 7.963e-05/0.008195, allocations: 108.7 kB / 0.8182 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004364/0.008631, allocations: 295.5 kB / 0.8185 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.008633, allocations: 1.125 kB / 0.8185 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.585e-05/0.008729, allocations: 140.8 kB / 0.8186 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.008889, allocations: 23.25 kB / 0.8186 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005523/0.009442, allocations: 264.3 kB / 0.8189 GB, free: 10 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.185e-05/0.009474, allocations: 59.36 kB / 0.8189 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.156e-05/0.009505, allocations: 5.031 kB / 0.819 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.009544, allocations: 25.08 kB / 0.819 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of SimCode: time 7.51e-07/0.009545, allocations: 0 / 0.819 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of Templates: time 0.003626/0.01317, allocations: 2.057 MB / 0.821 GB, free: 7.875 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_NumberOfRequests.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.1307487019803375]