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.001501/0.001501, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001188/0.001188, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.004/1.004, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.796/1.796, allocations: 359 MB / 0.6055 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.023e-06/2.023e-06, allocations: 0 / 0.7871 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.214e-05/3.416e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.00219/0.002224, allocations: 1.526 MB / 0.7885 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007634/0.002987, allocations: 0.5128 MB / 0.789 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.875e-05/0.003066, allocations: 0 / 0.789 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.003188, allocations: 7.875 kB / 0.7891 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.31e-05/0.003251, allocations: 21.47 kB / 0.7891 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002958/0.003547, allocations: 43.89 kB / 0.7891 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.003727, allocations: 107.7 kB / 0.7892 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.003846, allocations: 13.34 kB / 0.7892 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.004055, allocations: 67.86 kB / 0.7893 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.954e-05/0.004135, allocations: 31.91 kB / 0.7893 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.004161, allocations: 8.625 kB / 0.7893 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.745e-05/0.004209, allocations: 15.98 kB / 0.7894 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.149e-05/0.00425, allocations: 9.406 kB / 0.7894 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.046e-05/0.004311, allocations: 39.89 kB / 0.7894 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.004483, allocations: 75.78 kB / 0.7895 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.004487, allocations: 0.8438 kB / 0.7895 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.472e-06/0.004488, allocations: 3.938 kB / 0.7895 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.922e-06/0.004494, allocations: 0 / 0.7895 GB, free: 10.38 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.0006242/0.005118, allocations: 476.9 kB / 0.7899 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.005166, allocations: 12.03 kB / 0.7899 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.00533, allocations: 17.8 kB / 0.79 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.005539, allocations: 140.5 kB / 0.7901 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.005555, allocations: 5.031 kB / 0.7901 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.005572, allocations: 10.03 kB / 0.7901 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.005805, allocations: 136.6 kB / 0.7902 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.005816, allocations: 8.172 kB / 0.7902 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.005832, allocations: 12.12 kB / 0.7903 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.00584, allocations: 1.594 kB / 0.7903 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.855e-05/0.005919, allocations: 69.61 kB / 0.7903 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.006336, allocations: 311.6 kB / 0.7906 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.00648, allocations: 93.67 kB / 0.7907 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.143e-05/0.006551, allocations: 81.42 kB / 0.7908 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.006566, allocations: 3.312 kB / 0.7908 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001839/0.00675, allocations: 138.6 kB / 0.7909 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.704e-06/0.006752, allocations: 0 / 0.7909 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0003467/0.007098, allocations: 262.7 kB / 0.7912 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.00715, allocations: 81.11 kB / 0.7913 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.007256, allocations: 193.3 kB / 0.7914 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.007273, allocations: 25.7 kB / 0.7915 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.493e-05/0.007337, allocations: 146.8 kB / 0.7916 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.007353, allocations: 19.84 kB / 0.7916 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/0.0074, allocations: 36.08 kB / 0.7917 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.00752, allocations: 0.4884 MB / 0.7921 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.364e-05/0.007603, allocations: 100.4 kB / 0.7922 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.146e-05/0.007675, allocations: 95.38 kB / 0.7923 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.007777, allocations: 136.8 kB / 0.7924 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.00778, allocations: 0.625 kB / 0.7924 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000228/0.008008, allocations: 272.8 kB / 0.7927 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.771e-05/0.008056, allocations: 67.39 kB / 0.7928 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.008061, allocations: 5.375 kB / 0.7928 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.008076, allocations: 0 / 0.7928 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.932e-05/0.008176, allocations: 11.98 kB / 0.7928 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.008184, allocations: 5.312 kB / 0.7928 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.28e-05/0.008247, allocations: 15.98 kB / 0.7928 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.008261, allocations: 8.922 kB / 0.7928 GB, free: 6.609 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.0001037/0.008365, allocations: 198.3 kB / 0.793 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.008387, allocations: 21.45 kB / 0.793 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.008412, allocations: 8.781 kB / 0.793 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.008416, allocations: 4 kB / 0.793 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.00842, allocations: 3.938 kB / 0.793 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.008424, allocations: 1.344 kB / 0.793 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.905e-05/0.008523, allocations: 136.7 kB / 0.7932 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.008525, allocations: 0 / 0.7932 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/0.008566, allocations: 16.17 kB / 0.7932 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.008568, allocations: 3.438 kB / 0.7932 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.008583, allocations: 11.94 kB / 0.7932 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.008584, allocations: 0 / 0.7932 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.008586, allocations: 0 / 0.7932 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.008825, allocations: 239.8 kB / 0.7934 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.601e-05/0.008841, allocations: 11.89 kB / 0.7934 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.008861, allocations: 7.984 kB / 0.7935 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.212e-05/0.008913, allocations: 15.98 kB / 0.7935 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.00903, allocations: 36.67 kB / 0.7935 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.009041, allocations: 4 kB / 0.7935 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.428e-05/0.009095, allocations: 147.5 kB / 0.7936 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.009095, allocations: 0.5625 kB / 0.7936 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001379/0.009233, allocations: 28 kB / 0.7937 GB, free: 5.656 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.0001047/0.009338, allocations: 101.2 kB / 0.7938 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002642/0.009602, allocations: 299.5 kB / 0.7941 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.009603, allocations: 0 / 0.7941 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.009705, allocations: 145.2 kB / 0.7942 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.009894, allocations: 17.58 kB / 0.7942 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006765/0.01057, allocations: 253.3 kB / 0.7945 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.917e-05/0.01061, allocations: 63.88 kB / 0.7945 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.426e-05/0.01065, allocations: 13.31 kB / 0.7945 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.263e-05/0.0107, allocations: 16.5 kB / 0.7945 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of SimCode: time 7.91e-07/0.0107, allocations: 0.9375 kB / 0.7945 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of Templates: time 0.004091/0.01479, allocations: 2.069 MB / 0.7966 GB, free: 2.617 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.191977177979425]