Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001475/0.001475, 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.001726/0.001726, allocations: 220.3 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.511/1.511, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.228/3.228, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002119/0.002119, allocations: 67.36 kB / 1.187 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4433/0.4454, allocations: 181.9 MB / 1.365 GB, free: 13.68 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003455/0.4489, allocations: 1.494 MB / 1.366 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.4501, allocations: 494.8 kB / 1.367 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.499e-05/0.4502, allocations: 0 / 1.367 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.4503, allocations: 11.88 kB / 1.367 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.705e-05/0.4503, allocations: 19.86 kB / 1.367 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.4507, allocations: 47.88 kB / 1.367 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002418/0.4509, allocations: 99.75 kB / 1.367 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.4511, allocations: 8.188 kB / 1.367 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002303/0.4513, allocations: 63.75 kB / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.4514, allocations: 31.91 kB / 1.367 GB, free: 11.4 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.219e-05/0.4515, allocations: 8 kB / 1.367 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.223e-05/0.4515, allocations: 8 kB / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.186e-05/0.4516, allocations: 23.92 kB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.882e-05/0.4516, allocations: 39.83 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.4519, allocations: 91.66 kB / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4519, allocations: 0 / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4519, allocations: 0 / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.904e-06/0.4519, allocations: 0 / 1.367 GB, free: 11.23 MB / 1.061 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.0008785/0.4527, allocations: 381.4 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.4528, allocations: 12.03 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.453, allocations: 24.81 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.4533, allocations: 136.7 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.4533, allocations: 12.36 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.4533, allocations: 8.375 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003725/0.4537, allocations: 144.5 kB / 1.368 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.4537, allocations: 4 kB / 1.368 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.4537, allocations: 0 / 1.368 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.4537, allocations: 0 / 1.368 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003423/0.4541, allocations: 125.6 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006212/0.4547, allocations: 264.4 kB / 1.368 GB, free: 10.03 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003748/0.4551, allocations: 132.1 kB / 1.368 GB, free: 9.887 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/0.4553, allocations: 98.62 kB / 1.368 GB, free: 9.781 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.4553, allocations: 7.984 kB / 1.368 GB, free: 9.773 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003556/0.4557, allocations: 153 kB / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.4557, allocations: 0 / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0009505/0.4566, allocations: 342.6 kB / 1.369 GB, free: 9.246 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.713e-05/0.4567, allocations: 89.16 kB / 1.369 GB, free: 9.141 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.4569, allocations: 130.1 kB / 1.369 GB, free: 9 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.4569, allocations: 29.7 kB / 1.369 GB, free: 8.965 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.462e-05/0.457, allocations: 100.1 kB / 1.369 GB, free: 8.863 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.457, allocations: 23.83 kB / 1.369 GB, free: 8.84 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-05/0.4571, allocations: 25.72 kB / 1.369 GB, free: 8.809 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001897/0.4573, allocations: 322.8 kB / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/0.4575, allocations: 127.3 kB / 1.37 GB, free: 8.348 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.4578, allocations: 127.3 kB / 1.37 GB, free: 8.211 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003684/0.4581, allocations: 185.9 kB / 1.37 GB, free: 8.008 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4581, allocations: 0 / 1.37 GB, free: 8.008 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006079/0.4588, allocations: 320.3 kB / 1.37 GB, free: 7.664 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.898e-05/0.4588, allocations: 65.75 kB / 1.37 GB, free: 7.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4588, allocations: 0 / 1.37 GB, free: 7.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.4588, allocations: 0 / 1.37 GB, free: 7.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.459, allocations: 19.97 kB / 1.37 GB, free: 7.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.459, allocations: 0 / 1.37 GB, free: 7.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.4591, allocations: 24.08 kB / 1.37 GB, free: 7.547 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.4591, allocations: 7.938 kB / 1.37 GB, free: 7.539 MB / 1.061 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.0001728/0.4593, allocations: 164.5 kB / 1.37 GB, free: 7.363 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.4593, allocations: 7.953 kB / 1.37 GB, free: 7.355 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.24e-05/0.4594, allocations: 16.7 kB / 1.37 GB, free: 7.332 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.4594, allocations: 0 / 1.37 GB, free: 7.332 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.4594, allocations: 0 / 1.37 GB, free: 7.332 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4594, allocations: 0 / 1.37 GB, free: 7.332 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.4596, allocations: 133.2 kB / 1.371 GB, free: 7.172 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4596, allocations: 0 / 1.371 GB, free: 7.172 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.942e-05/0.4597, allocations: 11.98 kB / 1.371 GB, free: 7.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4597, allocations: 0 / 1.371 GB, free: 7.16 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.4597, allocations: 7.938 kB / 1.371 GB, free: 7.152 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4597, allocations: 0 / 1.371 GB, free: 7.152 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4597, allocations: 0 / 1.371 GB, free: 7.152 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005731/0.4603, allocations: 280.3 kB / 1.371 GB, free: 6.848 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.544e-05/0.4603, allocations: 16.2 kB / 1.371 GB, free: 6.832 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.4603, allocations: 8 kB / 1.371 GB, free: 6.824 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.4605, allocations: 23.97 kB / 1.371 GB, free: 6.801 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.4606, allocations: 31.95 kB / 1.371 GB, free: 6.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.4606, allocations: 8 kB / 1.371 GB, free: 6.762 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001206/0.4607, allocations: 102.1 kB / 1.371 GB, free: 6.664 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4607, allocations: 0 / 1.371 GB, free: 6.664 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002228/0.4609, allocations: 24 kB / 1.371 GB, free: 6.641 MB / 1.061 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.000132/0.4611, allocations: 103.2 kB / 1.371 GB, free: 6.531 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000618/0.4617, allocations: 343.7 kB / 1.371 GB, free: 6.152 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4617, allocations: 0 / 1.371 GB, free: 6.152 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002892/0.462, allocations: 165 kB / 1.372 GB, free: 5.973 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.4622, allocations: 19.92 kB / 1.372 GB, free: 5.953 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006643/0.4629, allocations: 278.8 kB / 1.372 GB, free: 5.641 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.591e-05/0.463, allocations: 77.58 kB / 1.372 GB, free: 5.547 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.991e-05/0.4631, allocations: 15.44 kB / 1.372 GB, free: 5.531 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.4631, allocations: 0 / 1.372 GB, free: 5.531 MB / 1.061 GB Notification: Performance of Templates: time 0.004096/0.4672, allocations: 1.499 MB / 1.373 GB, free: 4.039 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_NumberOfRequests.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.523451623041183]