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.001589/0.001589, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.001918/0.001918, allocations: 211.9 kB / 23 MB, free: 4.965 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.603/1.603, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.396/3.396, allocations: 0.49 GB / 0.7959 GB, free: 35.64 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.002021/0.002021, allocations: 66.11 kB / 1.155 GB, free: 25.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3975, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003124/0.4006, allocations: 1.489 MB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.4017, allocations: 490.9 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.226e-05/0.4018, allocations: 7.938 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.4019, allocations: 11.92 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.475e-05/0.4019, allocations: 7.875 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.4022, allocations: 55.86 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.4024, allocations: 103.7 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.4025, allocations: 8.172 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.4027, allocations: 59.83 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.513e-05/0.4028, allocations: 43.83 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.4028, allocations: 8 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.745e-05/0.4029, allocations: 12 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.017e-05/0.403, allocations: 19.92 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.38e-05/0.403, allocations: 31.86 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.4032, allocations: 87.62 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4032, allocations: 4 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4032, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.4032, allocations: 0 / 1.329 GB, free: 14.58 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.0007898/0.404, allocations: 382.8 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.404, allocations: 11.97 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.4042, allocations: 20.88 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.4045, allocations: 141.2 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.4045, allocations: 4.375 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.4045, allocations: 12.31 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003542/0.4049, allocations: 147.4 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.4049, allocations: 0 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.4049, allocations: 4 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.4049, allocations: 4 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003336/0.4052, allocations: 117.6 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006441/0.4059, allocations: 260.4 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004242/0.4063, allocations: 136.2 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.4065, allocations: 102.6 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.4065, allocations: 0 / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003952/0.4069, allocations: 157 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.4069, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0008939/0.4078, allocations: 342.5 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/0.4079, allocations: 85.11 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.408, allocations: 130.1 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.4081, allocations: 29.7 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.638e-05/0.4081, allocations: 100.1 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.4082, allocations: 23.91 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.847e-05/0.4082, allocations: 29.7 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.4084, allocations: 318.8 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/0.4086, allocations: 131.3 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.4089, allocations: 127.3 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/0.4092, allocations: 173.9 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4092, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005801/0.4098, allocations: 328.3 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001161/0.4099, allocations: 67.39 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.4099, allocations: 4 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.41, allocations: 4 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.4101, allocations: 11.98 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.4101, allocations: 160 / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.4102, allocations: 27.92 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.4103, allocations: 11.94 kB / 1.333 GB, free: 10.88 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.0001555/0.4104, allocations: 151.4 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.4104, allocations: 8 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.731e-05/0.4105, allocations: 24.69 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.4105, allocations: 0 / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4105, allocations: 0 / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.964e-05/0.4105, allocations: 7.953 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.4105, allocations: 4 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.4107, allocations: 23.91 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.4108, allocations: 35.95 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006809/0.4115, allocations: 391.7 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000616/0.4121, allocations: 418.4 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000228/0.4123, allocations: 109.6 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.502e-05/0.4124, allocations: 107.1 kB / 1.334 GB, free: 9.539 MB / 1.029 GB Notification: Performance of Backend: time 5.01e-07/0.4124, allocations: 0 / 1.334 GB, free: 9.539 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007375/0.4132, allocations: 340.1 kB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of SimCode: time 0.0008055/0.414, allocations: 0.6827 MB / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of Templates: time 0.006197/0.4202, allocations: 2.399 MB / 1.337 GB, free: 6.059 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: 9.448383586997807]