Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001124/0.001124, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001342/0.002465, allocations: 449.7 kB / 10.37 MB, free: 328 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.001118/0.001118, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001065/0.002183, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.04/1.04, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1202/1.16, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.848/1.848, allocations: 378.2 MB / 0.6076 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5048/2.353, allocations: 123.3 MB / 0.728 GB, free: 5.801 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.[0-9,]+.|numReq.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.Continuous.Examples.NumberOfRequests") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0.5469 kB / 0.7293 GB, free: 4.559 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.607e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.551 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003018/0.003044, allocations: 1.593 MB / 0.7308 GB, free: 2.973 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009587/0.004002, allocations: 0.5032 MB / 0.7313 GB, free: 2.469 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.142e-05/0.004074, allocations: 4.438 kB / 0.7313 GB, free: 2.465 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.035e-05/0.004154, allocations: 7.922 kB / 0.7313 GB, free: 2.457 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.651e-05/0.004221, allocations: 23.02 kB / 0.7314 GB, free: 2.441 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.004437, allocations: 47.81 kB / 0.7314 GB, free: 2.395 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.004663, allocations: 110.2 kB / 0.7315 GB, free: 2.305 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.541e-05/0.004759, allocations: 12.67 kB / 0.7315 GB, free: 2.293 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002617/0.00502, allocations: 72.5 kB / 0.7316 GB, free: 2.223 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.349e-05/0.005114, allocations: 35.83 kB / 0.7316 GB, free: 2.188 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.005143, allocations: 8.656 kB / 0.7316 GB, free: 2.18 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.09e-05/0.005214, allocations: 19.94 kB / 0.7317 GB, free: 2.16 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.3e-05/0.005257, allocations: 16.45 kB / 0.7317 GB, free: 2.145 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.446e-05/0.005312, allocations: 20.94 kB / 0.7317 GB, free: 2.125 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.005482, allocations: 63.81 kB / 0.7318 GB, free: 2.062 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.001e-05/0.005502, allocations: 0 / 0.7318 GB, free: 2.062 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.513e-06/0.005504, allocations: 0.5625 kB / 0.7318 GB, free: 2.062 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.823e-05/0.005522, allocations: 0.875 kB / 0.7318 GB, free: 2.062 MB / 0.698 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.0006873/0.006209, allocations: 361.2 kB / 0.7321 GB, free: 1.676 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.006251, allocations: 8.031 kB / 0.7321 GB, free: 1.668 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001962/0.006448, allocations: 110 kB / 0.7322 GB, free: 1.543 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.006642, allocations: 126.3 kB / 0.7323 GB, free: 1.395 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.00666, allocations: 4.375 kB / 0.7323 GB, free: 1.391 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.006679, allocations: 9.062 kB / 0.7323 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.006925, allocations: 142.2 kB / 0.7325 GB, free: 1.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.006934, allocations: 192 / 0.7325 GB, free: 1.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.006949, allocations: 4.125 kB / 0.7325 GB, free: 1.227 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.006955, allocations: 0 / 0.7325 GB, free: 1.227 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.537e-05/0.007041, allocations: 57.69 kB / 0.7325 GB, free: 1.164 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.007397, allocations: 187.9 kB / 0.7327 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.007526, allocations: 76.7 kB / 0.7328 GB, free: 0.875 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.459e-05/0.007591, allocations: 59.98 kB / 0.7329 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.007605, allocations: 0 / 0.7329 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/0.007802, allocations: 121 kB / 0.733 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.007804, allocations: 0.875 kB / 0.733 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0002628/0.008067, allocations: 198.7 kB / 0.7332 GB, free: 464 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.008109, allocations: 60 kB / 0.7332 GB, free: 392 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.626e-05/0.008205, allocations: 129.3 kB / 0.7333 GB, free: 252 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.008226, allocations: 30.42 kB / 0.7334 GB, free: 216 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.459e-05/0.008281, allocations: 100 kB / 0.7335 GB, free: 112 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.008306, allocations: 17.64 kB / 0.7335 GB, free: 96 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.643e-05/0.008363, allocations: 33.69 kB / 0.7335 GB, free: 56 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.008484, allocations: 318.8 kB / 0.7338 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.579e-05/0.008569, allocations: 83.38 kB / 0.7339 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.456e-05/0.008634, allocations: 79.98 kB / 0.734 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.00876, allocations: 140.8 kB / 0.7341 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.008763, allocations: 1 kB / 0.7341 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002088/0.008972, allocations: 212.3 kB / 0.7343 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.83e-05/0.00903, allocations: 63.94 kB / 0.7344 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.009036, allocations: 0 / 0.7344 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.009047, allocations: 1.125 kB / 0.7344 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.009153, allocations: 15.98 kB / 0.7344 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-06/0.009156, allocations: 0 / 0.7344 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.838e-05/0.009244, allocations: 24.69 kB / 0.7344 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.009259, allocations: 5.031 kB / 0.7344 GB, free: 15.04 MB / 0.7136 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.0001066/0.009365, allocations: 154.2 kB / 0.7346 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.009392, allocations: 20.48 kB / 0.7346 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.094e-05/0.009423, allocations: 14.53 kB / 0.7346 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.009426, allocations: 0 / 0.7346 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.009429, allocations: 4 kB / 0.7346 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.009434, allocations: 3.984 kB / 0.7346 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.681e-05/0.009531, allocations: 81.81 kB / 0.7347 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.009533, allocations: 1.219 kB / 0.7347 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.039e-05/0.009594, allocations: 11.98 kB / 0.7347 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.568e-05/0.009609, allocations: 7.938 kB / 0.7347 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.009615, allocations: 5.438 kB / 0.7347 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.009627, allocations: 4 kB / 0.7347 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.009629, allocations: 0 / 0.7347 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.00963, allocations: 0 / 0.7347 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.009831, allocations: 177.3 kB / 0.7349 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.009856, allocations: 4.75 kB / 0.7349 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.409e-05/0.00994, allocations: 24.58 kB / 0.7349 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.01004, allocations: 31.95 kB / 0.7349 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.01006, allocations: 8.75 kB / 0.7349 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.551e-05/0.01009, allocations: 28.83 kB / 0.735 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.01009, allocations: 0.9375 kB / 0.735 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001736/0.01027, allocations: 20 kB / 0.735 GB, free: 14.38 MB / 0.7136 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.0001138/0.01038, allocations: 85.67 kB / 0.7351 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002687/0.01065, allocations: 272.7 kB / 0.7353 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/0.01066, allocations: 4.562 kB / 0.7353 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.01079, allocations: 122 kB / 0.7355 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.01095, allocations: 25.14 kB / 0.7355 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009198/0.01187, allocations: 262 kB / 0.7357 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.064e-05/0.0119, allocations: 59.34 kB / 0.7358 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.75e-05/0.01194, allocations: 8.984 kB / 0.7358 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.038e-05/0.01203, allocations: 82.11 kB / 0.7359 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of SimCode: time 9.52e-07/0.01203, allocations: 7.938 kB / 0.7359 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of Templates: time 0.003647/0.01567, allocations: 2.129 MB / 0.738 GB, free: 11.33 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests/Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9312404142692685]