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.001666/0.001666, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001831/0.001831, allocations: 216.5 kB / 23.01 MB, free: 4.566 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.33/3.33, allocations: 0.49 GB / 0.7958 GB, free: 33.42 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.002059/0.002059, allocations: 75.7 kB / 1.155 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4033, allocations: 176.1 MB / 1.327 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002932/0.4062, allocations: 1.493 MB / 1.329 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.4073, allocations: 0.5375 MB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.236e-05/0.4073, allocations: 0 / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.4075, allocations: 11.88 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.988e-05/0.4075, allocations: 11.86 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.4078, allocations: 51.88 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.408, allocations: 95.81 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.4081, allocations: 12.19 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002634/0.4084, allocations: 63.75 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.4085, allocations: 47.77 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.011e-05/0.4085, allocations: 8 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.361e-05/0.4085, allocations: 16 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.159e-05/0.4086, allocations: 4 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.63e-05/0.4087, allocations: 43.78 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.4089, allocations: 91.58 kB / 1.33 GB, free: 14.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4089, allocations: 0 / 1.33 GB, free: 14.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4089, allocations: 0 / 1.33 GB, free: 14.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.4089, allocations: 0 / 1.33 GB, free: 14.96 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.000755/0.4097, allocations: 389.4 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.4097, allocations: 8.031 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.4099, allocations: 20.88 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.4101, allocations: 137.1 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.4102, allocations: 8.375 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.4102, allocations: 8.375 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/0.4105, allocations: 117.7 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.4105, allocations: 3.984 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.4105, allocations: 8 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.4105, allocations: 3.938 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.4108, allocations: 91.86 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006136/0.4115, allocations: 299.8 kB / 1.331 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003267/0.4118, allocations: 98.5 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.412, allocations: 68.94 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.412, allocations: 0 / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003161/0.4123, allocations: 131.3 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.4123, allocations: 0 / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0008598/0.4132, allocations: 275.2 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/0.4133, allocations: 89.17 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.4134, allocations: 126.1 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.4135, allocations: 33.69 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.376e-05/0.4135, allocations: 100.1 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.4136, allocations: 15.84 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.76e-05/0.4136, allocations: 37.64 kB / 1.332 GB, free: 12.74 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.4138, allocations: 326.8 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.414, allocations: 59.95 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.4142, allocations: 71.95 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/0.4145, allocations: 181.9 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4145, allocations: 0 / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005397/0.4151, allocations: 260.9 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.697e-05/0.4151, allocations: 75.39 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.4151, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.4152, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.4153, allocations: 11.98 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.4153, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.4155, allocations: 23.97 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.4155, allocations: 8 kB / 1.332 GB, free: 11.68 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.0001487/0.4156, allocations: 159.4 kB / 1.333 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.4156, allocations: 11.95 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.81e-05/0.4157, allocations: 12.72 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.4157, allocations: 4 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4157, allocations: 0 / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4157, allocations: 3.938 kB / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.4159, allocations: 168.6 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4159, allocations: 0 / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.58e-05/0.416, allocations: 15.92 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.416, allocations: 0 / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.416, allocations: 11.98 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.416, allocations: 0 / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.416, allocations: 0 / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006367/0.4166, allocations: 246.9 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.338e-05/0.4166, allocations: 15.89 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.4167, allocations: 4 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.4168, allocations: 23.97 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.4169, allocations: 39.95 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.417, allocations: 0 / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.206e-05/0.417, allocations: 106.1 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.417, allocations: 3.938 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002266/0.4173, allocations: 27.88 kB / 1.333 GB, free: 10.76 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.0001199/0.4174, allocations: 103.2 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005413/0.4179, allocations: 266.8 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4179, allocations: 0 / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002624/0.4182, allocations: 127.3 kB / 1.334 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.0002239/0.4184, allocations: 15.98 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000587/0.419, allocations: 253.2 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.4194, allocations: 0.6885 MB / 1.335 GB, free: 9.215 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.162e-05/0.4195, allocations: 15.42 kB / 1.335 GB, free: 9.199 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4195, allocations: 0 / 1.335 GB, free: 9.199 MB / 1.029 GB Notification: Performance of Templates: time 0.003688/0.4232, allocations: 1.474 MB / 1.336 GB, free: 7.727 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.632070879015373]