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.001687/0.001687, 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.001762/0.001762, allocations: 194.3 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.488/1.488, allocations: 225.6 MB / 250.9 MB, free: 13.3 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.917/2.917, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] 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.002417/0.002417, allocations: 63.89 kB / 1.109 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9331/0.9355, allocations: 168.7 MB / 1.274 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.00287/0.9384, allocations: 1.498 MB / 1.275 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008739/0.9393, allocations: 470.9 kB / 1.276 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.872e-05/0.9393, allocations: 0 / 1.276 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.9394, allocations: 15.86 kB / 1.276 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.195e-05/0.9395, allocations: 7.875 kB / 1.276 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.9397, allocations: 31.95 kB / 1.276 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.9399, allocations: 111.7 kB / 1.276 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.94, allocations: 8.188 kB / 1.276 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.9402, allocations: 43.89 kB / 1.276 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.9403, allocations: 55.75 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/0.9403, allocations: 8 kB / 1.276 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.093e-05/0.9403, allocations: 8 kB / 1.276 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.9404, allocations: 11.98 kB / 1.276 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.413e-05/0.9404, allocations: 39.8 kB / 1.276 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.9406, allocations: 86.36 kB / 1.276 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.9406, allocations: 0 / 1.276 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9406, allocations: 0 / 1.276 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.9406, allocations: 3.938 kB / 1.276 GB, free: 2.164 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.0007725/0.9414, allocations: 454.5 kB / 1.277 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.9414, allocations: 8.031 kB / 1.277 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.65e-05/0.9415, allocations: 12.89 kB / 1.277 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.9417, allocations: 188.3 kB / 1.277 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.9417, allocations: 8.375 kB / 1.277 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.9418, allocations: 4.375 kB / 1.277 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.9421, allocations: 121.7 kB / 1.277 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.9421, allocations: 0 / 1.277 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.9421, allocations: 4 kB / 1.277 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.9421, allocations: 4 kB / 1.277 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000307/0.9424, allocations: 87.92 kB / 1.277 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000622/0.9431, allocations: 332.7 kB / 1.278 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00034/0.9434, allocations: 102.5 kB / 1.278 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/0.9436, allocations: 62.48 kB / 1.278 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.9436, allocations: 0 / 1.278 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003464/0.9439, allocations: 127.3 kB / 1.278 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.944, allocations: 7.938 kB / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0007822/0.9447, allocations: 275.1 kB / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/0.9448, allocations: 81.11 kB / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.9449, allocations: 133.8 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.945, allocations: 33.7 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.01e-05/0.9451, allocations: 100.1 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.9451, allocations: 15.91 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.565e-05/0.9451, allocations: 29.7 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.9453, allocations: 322.8 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.9455, allocations: 63.94 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.9457, allocations: 67.95 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/0.946, allocations: 182 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.946, allocations: 3.938 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00053/0.9466, allocations: 264.9 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.894e-05/0.9466, allocations: 59.41 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.9466, allocations: 0 / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.9466, allocations: 0 / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.9468, allocations: 19.98 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.9468, allocations: 7.984 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.9469, allocations: 19.92 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.9469, allocations: 4 kB / 1.279 GB, free: 14.73 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.0001459/0.9471, allocations: 163.9 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.105e-05/0.9471, allocations: 7.953 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.077e-05/0.9471, allocations: 8.375 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.319e-06/0.9472, allocations: 7.984 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.9472, allocations: 4.25 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.9472, allocations: 3.984 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.9473, allocations: 201.6 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.9473, allocations: 0 / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.794e-05/0.9474, allocations: 15.97 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.9474, allocations: 0 / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.9474, allocations: 4 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.9474, allocations: 4 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.9474, allocations: 0 / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004982/0.9479, allocations: 250.6 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.366e-05/0.948, allocations: 81.11 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.948, allocations: 7.938 kB / 1.28 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.9482, allocations: 23.97 kB / 1.28 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.9483, allocations: 31.95 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.9483, allocations: 8 kB / 1.28 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.797e-05/0.9484, allocations: 101.7 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.9484, allocations: 0 / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002118/0.9486, allocations: 35.89 kB / 1.28 GB, free: 13.68 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.0001214/0.9487, allocations: 95.25 kB / 1.28 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005286/0.9492, allocations: 254.9 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.9493, allocations: 11.94 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002626/0.9495, allocations: 127.3 kB / 1.281 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.9498, allocations: 20.08 kB / 1.281 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006068/0.9504, allocations: 227 kB / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.9508, allocations: 0.6924 MB / 1.282 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.43e-05/0.9508, allocations: 7.984 kB / 1.282 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.378e-05/0.9509, allocations: 15.44 kB / 1.282 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.9509, allocations: 0 / 1.282 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of Templates: time 0.3768/1.328, allocations: 1.913 MB / 1.284 GB, free: 10.24 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 cvode -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: 9.780222044792026]