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.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.001715/0.001715, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001977/0.001977, allocations: 193.8 kB / 22.17 MB, free: 5.656 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.498/1.498, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.797/2.797, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Controls.Continuous.Examples.NumberOfRequests") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 71.89 kB / 1.109 GB, free: 6.621 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.732/0.734, allocations: 168.7 MB / 1.274 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.0029/0.7369, allocations: 1.496 MB / 1.275 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008264/0.7377, allocations: 466.9 kB / 1.276 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.827e-05/0.7378, allocations: 0 / 1.276 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.635e-05/0.7379, allocations: 7.922 kB / 1.276 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.804e-05/0.7379, allocations: 15.86 kB / 1.276 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.7381, allocations: 43.89 kB / 1.276 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.7383, allocations: 103.7 kB / 1.276 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.7384, allocations: 8.188 kB / 1.276 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.7385, allocations: 51.88 kB / 1.276 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.084e-05/0.7386, allocations: 39.83 kB / 1.276 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.7386, allocations: 8 kB / 1.276 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.823e-05/0.7387, allocations: 8 kB / 1.276 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.172e-05/0.7387, allocations: 4 kB / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.121e-05/0.7388, allocations: 51.72 kB / 1.276 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.7389, allocations: 90.36 kB / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.7389, allocations: 0 / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.223e-06/0.7389, allocations: 0 / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.7389, allocations: 0 / 1.276 GB, free: 2.098 MB / 0.9669 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.0007759/0.7397, allocations: 446.5 kB / 1.277 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.7397, allocations: 12.03 kB / 1.277 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/0.7398, allocations: 8.891 kB / 1.277 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.74, allocations: 196.2 kB / 1.277 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.74, allocations: 8.375 kB / 1.277 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.74, allocations: 8.375 kB / 1.277 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003318/0.7404, allocations: 121.7 kB / 1.277 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.7404, allocations: 3.938 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.7404, allocations: 4 kB / 1.277 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.7404, allocations: 0 / 1.277 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003214/0.7407, allocations: 87.92 kB / 1.277 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000589/0.7413, allocations: 328.7 kB / 1.278 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/0.7417, allocations: 102.5 kB / 1.278 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.7419, allocations: 78.36 kB / 1.278 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.7419, allocations: 0 / 1.278 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003491/0.7422, allocations: 119.3 kB / 1.278 GB, free: 440 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.7422, allocations: 0 / 1.278 GB, free: 440 kB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0007793/0.743, allocations: 279.4 kB / 1.278 GB, free: 148 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/0.7431, allocations: 85.11 kB / 1.278 GB, free: 44 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.7432, allocations: 136.7 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.7432, allocations: 29.7 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.839e-05/0.7433, allocations: 100.1 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.7433, allocations: 15.91 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/0.7434, allocations: 29.78 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.7435, allocations: 318.8 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.7437, allocations: 83.98 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.7439, allocations: 63.95 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/0.7443, allocations: 181.9 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7443, allocations: 0 / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005474/0.7449, allocations: 261 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.795e-05/0.745, allocations: 67.34 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.745, allocations: 0 / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.745, allocations: 4 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.7451, allocations: 11.98 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.7451, allocations: 0 / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.7453, allocations: 23.91 kB / 1.279 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.7453, allocations: 12 kB / 1.279 GB, free: 14.65 MB / 0.9825 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.0001461/0.7454, allocations: 163.9 kB / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.7455, allocations: 7.953 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/0.7455, allocations: 12.38 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.7455, allocations: 0 / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.7455, allocations: 0 / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.7455, allocations: 0 / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.7457, allocations: 197.5 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7457, allocations: 0 / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.611e-05/0.7458, allocations: 19.97 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.7458, allocations: 0 / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.7458, allocations: 4 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.7458, allocations: 0 / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.7458, allocations: 3.938 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005447/0.7464, allocations: 246.6 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.7464, allocations: 81.11 kB / 1.28 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.7464, allocations: 8 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.7466, allocations: 19.97 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.7467, allocations: 43.89 kB / 1.28 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.7467, allocations: 8.062 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.007e-05/0.7468, allocations: 99.27 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.7468, allocations: 0 / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002215/0.747, allocations: 27.89 kB / 1.28 GB, free: 13.61 MB / 0.9825 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.0001156/0.7472, allocations: 107.2 kB / 1.28 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005415/0.7477, allocations: 250.7 kB / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.7477, allocations: 0 / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002815/0.748, allocations: 135.3 kB / 1.281 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.7482, allocations: 18.03 kB / 1.281 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005494/0.7488, allocations: 227 kB / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.7491, allocations: 0.6885 MB / 1.282 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.864e-05/0.7491, allocations: 11.98 kB / 1.282 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.742e-05/0.7492, allocations: 15.44 kB / 1.282 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.7492, allocations: 0 / 1.282 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of Templates: time 0.004942/0.7541, allocations: 1.92 MB / 1.284 GB, free: 10.16 MB / 0.9825 GB " [Timeout remaining time 299] 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=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_NumberOfRequests.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.371915183030069]