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.001465/0.001465, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001838/0.001838, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.517/1.517, allocations: 230.6 MB / 256 MB, free: 7.785 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.84/2.84, allocations: 475.9 MB / 0.7699 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 176] 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.002101/0.002101, allocations: 68.66 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.323, allocations: 170 MB / 1.283 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003184/0.3262, allocations: 1.491 MB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.3274, allocations: 0.4926 MB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.549e-05/0.3275, allocations: 4 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.3276, allocations: 7.938 kB / 1.285 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.337e-05/0.3277, allocations: 19.78 kB / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.328, allocations: 35.95 kB / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.3283, allocations: 115.7 kB / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.3284, allocations: 8.188 kB / 1.285 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.3286, allocations: 59.77 kB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.886e-05/0.3287, allocations: 31.89 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.977e-05/0.3287, allocations: 11.94 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.875e-05/0.3288, allocations: 16 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.819e-05/0.3288, allocations: 11.98 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.344e-05/0.3289, allocations: 39.84 kB / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.3291, allocations: 83.64 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3291, allocations: 4 kB / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3291, allocations: 0 / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.828e-06/0.3291, allocations: 0 / 1.285 GB, free: 9.562 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.0007741/0.3299, allocations: 389.3 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.3299, allocations: 8.031 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.3301, allocations: 20.88 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.3304, allocations: 138.4 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.3304, allocations: 4.375 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.3304, allocations: 4.375 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003888/0.3308, allocations: 147.4 kB / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.3308, allocations: 4 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.3308, allocations: 8 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3308, allocations: 0 / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003499/0.3312, allocations: 117.6 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005784/0.3318, allocations: 268.4 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003587/0.3321, allocations: 132.2 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/0.3323, allocations: 98.62 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.3324, allocations: 0 / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003445/0.3327, allocations: 153 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.3327, allocations: 0 / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0008176/0.3335, allocations: 342.6 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.546e-05/0.3336, allocations: 85.11 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.3337, allocations: 126.1 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.3338, allocations: 33.7 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.534e-05/0.3338, allocations: 104 kB / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.3339, allocations: 15.84 kB / 1.287 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-05/0.3339, allocations: 33.7 kB / 1.287 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3341, allocations: 322.8 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.3343, allocations: 127.3 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.3346, allocations: 127.3 kB / 1.288 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003779/0.335, allocations: 177.9 kB / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.335, allocations: 0 / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006264/0.3356, allocations: 328.3 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.37e-05/0.3357, allocations: 63.41 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.3357, allocations: 0 / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.3357, allocations: 3.984 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.3358, allocations: 15.98 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3358, allocations: 3.938 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.336, allocations: 19.98 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.336, allocations: 7.984 kB / 1.289 GB, free: 5.879 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.0001652/0.3362, allocations: 159.4 kB / 1.289 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.3362, allocations: 15.95 kB / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.862e-05/0.3363, allocations: 12.7 kB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3363, allocations: 4 kB / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.3363, allocations: 0 / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3363, allocations: 0 / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.3364, allocations: 133.2 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3364, allocations: 0 / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.84e-05/0.3365, allocations: 12.08 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.3365, allocations: 11.88 kB / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.3365, allocations: 4 kB / 1.289 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.3365, allocations: 8.234 kB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3365, allocations: 0 / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005796/0.3371, allocations: 284.3 kB / 1.289 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.25e-05/0.3371, allocations: 7.938 kB / 1.289 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.3372, allocations: 4 kB / 1.289 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.3373, allocations: 19.97 kB / 1.289 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.3375, allocations: 39.95 kB / 1.289 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.3375, allocations: 8 kB / 1.289 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.944e-05/0.3376, allocations: 101.7 kB / 1.289 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3376, allocations: 0 / 1.289 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002316/0.3378, allocations: 23.95 kB / 1.289 GB, free: 4.969 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.0001444/0.3379, allocations: 111.2 kB / 1.29 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006334/0.3386, allocations: 343.8 kB / 1.29 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3386, allocations: 0 / 1.29 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002954/0.3389, allocations: 157.1 kB / 1.29 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.3391, allocations: 19.92 kB / 1.29 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006186/0.3397, allocations: 253.1 kB / 1.29 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.13e-05/0.3398, allocations: 79.33 kB / 1.29 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.35e-05/0.3399, allocations: 11.98 kB / 1.29 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.301e-05/0.3399, allocations: 11.44 kB / 1.29 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/0.3399, allocations: 0 / 1.29 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of Templates: time 0.005728/0.3456, allocations: 2.093 MB / 1.292 GB, free: 1.816 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/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: 9.374172350391746]