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.001422/0.001422, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001761/0.001761, allocations: 214.3 kB / 22.25 MB, free: 5.262 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.551/1.551, allocations: 230.6 MB / 256 MB, free: 7.801 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.289/3.289, allocations: 0.4892 GB / 0.7943 GB, free: 35.44 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.002167/0.002167, allocations: 66.95 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4022, allocations: 176.1 MB / 1.325 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003436/0.4057, allocations: 1.51 MB / 1.327 GB, free: 364 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.4067, allocations: 487 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.577e-05/0.4068, allocations: 0 / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.832e-05/0.4069, allocations: 15.88 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.902e-05/0.4069, allocations: 15.8 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.4072, allocations: 51.88 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.4074, allocations: 103.6 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.4075, allocations: 8.188 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.4077, allocations: 55.81 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.207e-05/0.4078, allocations: 35.84 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.4078, allocations: 8 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.196e-05/0.4079, allocations: 15.98 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.584e-05/0.4079, allocations: 19.88 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.88e-05/0.408, allocations: 39.84 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.4082, allocations: 83.64 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.4082, allocations: 4 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of FrontEnd: time 8.52e-07/0.4082, allocations: 0 / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.4082, allocations: 0 / 1.328 GB, free: 15.43 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.0007282/0.4089, allocations: 381.4 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.409, allocations: 8.031 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.4091, allocations: 20.88 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.4094, allocations: 142.4 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.4094, allocations: 4.375 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.4094, allocations: 8.375 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003426/0.4098, allocations: 151.4 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.4098, allocations: 0 / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.4098, allocations: 0 / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.4098, allocations: 4 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003298/0.4101, allocations: 121.6 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005411/0.4107, allocations: 256.4 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003491/0.411, allocations: 140.1 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.4112, allocations: 98.61 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.4112, allocations: 0 / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003531/0.4116, allocations: 157 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.4116, allocations: 0 / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0008049/0.4124, allocations: 334.6 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.676e-05/0.4125, allocations: 92.98 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.4126, allocations: 132.1 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.4126, allocations: 29.7 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.366e-05/0.4127, allocations: 104.1 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.4128, allocations: 23.91 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.414e-05/0.4128, allocations: 29.7 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.413, allocations: 322.8 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/0.4132, allocations: 127.3 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.4134, allocations: 123.3 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/0.4138, allocations: 181.9 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4138, allocations: 0 / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005768/0.4144, allocations: 324.3 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.253e-05/0.4144, allocations: 63.41 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.4144, allocations: 4 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.4145, allocations: 0 / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.4146, allocations: 16.22 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.4146, allocations: 0 / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.4147, allocations: 31.94 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.4148, allocations: 11.98 kB / 1.331 GB, free: 11.73 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.0001584/0.4149, allocations: 151.4 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.4149, allocations: 8 kB / 1.331 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.188e-05/0.415, allocations: 16.7 kB / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.415, allocations: 0 / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.415, allocations: 4 kB / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.415, allocations: 0 / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.4151, allocations: 133.2 kB / 1.331 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4151, allocations: 0 / 1.331 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.251e-05/0.4152, allocations: 11.98 kB / 1.331 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4152, allocations: 0 / 1.331 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.4152, allocations: 4 kB / 1.331 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4152, allocations: 0 / 1.331 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4152, allocations: 0 / 1.331 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000558/0.4158, allocations: 284.3 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.818e-05/0.4158, allocations: 11.98 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.4158, allocations: 7.938 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.416, allocations: 23.97 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.4161, allocations: 43.83 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.4161, allocations: 0 / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.135e-05/0.4162, allocations: 103.3 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4162, allocations: 0 / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002137/0.4164, allocations: 24 kB / 1.332 GB, free: 10.84 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.0001332/0.4166, allocations: 111.2 kB / 1.332 GB, free: 10.72 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006208/0.4172, allocations: 339.8 kB / 1.332 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4172, allocations: 0 / 1.332 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002963/0.4175, allocations: 165 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.4177, allocations: 22.52 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006421/0.4184, allocations: 255.2 kB / 1.333 GB, free: 9.863 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.393e-05/0.4184, allocations: 75.33 kB / 1.333 GB, free: 9.77 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.583e-05/0.4185, allocations: 7.984 kB / 1.333 GB, free: 9.762 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.4185, allocations: 11.44 kB / 1.333 GB, free: 9.75 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.4185, allocations: 0 / 1.333 GB, free: 9.75 MB / 1.029 GB Notification: Performance of Templates: time 0.00539/0.4239, allocations: 2.101 MB / 1.335 GB, free: 7.668 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/jenkins/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.237346800044179]