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.001239/0.001239, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001467/0.001467, allocations: 213.4 kB / 23.04 MB, free: 4.844 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.182/3.182, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] 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.002088/0.002088, allocations: 74.36 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3892, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003459/0.3927, allocations: 1.493 MB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.3938, allocations: 498.8 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.158e-05/0.3939, allocations: 0 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.394, allocations: 7.938 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.089e-05/0.394, allocations: 19.84 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.3944, allocations: 47.89 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.3946, allocations: 103.7 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.3947, allocations: 8.188 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.3949, allocations: 59.81 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.526e-05/0.395, allocations: 39.78 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.948e-05/0.395, allocations: 8 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.245e-05/0.3951, allocations: 8 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.468e-05/0.3951, allocations: 19.92 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.503e-05/0.3952, allocations: 43.83 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.3954, allocations: 87.64 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3954, allocations: 0 / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3954, allocations: 0 / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.3954, allocations: 0 / 1.329 GB, free: 14.51 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.0008425/0.3963, allocations: 381.4 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.3963, allocations: 12.03 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.3965, allocations: 20.88 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.3968, allocations: 134.4 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.3968, allocations: 8.359 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.3968, allocations: 16.31 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003731/0.3972, allocations: 143.4 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.3972, allocations: 7.984 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.3972, allocations: 0 / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3973, allocations: 0 / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003432/0.3976, allocations: 121.6 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005623/0.3982, allocations: 268.3 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00035/0.3985, allocations: 128.2 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.3987, allocations: 98.62 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.3987, allocations: 4 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003417/0.3991, allocations: 153 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.3991, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0008144/0.3999, allocations: 338.5 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.869e-05/0.4, allocations: 89.09 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.4001, allocations: 132.5 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.4001, allocations: 29.7 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.551e-05/0.4002, allocations: 100.1 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.4002, allocations: 23.83 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.89e-05/0.4003, allocations: 21.72 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.4005, allocations: 326.8 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.4007, allocations: 127.3 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.4009, allocations: 123.4 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/0.4013, allocations: 189.9 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4013, allocations: 0 / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005536/0.4018, allocations: 320.3 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.921e-05/0.4019, allocations: 63.41 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4019, allocations: 0 / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.4019, allocations: 256 / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.402, allocations: 23.91 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.402, allocations: 4 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.4022, allocations: 23.94 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.4022, allocations: 8 kB / 1.333 GB, free: 10.82 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.0001375/0.4023, allocations: 158.1 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.4024, allocations: 4 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.384e-05/0.4024, allocations: 20.7 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.4024, allocations: 0 / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4024, allocations: 3.938 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4024, allocations: 0 / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.4026, allocations: 141.2 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.4026, allocations: 0 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.262e-05/0.4026, allocations: 11.98 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4026, allocations: 0 / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.4027, allocations: 4 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4027, allocations: 0 / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4027, allocations: 0 / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005242/0.4032, allocations: 284.2 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.4032, allocations: 15.89 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.4032, allocations: 4 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.4034, allocations: 23.97 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.4035, allocations: 31.95 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.4035, allocations: 4 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.689e-05/0.4036, allocations: 101.2 kB / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4036, allocations: 3.938 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002191/0.4038, allocations: 28 kB / 1.334 GB, free: 9.918 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.0001205/0.4039, allocations: 103.2 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005985/0.4045, allocations: 351.7 kB / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4045, allocations: 0 / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002649/0.4048, allocations: 157 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.405, allocations: 27.92 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005802/0.4056, allocations: 282.9 kB / 1.334 GB, free: 8.91 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.258e-05/0.4057, allocations: 75.27 kB / 1.335 GB, free: 8.816 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.549e-05/0.4057, allocations: 11.44 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.4057, allocations: 4 kB / 1.335 GB, free: 8.801 MB / 1.029 GB Notification: Performance of Templates: time 0.003459/0.4092, allocations: 1.499 MB / 1.336 GB, free: 7.301 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.762547147925943]