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.001232/0.001232, 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.001456/0.001456, allocations: 161 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 1.033/1.033, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.825/1.825, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 177] 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 2.444e-06/2.444e-06, allocations: 0 / 0.787 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.549e-05/3.793e-05, allocations: 9.062 kB / 0.787 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003532/0.00357, allocations: 1.532 MB / 0.7885 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.004634, allocations: 0.5091 MB / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.337e-05/0.004718, allocations: 0 / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.004835, allocations: 11.88 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.257e-05/0.004917, allocations: 21.03 kB / 0.7891 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.005257, allocations: 47.81 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.005465, allocations: 109.5 kB / 0.7892 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.005573, allocations: 8.188 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002469/0.00582, allocations: 67.86 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.82e-05/0.005918, allocations: 35.89 kB / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/0.005947, allocations: 8.812 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.662e-05/0.006003, allocations: 12 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.39e-05/0.006057, allocations: 12.98 kB / 0.7894 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.894e-05/0.006126, allocations: 31.97 kB / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.006332, allocations: 83.72 kB / 0.7895 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.006336, allocations: 1.406 kB / 0.7895 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.102e-06/0.006337, allocations: 0 / 0.7895 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.006343, allocations: 0 / 0.7895 GB, free: 10.07 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.0007413/0.007085, allocations: 477.3 kB / 0.7899 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.007131, allocations: 8.031 kB / 0.7899 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.00731, allocations: 24.89 kB / 0.79 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.007527, allocations: 142.1 kB / 0.7901 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.007543, allocations: 4.375 kB / 0.7901 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.007565, allocations: 8.312 kB / 0.7901 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.007844, allocations: 140.6 kB / 0.7902 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.007856, allocations: 2.812 kB / 0.7902 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.007873, allocations: 12.06 kB / 0.7902 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.007883, allocations: 4 kB / 0.7903 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.007996, allocations: 65.66 kB / 0.7903 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004941/0.008491, allocations: 311.7 kB / 0.7906 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.008672, allocations: 88.75 kB / 0.7907 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.749e-05/0.008769, allocations: 78.11 kB / 0.7908 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.008791, allocations: 9.594 kB / 0.7908 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.009013, allocations: 130.7 kB / 0.7909 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 2.044e-06/0.009015, allocations: 4 kB / 0.7909 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0004506/0.009465, allocations: 262.7 kB / 0.7912 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.009516, allocations: 78.86 kB / 0.7912 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.009648, allocations: 197.1 kB / 0.7914 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.00967, allocations: 29.7 kB / 0.7915 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.983e-05/0.00975, allocations: 146.8 kB / 0.7916 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.009775, allocations: 19.84 kB / 0.7916 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-05/0.009842, allocations: 35.86 kB / 0.7916 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.01, allocations: 497.2 kB / 0.7921 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.01012, allocations: 95.38 kB / 0.7922 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.612e-05/0.01021, allocations: 95.38 kB / 0.7923 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.01036, allocations: 142.7 kB / 0.7924 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.01036, allocations: 0 / 0.7924 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003249/0.01069, allocations: 272.3 kB / 0.7927 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.729e-05/0.01074, allocations: 69.42 kB / 0.7928 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01075, allocations: 0 / 0.7928 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.01077, allocations: 2.031 kB / 0.7928 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.01089, allocations: 15.98 kB / 0.7928 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.0109, allocations: 160 / 0.7928 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.044e-05/0.01099, allocations: 19.98 kB / 0.7928 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.011, allocations: 7.984 kB / 0.7928 GB, free: 6.312 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 0.0001279/0.01113, allocations: 199.3 kB / 0.793 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.01117, allocations: 23.89 kB / 0.793 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.36e-05/0.0112, allocations: 9.5 kB / 0.793 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.0112, allocations: 0 / 0.793 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.01121, allocations: 4.469 kB / 0.793 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.01121, allocations: 5.5 kB / 0.793 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.01133, allocations: 136.9 kB / 0.7932 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01133, allocations: 0 / 0.7932 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.437e-05/0.01139, allocations: 19.92 kB / 0.7932 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.01139, allocations: 4.516 kB / 0.7932 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.0114, allocations: 1.375 kB / 0.7932 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01141, allocations: 0 / 0.7932 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.01141, allocations: 4 kB / 0.7932 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.01171, allocations: 239.8 kB / 0.7934 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.509e-05/0.01173, allocations: 9.047 kB / 0.7934 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.01176, allocations: 15.92 kB / 0.7934 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.186e-05/0.01184, allocations: 17.36 kB / 0.7935 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.01197, allocations: 35.95 kB / 0.7935 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.01199, allocations: 4 kB / 0.7935 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.042e-05/0.01206, allocations: 143.1 kB / 0.7936 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01206, allocations: 0.9062 kB / 0.7936 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002328/0.01229, allocations: 24 kB / 0.7937 GB, free: 5.359 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 0.0001176/0.01241, allocations: 104.1 kB / 0.7938 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003349/0.01274, allocations: 296.9 kB / 0.794 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01274, allocations: 0 / 0.794 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.01289, allocations: 148.7 kB / 0.7942 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.01313, allocations: 16.55 kB / 0.7942 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007583/0.01389, allocations: 254.7 kB / 0.7944 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.759e-05/0.01394, allocations: 65.41 kB / 0.7945 GB, free: 4.359 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.814e-05/0.01398, allocations: 12.33 kB / 0.7945 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/0.01403, allocations: 16.5 kB / 0.7945 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of SimCode: time 8.61e-07/0.01403, allocations: 0 / 0.7945 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of Templates: time 0.005407/0.01944, allocations: 2.071 MB / 0.7966 GB, free: 2.309 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: 5.442312778905034]