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.0009962/0.0009962, allocations: 80.3 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.0009656/0.0009656, allocations: 168.2 kB / 24.87 MB, free: 8.859 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.9885/0.9885, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.886/1.886, 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.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.453e-06/1.453e-06, allocations: 0.6562 kB / 0.8127 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.464e-05/1.609e-05, allocations: 2.312 kB / 0.8127 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.00185/0.001866, allocations: 1.531 MB / 0.8142 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0006844/0.002551, allocations: 0.5043 MB / 0.8147 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.512e-05/0.002616, allocations: 2.406 kB / 0.8147 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 9.779e-05/0.002714, allocations: 7.875 kB / 0.8147 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.2e-05/0.002766, allocations: 23.84 kB / 0.8148 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.003, allocations: 47.77 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.003136, allocations: 103.7 kB / 0.8149 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.721e-05/0.003213, allocations: 9.125 kB / 0.8149 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.003376, allocations: 63.88 kB / 0.815 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003261/0.003702, allocations: 36.8 kB / 0.815 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.003721, allocations: 8 kB / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 3.989e-05/0.003761, allocations: 17.02 kB / 0.815 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.168e-05/0.003792, allocations: 11.94 kB / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.083e-05/0.003833, allocations: 35.91 kB / 0.8151 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.003958, allocations: 81.17 kB / 0.8151 GB, free: 15 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.003959, allocations: 0 / 0.8151 GB, free: 15 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.62e-07/0.00396, allocations: 0 / 0.8151 GB, free: 15 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.003964, allocations: 0 / 0.8151 GB, free: 15 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.0004448/0.004409, allocations: 485.5 kB / 0.8156 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.004441, allocations: 8.031 kB / 0.8156 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.004553, allocations: 20.89 kB / 0.8156 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.004696, allocations: 143.4 kB / 0.8158 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.004708, allocations: 4.375 kB / 0.8158 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.004721, allocations: 8.375 kB / 0.8158 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.004878, allocations: 128.6 kB / 0.8159 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.004884, allocations: 1.156 kB / 0.8159 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.004896, allocations: 8.125 kB / 0.8159 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.004902, allocations: 0 / 0.8159 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.095e-05/0.004953, allocations: 58.16 kB / 0.816 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002774/0.00523, allocations: 280.9 kB / 0.8162 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.449e-05/0.005325, allocations: 89.83 kB / 0.8163 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.569e-05/0.00537, allocations: 57.5 kB / 0.8164 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.005383, allocations: 4.594 kB / 0.8164 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001254/0.005508, allocations: 118.6 kB / 0.8165 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.00551, allocations: 0.5312 kB / 0.8165 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0002616/0.005771, allocations: 240.1 kB / 0.8167 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.005809, allocations: 85.11 kB / 0.8168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.154e-05/0.00589, allocations: 191.4 kB / 0.817 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.005905, allocations: 30.86 kB / 0.817 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.005957, allocations: 146.8 kB / 0.8172 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.005972, allocations: 19.83 kB / 0.8172 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.301e-05/0.006015, allocations: 39.36 kB / 0.8172 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.006121, allocations: 0.4892 MB / 0.8177 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.158e-05/0.006173, allocations: 83.38 kB / 0.8178 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.818e-05/0.006221, allocations: 84.17 kB / 0.8179 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.979e-05/0.006301, allocations: 132.8 kB / 0.818 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.006303, allocations: 1.281 kB / 0.818 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001912/0.006494, allocations: 264.3 kB / 0.8182 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/0.006528, allocations: 63.39 kB / 0.8183 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.006532, allocations: 0.8438 kB / 0.8183 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.735e-06/0.00654, allocations: 3.938 kB / 0.8183 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.48e-05/0.006604, allocations: 12.95 kB / 0.8183 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.285e-06/0.006607, allocations: 4 kB / 0.8183 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.173e-05/0.006668, allocations: 21.45 kB / 0.8183 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.006678, allocations: 0 / 0.8183 GB, free: 11.4 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 7.98e-05/0.006757, allocations: 198.3 kB / 0.8185 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.006775, allocations: 25.11 kB / 0.8186 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.048e-05/0.006796, allocations: 8.781 kB / 0.8186 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.006797, allocations: 4 kB / 0.8186 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.006799, allocations: 0 / 0.8186 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.006803, allocations: 3.062 kB / 0.8186 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.126e-05/0.006874, allocations: 117.2 kB / 0.8187 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.006875, allocations: 256 / 0.8187 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.882e-05/0.006904, allocations: 15.98 kB / 0.8187 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.82e-07/0.006904, allocations: 0 / 0.8187 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.006913, allocations: 3.938 kB / 0.8187 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.006914, allocations: 160 / 0.8187 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.006914, allocations: 4 kB / 0.8187 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.007089, allocations: 224.2 kB / 0.8189 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.309e-05/0.007102, allocations: 13.16 kB / 0.8189 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.007118, allocations: 7.938 kB / 0.8189 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.822e-05/0.007166, allocations: 16.95 kB / 0.819 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.007238, allocations: 31.91 kB / 0.819 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.007246, allocations: 7.984 kB / 0.819 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.177e-05/0.007288, allocations: 147.3 kB / 0.8191 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007288, allocations: 0 / 0.8191 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001333/0.007421, allocations: 20 kB / 0.8192 GB, free: 10.5 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.946e-05/0.007491, allocations: 108.3 kB / 0.8193 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001892/0.00768, allocations: 271.5 kB / 0.8195 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.007681, allocations: 0.6562 kB / 0.8195 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.019e-05/0.007761, allocations: 132.7 kB / 0.8196 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.007903, allocations: 22.58 kB / 0.8197 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000421/0.008324, allocations: 239.3 kB / 0.8199 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.894e-05/0.008353, allocations: 59.36 kB / 0.8199 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.602e-05/0.008379, allocations: 4 kB / 0.82 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.895e-05/0.008468, allocations: 98.19 kB / 0.82 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of SimCode: time 6.21e-07/0.008468, allocations: 3.938 kB / 0.82 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of Templates: time 0.003634/0.0121, allocations: 2.28 MB / 0.8223 GB, free: 7.227 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: 4.943332392722368]