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.0009964/0.0009964, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009837/0.0009837, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9431/0.9431, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.832/1.832, allocations: 377.8 MB / 0.6236 GB, free: 8.559 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.383e-06/1.383e-06, allocations: 0 / 0.8115 GB, free: 1.781 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.123e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.773 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001833/0.001855, allocations: 1.542 MB / 0.813 GB, free: 248 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007534/0.002608, allocations: 0.5092 MB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.239e-05/0.00267, allocations: 4 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 9.748e-05/0.002768, allocations: 7.875 kB / 0.8135 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.101e-05/0.002819, allocations: 9.281 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.003079, allocations: 55.8 kB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.003235, allocations: 104.4 kB / 0.8137 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.833e-05/0.003323, allocations: 8.172 kB / 0.8137 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.003498, allocations: 68.78 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.856e-05/0.003566, allocations: 31.89 kB / 0.8138 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.003587, allocations: 8.656 kB / 0.8138 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4e-05/0.003627, allocations: 12 kB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.874e-05/0.003666, allocations: 21.16 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.541e-05/0.003711, allocations: 27.98 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.003851, allocations: 79.72 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.003853, allocations: 1.094 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003853, allocations: 0 / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.003857, allocations: 0 / 0.8139 GB, free: 15.3 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.0005132/0.00437, allocations: 480.2 kB / 0.8144 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.004408, allocations: 12.62 kB / 0.8144 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.004536, allocations: 26.12 kB / 0.8144 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.00471, allocations: 136.5 kB / 0.8145 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.004722, allocations: 4.375 kB / 0.8145 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.004739, allocations: 10.59 kB / 0.8146 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.004949, allocations: 144.6 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.004957, allocations: 4.125 kB / 0.8147 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.004971, allocations: 4.125 kB / 0.8147 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.004981, allocations: 7.984 kB / 0.8147 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.496e-05/0.005056, allocations: 66.42 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/0.005419, allocations: 303.7 kB / 0.8151 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.005531, allocations: 94.02 kB / 0.8151 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.148e-05/0.005593, allocations: 81.38 kB / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.005607, allocations: 0.6562 kB / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/0.005749, allocations: 134.7 kB / 0.8154 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.005751, allocations: 0.7188 kB / 0.8154 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0002997/0.00605, allocations: 262.7 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.006096, allocations: 93.53 kB / 0.8157 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.73e-05/0.006183, allocations: 183.3 kB / 0.8159 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.006199, allocations: 33.7 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/0.006254, allocations: 138.8 kB / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.006271, allocations: 23.83 kB / 0.8161 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.006313, allocations: 36.91 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.00642, allocations: 0.4923 MB / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.034e-05/0.006491, allocations: 91.38 kB / 0.8167 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.256e-05/0.006553, allocations: 99.31 kB / 0.8168 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.194e-05/0.006645, allocations: 138.6 kB / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.006647, allocations: 0 / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000217/0.006864, allocations: 276.3 kB / 0.8171 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.083e-05/0.006905, allocations: 63.41 kB / 0.8172 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.00691, allocations: 160 / 0.8172 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.006926, allocations: 9.141 kB / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.932e-05/0.007006, allocations: 8 kB / 0.8172 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.007011, allocations: 3.984 kB / 0.8172 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.189e-05/0.007073, allocations: 21.36 kB / 0.8173 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.007085, allocations: 8.234 kB / 0.8173 GB, free: 11.53 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 9.412e-05/0.007179, allocations: 198.8 kB / 0.8174 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/0.0072, allocations: 20.42 kB / 0.8175 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.45e-05/0.007224, allocations: 12.77 kB / 0.8175 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.007227, allocations: 4.531 kB / 0.8175 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.007231, allocations: 4.844 kB / 0.8175 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.007234, allocations: 0 / 0.8175 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.958e-05/0.007324, allocations: 133.5 kB / 0.8176 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.007325, allocations: 0 / 0.8176 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.03e-05/0.007355, allocations: 16.45 kB / 0.8176 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.007356, allocations: 0 / 0.8176 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.007369, allocations: 5.375 kB / 0.8176 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.007372, allocations: 4 kB / 0.8176 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.007372, allocations: 0 / 0.8176 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.007584, allocations: 243.7 kB / 0.8179 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.262e-05/0.007597, allocations: 12.8 kB / 0.8179 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.007612, allocations: 0 / 0.8179 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.854e-05/0.00766, allocations: 16.83 kB / 0.8179 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.523e-05/0.007755, allocations: 37.3 kB / 0.8179 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.007766, allocations: 11.98 kB / 0.8179 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.215e-05/0.007818, allocations: 144.8 kB / 0.8181 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007818, allocations: 0 / 0.8181 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000131/0.007949, allocations: 20.5 kB / 0.8181 GB, free: 10.59 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 6.854e-05/0.008018, allocations: 103.9 kB / 0.8182 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.008241, allocations: 297.3 kB / 0.8185 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-06/0.008242, allocations: 0 / 0.8185 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.008345, allocations: 148.7 kB / 0.8186 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.008494, allocations: 16.86 kB / 0.8186 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005649/0.009058, allocations: 255.9 kB / 0.8189 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.358e-05/0.009092, allocations: 59.38 kB / 0.8189 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.179e-05/0.009124, allocations: 7.984 kB / 0.819 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.681e-05/0.009161, allocations: 16.5 kB / 0.819 GB, free: 9.566 MB / 0.7761 GB Notification: Performance of SimCode: time 4.31e-07/0.009161, allocations: 0.5312 kB / 0.819 GB, free: 9.566 MB / 0.7761 GB Notification: Performance of Templates: time 0.003297/0.01246, allocations: 2.066 MB / 0.821 GB, free: 7.547 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.001357941888273]