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.001423/0.001423, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001584/0.001584, allocations: 164.3 kB / 22.46 MB, free: 5.359 MB / 14.72 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.506/1.506, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 2.777/2.777, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 176] 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.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 2.094e-06/2.094e-06, allocations: 0 / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.516e-05/3.725e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003171/0.003209, allocations: 1.492 MB / 0.9524 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.004365, allocations: 0.4955 MB / 0.9529 GB, free: 9.598 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.215e-05/0.004437, allocations: 7.875 kB / 0.9529 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.004549, allocations: 11.92 kB / 0.9529 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.541e-05/0.004604, allocations: 7.875 kB / 0.9529 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.004884, allocations: 51.86 kB / 0.9529 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.005097, allocations: 99.7 kB / 0.953 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.005212, allocations: 16.17 kB / 0.9531 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.00544, allocations: 71.81 kB / 0.9531 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.197e-05/0.005532, allocations: 31.89 kB / 0.9531 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.01e-05/0.005562, allocations: 8 kB / 0.9532 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.026e-05/0.005623, allocations: 15.94 kB / 0.9532 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.958e-05/0.005672, allocations: 15.97 kB / 0.9532 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.021e-05/0.005742, allocations: 27.92 kB / 0.9532 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.005962, allocations: 103.7 kB / 0.9533 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.005967, allocations: 0 / 0.9533 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.493e-06/0.005968, allocations: 0 / 0.9533 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.005973, allocations: 4 kB / 0.9533 GB, free: 9.133 MB / 0.8575 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.0008456/0.006819, allocations: 377.4 kB / 0.9537 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.00686, allocations: 8.031 kB / 0.9537 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.007029, allocations: 20.88 kB / 0.9537 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.007327, allocations: 137.6 kB / 0.9538 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.007346, allocations: 8.375 kB / 0.9538 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.007369, allocations: 4.375 kB / 0.9538 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003749/0.007744, allocations: 151.8 kB / 0.954 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.007756, allocations: 4.172 kB / 0.954 GB, free: 8.359 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.779e-05/0.007834, allocations: 8.125 kB / 0.954 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.007839, allocations: 0 / 0.954 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003591/0.008198, allocations: 117.6 kB / 0.9541 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005637/0.008762, allocations: 252.5 kB / 0.9544 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003916/0.009154, allocations: 132.2 kB / 0.9545 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.009379, allocations: 106.4 kB / 0.9546 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.009396, allocations: 0 / 0.9546 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003912/0.009788, allocations: 161 kB / 0.9547 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.009789, allocations: 0 / 0.9547 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0008896/0.01068, allocations: 334.6 kB / 0.9551 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.01076, allocations: 89.09 kB / 0.9551 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.01095, allocations: 138 kB / 0.9553 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.01098, allocations: 29.7 kB / 0.9553 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.528e-05/0.01107, allocations: 96.09 kB / 0.9554 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.0111, allocations: 19.89 kB / 0.9554 GB, free: 6.762 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.11e-05/0.01117, allocations: 25.72 kB / 0.9554 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002109/0.01138, allocations: 322.8 kB / 0.9557 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/0.01163, allocations: 131.4 kB / 0.9559 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/0.01187, allocations: 123.3 kB / 0.956 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/0.01227, allocations: 181.9 kB / 0.9562 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01228, allocations: 0 / 0.9562 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006031/0.01288, allocations: 328.5 kB / 0.9565 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.652e-05/0.01297, allocations: 67.39 kB / 0.9565 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.01297, allocations: 0 / 0.9565 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.01299, allocations: 4 kB / 0.9565 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.01312, allocations: 11.98 kB / 0.9566 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.01313, allocations: 0 / 0.9566 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.01328, allocations: 31.86 kB / 0.9566 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.0133, allocations: 8.094 kB / 0.9566 GB, free: 5.449 MB / 0.8575 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.0001692/0.01347, allocations: 163.4 kB / 0.9567 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.0135, allocations: 15.89 kB / 0.9568 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.01354, allocations: 8.781 kB / 0.9568 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.01354, allocations: 4 kB / 0.9568 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.01355, allocations: 0 / 0.9568 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.01355, allocations: 3.984 kB / 0.9568 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.01371, allocations: 121.3 kB / 0.9569 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.01371, allocations: 0 / 0.9569 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.847e-05/0.0138, allocations: 15.92 kB / 0.9569 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.0138, allocations: 4 kB / 0.9569 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.01382, allocations: 0 / 0.9569 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01382, allocations: 4.156 kB / 0.9569 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01382, allocations: 0 / 0.9569 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006554/0.01448, allocations: 280.4 kB / 0.9572 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.504e-05/0.0145, allocations: 15.83 kB / 0.9572 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.414e-05/0.01454, allocations: 4 kB / 0.9572 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.01468, allocations: 23.97 kB / 0.9572 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.01483, allocations: 35.91 kB / 0.9573 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.01485, allocations: 11.98 kB / 0.9573 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.212e-05/0.01494, allocations: 101.5 kB / 0.9574 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.01494, allocations: 0 / 0.9574 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00022/0.01516, allocations: 24 kB / 0.9574 GB, free: 4.555 MB / 0.8575 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.0001479/0.01531, allocations: 103.2 kB / 0.9575 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006484/0.01596, allocations: 343.8 kB / 0.9578 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01596, allocations: 0 / 0.9578 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003074/0.01627, allocations: 169 kB / 0.958 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.01651, allocations: 17.11 kB / 0.958 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006241/0.01714, allocations: 247.2 kB / 0.9582 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.267e-05/0.01722, allocations: 75.33 kB / 0.9583 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.507e-05/0.01728, allocations: 11.98 kB / 0.9583 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/0.01733, allocations: 16.48 kB / 0.9583 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of SimCode: time 7.32e-07/0.01733, allocations: 0 / 0.9583 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of Templates: time 0.00598/0.02331, allocations: 2.044 MB / 0.9603 GB, free: 1.461 MB / 0.8575 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.13516040891409]