Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001248/0.001248, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002763/0.004011, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001408/0.001408, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001893/0.003301, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.013/1.013, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0908/1.104, allocations: 53.68 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.291/2.291, allocations: 447.1 MB / 0.675 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2566/2.548, allocations: 146 MB / 0.8176 GB, free: 3.848 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.8189 GB, free: 2.566 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.63e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.562 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003321/0.003348, allocations: 1.587 MB / 0.8204 GB, free: 0.957 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009253/0.004273, allocations: 0.5219 MB / 0.8209 GB, free: 440 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.186e-05/0.004345, allocations: 0 / 0.8209 GB, free: 440 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.139e-05/0.004416, allocations: 7.922 kB / 0.821 GB, free: 432 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.848e-05/0.004475, allocations: 11.81 kB / 0.821 GB, free: 420 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.004715, allocations: 59.8 kB / 0.821 GB, free: 360 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.000211/0.004926, allocations: 95.78 kB / 0.8211 GB, free: 264 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.933e-05/0.005025, allocations: 16.11 kB / 0.8211 GB, free: 248 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002652/0.00529, allocations: 79.81 kB / 0.8212 GB, free: 168 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.005399, allocations: 35.94 kB / 0.8212 GB, free: 132 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.00543, allocations: 11.94 kB / 0.8213 GB, free: 120 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.062e-05/0.0055, allocations: 15.94 kB / 0.8213 GB, free: 104 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 4.8e-05/0.005548, allocations: 8 kB / 0.8213 GB, free: 96 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 5.519e-05/0.005604, allocations: 23.92 kB / 0.8213 GB, free: 72 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.005779, allocations: 63.83 kB / 0.8214 GB, free: 8 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.536e-05/0.005794, allocations: 0 / 0.8214 GB, free: 8 kB / 0.7917 GB Notification: Performance of FrontEnd: time 1.282e-06/0.005796, allocations: 4 kB / 0.8214 GB, free: 4 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.466e-05/0.00581, allocations: 0 / 0.8214 GB, free: 4 kB / 0.7917 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.0006977/0.006508, allocations: 367.7 kB / 0.8217 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.006549, allocations: 12.03 kB / 0.8217 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.006744, allocations: 110 kB / 0.8218 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.006927, allocations: 125.7 kB / 0.822 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.006939, allocations: 384 / 0.822 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.006962, allocations: 8.375 kB / 0.822 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.007191, allocations: 132.6 kB / 0.8221 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.0072, allocations: 192 / 0.8221 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.007216, allocations: 12.12 kB / 0.8221 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.007223, allocations: 3.938 kB / 0.8221 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.304e-05/0.007306, allocations: 57.67 kB / 0.8222 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/0.007666, allocations: 183 kB / 0.8223 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.007793, allocations: 76.33 kB / 0.8224 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.41e-05/0.007857, allocations: 54.67 kB / 0.8225 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.007872, allocations: 4 kB / 0.8225 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001951/0.008067, allocations: 128.9 kB / 0.8226 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/0.008069, allocations: 4 kB / 0.8226 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.000266/0.008335, allocations: 190.8 kB / 0.8228 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.00837, allocations: 51.41 kB / 0.8228 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.008472, allocations: 137.2 kB / 0.8229 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.008494, allocations: 29.7 kB / 0.823 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.008549, allocations: 100 kB / 0.8231 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.008571, allocations: 15.91 kB / 0.8231 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.31e-05/0.008634, allocations: 33.69 kB / 0.8231 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.144e-05/0.008725, allocations: 314.8 kB / 0.8234 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.408e-05/0.008799, allocations: 91.38 kB / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.021e-05/0.008869, allocations: 87.31 kB / 0.8236 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.009005, allocations: 140.7 kB / 0.8237 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.009007, allocations: 0 / 0.8237 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002072/0.009215, allocations: 212.3 kB / 0.8239 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.45e-05/0.009269, allocations: 63.41 kB / 0.824 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.009274, allocations: 0 / 0.824 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.009287, allocations: 0 / 0.824 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.00939, allocations: 15.98 kB / 0.824 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.009394, allocations: 0 / 0.824 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.129e-05/0.009485, allocations: 19.98 kB / 0.824 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.009506, allocations: 7.984 kB / 0.824 GB, free: 12.95 MB / 0.8073 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.0001117/0.009618, allocations: 154.3 kB / 0.8242 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.009646, allocations: 19.92 kB / 0.8242 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.81e-05/0.009674, allocations: 8.781 kB / 0.8242 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.009676, allocations: 0 / 0.8242 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.009678, allocations: 0 / 0.8242 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.009684, allocations: 4 kB / 0.8242 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.823e-05/0.009782, allocations: 86.05 kB / 0.8243 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.009785, allocations: 4 kB / 0.8243 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.312e-05/0.009848, allocations: 19.92 kB / 0.8243 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/0.009864, allocations: 15.89 kB / 0.8243 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.009868, allocations: 3.938 kB / 0.8243 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.00988, allocations: 4 kB / 0.8243 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.009882, allocations: 0 / 0.8243 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.009885, allocations: 0 / 0.8243 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.01009, allocations: 168.5 kB / 0.8245 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.01012, allocations: 8 kB / 0.8245 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.855e-05/0.01021, allocations: 15.92 kB / 0.8245 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.01032, allocations: 47.92 kB / 0.8246 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.01033, allocations: 8 kB / 0.8246 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.642e-05/0.01037, allocations: 20.83 kB / 0.8246 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.11e-07/0.01037, allocations: 0 / 0.8246 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001803/0.01055, allocations: 28 kB / 0.8246 GB, free: 12.28 MB / 0.8073 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.0001145/0.01066, allocations: 82.61 kB / 0.8247 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000281/0.01095, allocations: 272.7 kB / 0.825 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/0.01096, allocations: 3.984 kB / 0.825 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.0111, allocations: 133.9 kB / 0.8251 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.01129, allocations: 83.39 kB / 0.8252 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.01241, allocations: 241.5 kB / 0.8254 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.865e-05/0.01245, allocations: 59.34 kB / 0.8255 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.507e-05/0.01249, allocations: 8 kB / 0.8255 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.01263, allocations: 83.34 kB / 0.8255 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of SimCode: time 9.42e-07/0.01263, allocations: 0 / 0.8255 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of Templates: time 0.005461/0.01809, allocations: 2.139 MB / 0.8276 GB, free: 9.078 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests/Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0030919732525945]