Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001449/0.001449, allocations: 87.58 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.001015/0.001015, allocations: 161 kB / 23.82 MB, free: 0.75 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.9505/0.9505, allocations: 177.2 MB / 204.2 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.742/1.742, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.Continuous.Examples.NumberOfRequests") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.787 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.647e-05/1.773e-05, allocations: 3.828 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.00185/0.001868, allocations: 1.543 MB / 0.7886 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007211/0.002589, allocations: 0.5042 MB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.374e-05/0.002653, allocations: 7.938 kB / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.002763, allocations: 5.344 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.722e-05/0.002821, allocations: 11.86 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.003121, allocations: 52.94 kB / 0.7891 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000168/0.003289, allocations: 107.7 kB / 0.7892 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.889e-05/0.003378, allocations: 8.172 kB / 0.7892 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.003566, allocations: 72.62 kB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.105e-05/0.003637, allocations: 27.91 kB / 0.7893 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.003661, allocations: 12.89 kB / 0.7893 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.538e-05/0.003707, allocations: 16 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.715e-05/0.003744, allocations: 14.33 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.844e-05/0.003792, allocations: 27.97 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.003935, allocations: 79.78 kB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.003937, allocations: 0 / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.61e-07/0.003938, allocations: 0 / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.003942, allocations: 0 / 0.7895 GB, free: 10.02 MB / 0.7448 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.0005115/0.004453, allocations: 481.5 kB / 0.7899 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.004487, allocations: 8.031 kB / 0.7899 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.004602, allocations: 20.89 kB / 0.79 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.004751, allocations: 140.5 kB / 0.7901 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.004764, allocations: 12.91 kB / 0.7901 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.004778, allocations: 5.094 kB / 0.7901 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.004963, allocations: 148.5 kB / 0.7903 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.00497, allocations: 0.7188 kB / 0.7903 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.004982, allocations: 5.781 kB / 0.7903 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.004989, allocations: 4 kB / 0.7903 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.143e-05/0.00506, allocations: 65.67 kB / 0.7903 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.005404, allocations: 303.7 kB / 0.7906 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.005525, allocations: 101.2 kB / 0.7907 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.438e-05/0.005589, allocations: 77.98 kB / 0.7908 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.005603, allocations: 4.812 kB / 0.7908 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000145/0.005748, allocations: 130.7 kB / 0.7909 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.00575, allocations: 1.156 kB / 0.7909 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0003246/0.006074, allocations: 262.8 kB / 0.7912 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.00612, allocations: 89.09 kB / 0.7913 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.617e-05/0.006216, allocations: 186.4 kB / 0.7914 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.006233, allocations: 33.7 kB / 0.7915 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.27e-05/0.006296, allocations: 146.8 kB / 0.7916 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.006312, allocations: 19.91 kB / 0.7916 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/0.006355, allocations: 41.11 kB / 0.7917 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.006456, allocations: 496.1 kB / 0.7921 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.992e-05/0.006526, allocations: 99.44 kB / 0.7922 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.13e-05/0.006587, allocations: 95.38 kB / 0.7923 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.219e-05/0.006679, allocations: 142.4 kB / 0.7925 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.006681, allocations: 3.938 kB / 0.7925 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000202/0.006883, allocations: 268.3 kB / 0.7927 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.432e-05/0.006918, allocations: 67.39 kB / 0.7928 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.006921, allocations: 2.781 kB / 0.7928 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.006932, allocations: 4 kB / 0.7928 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.944e-05/0.007011, allocations: 11.98 kB / 0.7928 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.007017, allocations: 4.094 kB / 0.7928 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.772e-05/0.007075, allocations: 15.98 kB / 0.7928 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.007087, allocations: 11.98 kB / 0.7928 GB, free: 6.238 MB / 0.7448 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.293e-05/0.00717, allocations: 190.8 kB / 0.793 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.007189, allocations: 24.41 kB / 0.793 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.913e-05/0.007208, allocations: 10.72 kB / 0.793 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.00721, allocations: 3.938 kB / 0.793 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.007214, allocations: 4 kB / 0.7931 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.007217, allocations: 0 / 0.7931 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.752e-05/0.007294, allocations: 132.6 kB / 0.7932 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.007295, allocations: 0 / 0.7932 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.843e-05/0.007324, allocations: 22.52 kB / 0.7932 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.007325, allocations: 0 / 0.7932 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.007334, allocations: 0 / 0.7932 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.007336, allocations: 4 kB / 0.7932 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.007337, allocations: 0 / 0.7932 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.007529, allocations: 243.7 kB / 0.7934 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.367e-06/0.007538, allocations: 7.891 kB / 0.7934 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.007553, allocations: 4.5 kB / 0.7934 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.776e-05/0.007601, allocations: 24.81 kB / 0.7935 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.276e-05/0.007694, allocations: 32.8 kB / 0.7935 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.007704, allocations: 12.06 kB / 0.7935 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.8e-05/0.007752, allocations: 143.1 kB / 0.7937 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007753, allocations: 1.281 kB / 0.7937 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001278/0.00788, allocations: 20 kB / 0.7937 GB, free: 5.301 MB / 0.7448 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.831e-05/0.007959, allocations: 108.1 kB / 0.7938 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002307/0.008189, allocations: 295.5 kB / 0.7941 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.00819, allocations: 1.219 kB / 0.7941 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.008292, allocations: 144.8 kB / 0.7942 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.008435, allocations: 17.3 kB / 0.7942 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005046/0.00894, allocations: 263.1 kB / 0.7945 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.398e-05/0.008974, allocations: 67.28 kB / 0.7945 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.394e-05/0.009008, allocations: 7.984 kB / 0.7945 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.009045, allocations: 22.52 kB / 0.7946 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of SimCode: time 6.61e-07/0.009046, allocations: 0 / 0.7946 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of Templates: time 0.00337/0.01242, allocations: 2.2 MB / 0.7967 GB, free: 2.105 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.7377407741732895]