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.001186/0.001186, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001317/0.001317, allocations: 167 kB / 24.86 MB, free: 8.836 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.037/1.037, allocations: 177.1 MB / 205.3 MB, free: 5.117 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.926/1.926, allocations: 359 MB / 0.6063 GB, free: 10.92 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.064e-06/2.064e-06, allocations: 0 / 0.7883 GB, free: 12.28 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.046e-05/3.252e-05, allocations: 4.984 kB / 0.7883 GB, free: 12.28 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002291/0.002324, allocations: 1.524 MB / 0.7898 GB, free: 10.76 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.0007774/0.003101, allocations: 0.5098 MB / 0.7902 GB, free: 10.25 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.735e-05/0.003168, allocations: 0 / 0.7902 GB, free: 10.25 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.003284, allocations: 11.88 kB / 0.7903 GB, free: 10.23 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 5.38e-05/0.003338, allocations: 19.8 kB / 0.7903 GB, free: 10.21 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.003587, allocations: 45.09 kB / 0.7903 GB, free: 10.17 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.003745, allocations: 99.75 kB / 0.7904 GB, free: 10.07 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 9.508e-05/0.00384, allocations: 12.17 kB / 0.7904 GB, free: 10.06 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.004019, allocations: 72.44 kB / 0.7905 GB, free: 9.992 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 8.765e-05/0.004106, allocations: 33.3 kB / 0.7905 GB, free: 9.961 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.004133, allocations: 12 kB / 0.7905 GB, free: 9.949 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 5.174e-05/0.004184, allocations: 11.98 kB / 0.7906 GB, free: 9.938 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 4.358e-05/0.004228, allocations: 11.94 kB / 0.7906 GB, free: 9.926 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 6.318e-05/0.004291, allocations: 36.75 kB / 0.7906 GB, free: 9.891 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.004451, allocations: 75.78 kB / 0.7907 GB, free: 9.816 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.004453, allocations: 0.5625 kB / 0.7907 GB, free: 9.816 MB / 0.7449 GB Notification: Performance of FrontEnd: time 8.12e-07/0.004454, allocations: 0.6875 kB / 0.7907 GB, free: 9.816 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.004458, allocations: 3.938 kB / 0.7907 GB, free: 9.812 MB / 0.7449 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.0004924/0.004951, allocations: 484.5 kB / 0.7911 GB, free: 9.293 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.004986, allocations: 8.688 kB / 0.7911 GB, free: 9.285 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.005113, allocations: 20.89 kB / 0.7912 GB, free: 9.266 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.005317, allocations: 137.5 kB / 0.7913 GB, free: 9.105 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.005331, allocations: 4.375 kB / 0.7913 GB, free: 9.102 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.005348, allocations: 19.61 kB / 0.7913 GB, free: 9.086 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.005527, allocations: 124.6 kB / 0.7914 GB, free: 8.949 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.005534, allocations: 192 / 0.7914 GB, free: 8.949 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.005548, allocations: 8.125 kB / 0.7914 GB, free: 8.941 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.005553, allocations: 0 / 0.7914 GB, free: 8.941 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.206e-05/0.005625, allocations: 57.62 kB / 0.7915 GB, free: 8.879 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000305/0.00593, allocations: 284.4 kB / 0.7918 GB, free: 8.574 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 9.978e-05/0.006029, allocations: 85.45 kB / 0.7919 GB, free: 8.473 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.356e-05/0.006113, allocations: 57.5 kB / 0.7919 GB, free: 8.406 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.006127, allocations: 5.656 kB / 0.7919 GB, free: 8.402 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/0.006268, allocations: 118.6 kB / 0.792 GB, free: 8.266 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.006269, allocations: 0 / 0.792 GB, free: 8.266 MB / 0.7449 GB Notification: Performance of matching and sorting (n=6): time 0.0002677/0.006536, allocations: 238.7 kB / 0.7923 GB, free: 8.008 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.006581, allocations: 86.45 kB / 0.7923 GB, free: 7.906 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.815e-05/0.00667, allocations: 188.4 kB / 0.7925 GB, free: 7.707 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.006684, allocations: 29.7 kB / 0.7925 GB, free: 7.672 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/0.006745, allocations: 146.8 kB / 0.7927 GB, free: 7.523 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 1.541e-05/0.00676, allocations: 21.42 kB / 0.7927 GB, free: 7.504 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.006892, allocations: 39.36 kB / 0.7927 GB, free: 7.457 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.007013, allocations: 0.4923 MB / 0.7932 GB, free: 6.953 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.452e-05/0.007068, allocations: 83.33 kB / 0.7933 GB, free: 6.859 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.431e-05/0.007122, allocations: 81.05 kB / 0.7934 GB, free: 6.77 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.165e-05/0.007214, allocations: 140.7 kB / 0.7935 GB, free: 6.609 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.007216, allocations: 4 kB / 0.7935 GB, free: 6.605 MB / 0.7449 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001981/0.007414, allocations: 256.3 kB / 0.7938 GB, free: 6.324 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 4.393e-05/0.007458, allocations: 66.36 kB / 0.7938 GB, free: 6.25 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.007463, allocations: 0 / 0.7938 GB, free: 6.25 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.745e-06/0.007471, allocations: 0 / 0.7938 GB, free: 6.25 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.251e-05/0.007543, allocations: 16.77 kB / 0.7938 GB, free: 6.234 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-06/0.007546, allocations: 0.5312 kB / 0.7938 GB, free: 6.234 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.247e-05/0.007609, allocations: 25.11 kB / 0.7939 GB, free: 6.211 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.007619, allocations: 0 / 0.7939 GB, free: 6.211 MB / 0.7449 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.000104/0.007723, allocations: 198.8 kB / 0.7941 GB, free: 6 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.007742, allocations: 20.42 kB / 0.7941 GB, free: 5.98 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.51e-05/0.007767, allocations: 12.78 kB / 0.7941 GB, free: 5.973 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.007768, allocations: 1.375 kB / 0.7941 GB, free: 5.973 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.00777, allocations: 0 / 0.7941 GB, free: 5.973 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.007774, allocations: 3.938 kB / 0.7941 GB, free: 5.969 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.503e-05/0.007859, allocations: 118.4 kB / 0.7942 GB, free: 5.828 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.00786, allocations: 0 / 0.7942 GB, free: 5.828 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.978e-05/0.00789, allocations: 11.98 kB / 0.7942 GB, free: 5.816 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.007892, allocations: 0.9375 kB / 0.7942 GB, free: 5.816 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.966e-06/0.007901, allocations: 3.938 kB / 0.7942 GB, free: 5.812 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.007903, allocations: 4 kB / 0.7942 GB, free: 5.809 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.007904, allocations: 1.594 kB / 0.7942 GB, free: 5.809 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003931/0.008297, allocations: 223.8 kB / 0.7944 GB, free: 5.555 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 1.324e-05/0.00831, allocations: 7.938 kB / 0.7944 GB, free: 5.547 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.008329, allocations: 7.938 kB / 0.7945 GB, free: 5.539 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.37e-05/0.008382, allocations: 17.33 kB / 0.7945 GB, free: 5.523 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.36e-05/0.008466, allocations: 27.97 kB / 0.7945 GB, free: 5.496 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.008479, allocations: 11.98 kB / 0.7945 GB, free: 5.484 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 5.393e-05/0.008533, allocations: 144 kB / 0.7946 GB, free: 5.344 MB / 0.7449 GB Notification: Performance of sort global known variables: time 6e-08/0.008533, allocations: 3.938 kB / 0.7947 GB, free: 5.34 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0001292/0.008663, allocations: 22.31 kB / 0.7947 GB, free: 5.32 MB / 0.7449 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 8.552e-05/0.008748, allocations: 103.2 kB / 0.7948 GB, free: 5.207 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.000205/0.008953, allocations: 267.5 kB / 0.795 GB, free: 4.898 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 9.22e-07/0.008954, allocations: 0 / 0.795 GB, free: 4.898 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 9.369e-05/0.009048, allocations: 140.7 kB / 0.7952 GB, free: 4.738 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.00921, allocations: 23.67 kB / 0.7952 GB, free: 4.719 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004751/0.009685, allocations: 244.3 kB / 0.7954 GB, free: 4.441 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.467e-05/0.00972, allocations: 63.34 kB / 0.7955 GB, free: 4.359 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 2.877e-05/0.009748, allocations: 1.156 kB / 0.7955 GB, free: 4.359 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.442e-05/0.009843, allocations: 98.75 kB / 0.7956 GB, free: 4.262 MB / 0.7449 GB Notification: Performance of SimCode: time 5.41e-07/0.009843, allocations: 0 / 0.7956 GB, free: 4.262 MB / 0.7449 GB Notification: Performance of Templates: time 0.003791/0.01363, allocations: 2.286 MB / 0.7978 GB, free: 2.027 MB / 0.7449 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.379223163239658]