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.001659/0.001659, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001808/0.001808, allocations: 220.4 kB / 23 MB, free: 4.914 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.144/3.144, allocations: 0.4892 GB / 0.7951 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.1.|numReq.u.2.|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.1.|numReq.u.2.|numReq.y",fileNamePrefix="Buildings_12_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.002076/0.002076, allocations: 71.39 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3183, allocations: 176.1 MB / 1.326 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002953/0.3212, allocations: 1.495 MB / 1.328 GB, free: 440 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.3223, allocations: 0.491 MB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.317e-05/0.3224, allocations: 0 / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.515e-05/0.3225, allocations: 11.94 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.582e-05/0.3225, allocations: 15.8 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.3228, allocations: 51.88 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.323, allocations: 91.83 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.3231, allocations: 12.17 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.3233, allocations: 59.66 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.731e-05/0.3234, allocations: 39.83 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.3234, allocations: 8 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.046e-05/0.3234, allocations: 12 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.998e-05/0.3235, allocations: 11.98 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.342e-05/0.3236, allocations: 43.84 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.3237, allocations: 87.58 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3237, allocations: 3.938 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3237, allocations: 4 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.3237, allocations: 0 / 1.329 GB, free: 15.49 MB / 1.029 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.0007369/0.3245, allocations: 381.4 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.3245, allocations: 8.031 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.3247, allocations: 24.88 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.3249, allocations: 138.4 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.3249, allocations: 4.375 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.325, allocations: 8.375 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003454/0.3253, allocations: 147.4 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3253, allocations: 0 / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.3253, allocations: 0 / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.3253, allocations: 4 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003372/0.3257, allocations: 125.5 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005359/0.3262, allocations: 264.4 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003666/0.3266, allocations: 132.2 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/0.3268, allocations: 94.64 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3268, allocations: 0 / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003365/0.3272, allocations: 169 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.803e-06/0.3272, allocations: 0 / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0008082/0.328, allocations: 330.6 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.824e-05/0.328, allocations: 89.09 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.3282, allocations: 128.1 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.3282, allocations: 29.7 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.444e-05/0.3283, allocations: 104.1 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.3283, allocations: 15.84 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.418e-05/0.3284, allocations: 33.7 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3285, allocations: 322.8 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.3288, allocations: 127.3 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.329, allocations: 127.3 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003753/0.3294, allocations: 185.8 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3294, allocations: 0 / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005812/0.3299, allocations: 324.3 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.253e-05/0.33, allocations: 67.39 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.33, allocations: 4.156 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.33, allocations: 0 / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.3302, allocations: 15.97 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/0.3302, allocations: 7.984 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.3303, allocations: 27.92 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.3303, allocations: 4 kB / 1.332 GB, free: 11.79 MB / 1.029 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.0001479/0.3305, allocations: 155.5 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.3305, allocations: 11.95 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.027e-05/0.3305, allocations: 8.719 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3305, allocations: 0 / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.3306, allocations: 4 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.3306, allocations: 0 / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.3307, allocations: 133.2 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3307, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.211e-05/0.3308, allocations: 19.91 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3308, allocations: 0 / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.3308, allocations: 4 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3308, allocations: 0 / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3308, allocations: 0 / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005629/0.3314, allocations: 280.6 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.187e-05/0.3314, allocations: 15.88 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.3314, allocations: 8.062 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.3316, allocations: 19.98 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.3317, allocations: 35.95 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.3317, allocations: 80 / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.817e-05/0.3318, allocations: 107.2 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3318, allocations: 0 / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002173/0.332, allocations: 24 kB / 1.333 GB, free: 10.9 MB / 1.029 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.0001162/0.3321, allocations: 111.2 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006146/0.3328, allocations: 347.8 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3328, allocations: 0 / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002843/0.333, allocations: 157 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.3333, allocations: 26.16 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006278/0.3339, allocations: 278.9 kB / 1.334 GB, free: 9.891 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.032e-05/0.334, allocations: 83.27 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.504e-05/0.334, allocations: 15.42 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.334, allocations: 0 / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of Templates: time 0.003607/0.3376, allocations: 1.496 MB / 1.335 GB, free: 8.281 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_NumberOfRequests.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.03977679880336]