Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 114.2 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.799/2.799, allocations: 437.1 MB / 0.7177 GB, free: 4.531 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|numReq.u.1.|numReq.u.2.|numReq.y",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|numReq.u.1.|numReq.u.2.|numReq.y",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 63.91 kB / 1.028 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3335, allocations: 151.6 MB / 1.176 GB, free: 5.898 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003241/0.3368, allocations: 1.483 MB / 1.177 GB, free: 4.395 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.3379, allocations: 462.9 kB / 1.178 GB, free: 3.938 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.436e-05/0.338, allocations: 0 / 1.178 GB, free: 3.938 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.3382, allocations: 7.922 kB / 1.178 GB, free: 3.93 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.216e-05/0.3383, allocations: 15.88 kB / 1.178 GB, free: 3.914 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.3385, allocations: 35.88 kB / 1.178 GB, free: 3.879 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002522/0.3388, allocations: 107.8 kB / 1.178 GB, free: 3.773 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.3389, allocations: 16.19 kB / 1.178 GB, free: 3.758 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.3391, allocations: 47.83 kB / 1.178 GB, free: 3.711 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.957e-05/0.3392, allocations: 43.81 kB / 1.178 GB, free: 3.668 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.219e-05/0.3392, allocations: 8 kB / 1.178 GB, free: 3.66 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.633e-05/0.3393, allocations: 8 kB / 1.178 GB, free: 3.652 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.476e-05/0.3393, allocations: 15.98 kB / 1.178 GB, free: 3.637 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.972e-05/0.3394, allocations: 39.8 kB / 1.178 GB, free: 3.598 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.3396, allocations: 83.62 kB / 1.178 GB, free: 3.516 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.3396, allocations: 0 / 1.178 GB, free: 3.516 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3396, allocations: 0 / 1.178 GB, free: 3.516 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.331e-06/0.3396, allocations: 3.938 kB / 1.178 GB, free: 3.512 MB / 0.92 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.0008412/0.3405, allocations: 458.5 kB / 1.179 GB, free: 3.004 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.3405, allocations: 8.031 kB / 1.179 GB, free: 2.996 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.478e-05/0.3406, allocations: 12.89 kB / 1.179 GB, free: 2.984 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.3408, allocations: 192 kB / 1.179 GB, free: 2.762 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.3409, allocations: 4.375 kB / 1.179 GB, free: 2.758 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.3409, allocations: 8.375 kB / 1.179 GB, free: 2.75 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003292/0.3412, allocations: 121.7 kB / 1.179 GB, free: 2.625 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.3412, allocations: 0 / 1.179 GB, free: 2.625 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.3413, allocations: 0 / 1.179 GB, free: 2.625 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3413, allocations: 0 / 1.179 GB, free: 2.625 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003397/0.3416, allocations: 95.86 kB / 1.179 GB, free: 2.531 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005975/0.3422, allocations: 332.7 kB / 1.179 GB, free: 2.156 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000346/0.3426, allocations: 106.5 kB / 1.179 GB, free: 2.043 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.3428, allocations: 68.94 kB / 1.179 GB, free: 1.973 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.3428, allocations: 0 / 1.179 GB, free: 1.973 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003876/0.3432, allocations: 135.3 kB / 1.18 GB, free: 1.828 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 3.075e-06/0.3432, allocations: 0 / 1.18 GB, free: 1.828 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0007908/0.344, allocations: 279.1 kB / 1.18 GB, free: 1.543 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.464e-05/0.3441, allocations: 85.11 kB / 1.18 GB, free: 1.441 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.3442, allocations: 129.8 kB / 1.18 GB, free: 1.305 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.3443, allocations: 33.7 kB / 1.18 GB, free: 1.266 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.383e-05/0.3444, allocations: 104 kB / 1.18 GB, free: 1.16 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.3444, allocations: 15.91 kB / 1.18 GB, free: 1.145 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.52e-05/0.3445, allocations: 33.64 kB / 1.18 GB, free: 1.105 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3446, allocations: 318.8 kB / 1.181 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.3448, allocations: 71.94 kB / 1.181 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.345, allocations: 63.95 kB / 1.181 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003741/0.3454, allocations: 182 kB / 1.181 GB, free: 464 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3454, allocations: 3.938 kB / 1.181 GB, free: 460 kB / 0.92 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005261/0.346, allocations: 260.9 kB / 1.181 GB, free: 180 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.454e-05/0.346, allocations: 63.41 kB / 1.181 GB, free: 104 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.346, allocations: 0 / 1.181 GB, free: 104 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3461, allocations: 4 kB / 1.181 GB, free: 100 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.3462, allocations: 15.98 kB / 1.181 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.3462, allocations: 3.984 kB / 1.181 GB, free: 80 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.3464, allocations: 19.92 kB / 1.181 GB, free: 60 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.3464, allocations: 8 kB / 1.181 GB, free: 52 kB / 0.92 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.0001983/0.3466, allocations: 155.5 kB / 1.181 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.3466, allocations: 11.95 kB / 1.181 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.3467, allocations: 12.38 kB / 1.181 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3467, allocations: 4 kB / 1.181 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3467, allocations: 0 / 1.181 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.3467, allocations: 7.922 kB / 1.181 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.3469, allocations: 193.6 kB / 1.182 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3469, allocations: 0 / 1.182 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.932e-05/0.347, allocations: 15.97 kB / 1.182 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.347, allocations: 0 / 1.182 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.347, allocations: 4 kB / 1.182 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.347, allocations: 0 / 1.182 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.347, allocations: 4 kB / 1.182 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005686/0.3476, allocations: 250.9 kB / 1.182 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.3477, allocations: 81.06 kB / 1.182 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.3477, allocations: 8 kB / 1.182 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.3479, allocations: 27.91 kB / 1.182 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.348, allocations: 35.95 kB / 1.182 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.348, allocations: 4 kB / 1.182 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.414e-05/0.3481, allocations: 97.23 kB / 1.182 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.266e-06/0.3481, allocations: 4 kB / 1.182 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002108/0.3483, allocations: 31.88 kB / 1.182 GB, free: 15.02 MB / 0.9356 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.0001225/0.3485, allocations: 99.25 kB / 1.182 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005596/0.349, allocations: 266.7 kB / 1.182 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.349, allocations: 0 / 1.182 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002657/0.3493, allocations: 143.3 kB / 1.183 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.3495, allocations: 20.36 kB / 1.183 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005768/0.3501, allocations: 240.8 kB / 1.183 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.3506, allocations: 0.6963 MB / 1.184 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.332e-05/0.3506, allocations: 11.44 kB / 1.184 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.3506, allocations: 0 / 1.184 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of Templates: time 0.003408/0.354, allocations: 1.448 MB / 1.185 GB, free: 12 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Examples_NumberOfRequests.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.53273977607023]