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.001599/0.001599, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001851/0.001851, allocations: 215.3 kB / 22.99 MB, free: 4.945 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.819/2.819, allocations: 476 MB / 0.7707 GB, free: 4.723 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 68.19 kB / 1.118 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2958, allocations: 170 MB / 1.284 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.00289/0.2987, allocations: 1.506 MB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.2997, allocations: 496.6 kB / 1.286 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.115e-05/0.2998, allocations: 0 / 1.286 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.059e-05/0.2999, allocations: 7.938 kB / 1.286 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.282e-05/0.2999, allocations: 15.86 kB / 1.286 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.3002, allocations: 47.88 kB / 1.286 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.3004, allocations: 107.7 kB / 1.286 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.487e-05/0.3005, allocations: 8.188 kB / 1.286 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.3007, allocations: 55.83 kB / 1.286 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.179e-05/0.3008, allocations: 39.83 kB / 1.286 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.907e-05/0.3008, allocations: 8 kB / 1.286 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.206e-05/0.3008, allocations: 8 kB / 1.286 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.358e-05/0.3009, allocations: 23.92 kB / 1.286 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.332e-05/0.3009, allocations: 27.92 kB / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.3011, allocations: 95.56 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.3011, allocations: 4 kB / 1.286 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3011, allocations: 0 / 1.286 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.3011, allocations: 0 / 1.286 GB, free: 9.523 MB / 0.9825 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.0007787/0.3019, allocations: 377.4 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.302, allocations: 12.03 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.3021, allocations: 20.88 kB / 1.287 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.3024, allocations: 138.3 kB / 1.287 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.3024, allocations: 8.375 kB / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.3024, allocations: 8.375 kB / 1.287 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.3028, allocations: 143.4 kB / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3028, allocations: 0 / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.3028, allocations: 11.92 kB / 1.287 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3028, allocations: 0 / 1.287 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003311/0.3031, allocations: 121.6 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005391/0.3037, allocations: 264.3 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003589/0.304, allocations: 128.2 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.3043, allocations: 90.64 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.3043, allocations: 8 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003329/0.3046, allocations: 153 kB / 1.288 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.3046, allocations: 3.938 kB / 1.288 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0008099/0.3054, allocations: 334.6 kB / 1.288 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/0.3055, allocations: 89.09 kB / 1.288 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.3056, allocations: 130.1 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.3057, allocations: 29.7 kB / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/0.3057, allocations: 96.09 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.3058, allocations: 31.89 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.478e-05/0.3058, allocations: 25.72 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.306, allocations: 326.7 kB / 1.289 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.3062, allocations: 127.3 kB / 1.289 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.3065, allocations: 123.4 kB / 1.289 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003807/0.3069, allocations: 189.8 kB / 1.289 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3069, allocations: 0 / 1.289 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005935/0.3074, allocations: 312.4 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.436e-05/0.3075, allocations: 71.33 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3075, allocations: 96 / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3075, allocations: 3.938 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.3077, allocations: 16.23 kB / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3077, allocations: 4 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.3078, allocations: 27.97 kB / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.3078, allocations: 4 kB / 1.289 GB, free: 5.84 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.0001491/0.308, allocations: 159.5 kB / 1.29 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.308, allocations: 7.953 kB / 1.29 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.527e-05/0.308, allocations: 12.72 kB / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.308, allocations: 0 / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.3081, allocations: 0 / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.3081, allocations: 3.984 kB / 1.29 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.3082, allocations: 137.2 kB / 1.29 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3082, allocations: 0 / 1.29 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.853e-05/0.3083, allocations: 11.98 kB / 1.29 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3083, allocations: 0 / 1.29 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.3083, allocations: 4 kB / 1.29 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3083, allocations: 0 / 1.29 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3083, allocations: 3.938 kB / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005531/0.3089, allocations: 280.3 kB / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.151e-05/0.3089, allocations: 15.94 kB / 1.29 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.3089, allocations: 8 kB / 1.29 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.3091, allocations: 19.97 kB / 1.29 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.3092, allocations: 27.97 kB / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.3092, allocations: 15.97 kB / 1.29 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.293e-05/0.3093, allocations: 97.38 kB / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3093, allocations: 0 / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000224/0.3095, allocations: 31.95 kB / 1.29 GB, free: 4.941 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.0001109/0.3096, allocations: 103.2 kB / 1.29 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006036/0.3102, allocations: 347.7 kB / 1.291 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3102, allocations: 4 kB / 1.291 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002881/0.3105, allocations: 157 kB / 1.291 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.3107, allocations: 21.81 kB / 1.291 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005913/0.3113, allocations: 290.8 kB / 1.291 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.693e-05/0.3114, allocations: 71.33 kB / 1.291 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.14e-05/0.3114, allocations: 15.44 kB / 1.291 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3114, allocations: 0 / 1.291 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of Templates: time 0.003483/0.3149, allocations: 1.501 MB / 1.293 GB, free: 2.328 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 -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/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: 11.123665247112513]