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.001882/0.001882, 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.002409/0.002409, allocations: 210.3 kB / 22.24 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.547/1.547, allocations: 230.6 MB / 256 MB, free: 7.781 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.639/3.639, allocations: 0.5107 GB / 0.8158 GB, free: 17.77 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.002135/0.002135, allocations: 69.97 kB / 1.186 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4264/0.4285, allocations: 181.9 MB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002897/0.4314, allocations: 1.49 MB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.4324, allocations: 0.491 MB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.977e-05/0.4325, allocations: 0 / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.082e-05/0.4326, allocations: 3.938 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.72e-05/0.4327, allocations: 19.84 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.4329, allocations: 47.89 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.4331, allocations: 107.7 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.4333, allocations: 8.172 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.4334, allocations: 55.84 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.916e-05/0.4335, allocations: 39.83 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.4336, allocations: 8 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.857e-05/0.4336, allocations: 8 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.487e-05/0.4336, allocations: 19.91 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.972e-05/0.4337, allocations: 35.91 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.4339, allocations: 91.58 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4339, allocations: 0 / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4339, allocations: 0 / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.4339, allocations: 4 kB / 1.366 GB, free: 11.13 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.0007809/0.4347, allocations: 385.4 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.4347, allocations: 8.031 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.4349, allocations: 20.88 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.4352, allocations: 137.5 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.4352, allocations: 4.375 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.4352, allocations: 20.34 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.4356, allocations: 152.5 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.4356, allocations: 0 / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.4356, allocations: 0 / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.4356, allocations: 4 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003217/0.4359, allocations: 113.6 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005409/0.4365, allocations: 272.3 kB / 1.367 GB, free: 9.926 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003589/0.4368, allocations: 136.1 kB / 1.367 GB, free: 9.777 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.437, allocations: 102.6 kB / 1.367 GB, free: 9.668 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.4371, allocations: 0 / 1.367 GB, free: 9.668 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003256/0.4374, allocations: 153 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.4374, allocations: 3.938 kB / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0008015/0.4382, allocations: 334.6 kB / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.401e-05/0.4383, allocations: 89.09 kB / 1.368 GB, free: 9.039 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.4384, allocations: 126.1 kB / 1.368 GB, free: 8.902 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.4384, allocations: 33.7 kB / 1.368 GB, free: 8.863 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.46e-05/0.4385, allocations: 96.09 kB / 1.368 GB, free: 8.766 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.4385, allocations: 19.83 kB / 1.368 GB, free: 8.746 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.506e-05/0.4386, allocations: 29.72 kB / 1.368 GB, free: 8.711 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.4388, allocations: 326.7 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.439, allocations: 127.3 kB / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.4392, allocations: 127.4 kB / 1.369 GB, free: 8.109 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003539/0.4396, allocations: 181.8 kB / 1.369 GB, free: 7.91 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4396, allocations: 0 / 1.369 GB, free: 7.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005664/0.4401, allocations: 324.3 kB / 1.369 GB, free: 7.562 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.331e-05/0.4402, allocations: 67.34 kB / 1.369 GB, free: 7.484 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.4402, allocations: 0 / 1.369 GB, free: 7.484 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.823e-05/0.4403, allocations: 4 kB / 1.369 GB, free: 7.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.4404, allocations: 15.97 kB / 1.369 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.4404, allocations: 0 / 1.369 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.4406, allocations: 20.08 kB / 1.369 GB, free: 7.445 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.4406, allocations: 7.938 kB / 1.369 GB, free: 7.438 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.0001787/0.4408, allocations: 160.6 kB / 1.37 GB, free: 7.266 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.4408, allocations: 11.95 kB / 1.37 GB, free: 7.254 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.23e-05/0.4408, allocations: 12.7 kB / 1.37 GB, free: 7.234 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.4408, allocations: 0 / 1.37 GB, free: 7.234 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.4408, allocations: 0 / 1.37 GB, free: 7.234 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.4408, allocations: 0 / 1.37 GB, free: 7.234 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.441, allocations: 137.3 kB / 1.37 GB, free: 7.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.441, allocations: 0 / 1.37 GB, free: 7.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.639e-05/0.4411, allocations: 11.98 kB / 1.37 GB, free: 7.059 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4411, allocations: 0 / 1.37 GB, free: 7.059 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.4411, allocations: 8.25 kB / 1.37 GB, free: 7.051 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4411, allocations: 0 / 1.37 GB, free: 7.051 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.391e-06/0.4411, allocations: 7.938 kB / 1.37 GB, free: 7.043 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005868/0.4417, allocations: 280.3 kB / 1.37 GB, free: 6.738 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.35e-05/0.4417, allocations: 11.89 kB / 1.37 GB, free: 6.727 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.4418, allocations: 4 kB / 1.37 GB, free: 6.723 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.4419, allocations: 19.97 kB / 1.37 GB, free: 6.703 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/0.4421, allocations: 43.95 kB / 1.37 GB, free: 6.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.4421, allocations: 0 / 1.37 GB, free: 6.66 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.89e-05/0.4422, allocations: 103.3 kB / 1.37 GB, free: 6.559 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4422, allocations: 0 / 1.37 GB, free: 6.559 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002559/0.4425, allocations: 24 kB / 1.37 GB, free: 6.535 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.0001576/0.4426, allocations: 95.25 kB / 1.37 GB, free: 6.434 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006685/0.4433, allocations: 351.7 kB / 1.371 GB, free: 6.047 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4433, allocations: 8 kB / 1.371 GB, free: 6.039 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002928/0.4436, allocations: 157 kB / 1.371 GB, free: 5.867 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.4438, allocations: 22.98 kB / 1.371 GB, free: 5.848 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007484/0.4446, allocations: 253.1 kB / 1.371 GB, free: 5.566 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.4447, allocations: 75.31 kB / 1.371 GB, free: 5.473 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.206e-05/0.4447, allocations: 8 kB / 1.371 GB, free: 5.465 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.002e-05/0.4448, allocations: 19.42 kB / 1.371 GB, free: 5.445 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/0.4448, allocations: 0 / 1.371 GB, free: 5.445 MB / 1.061 GB Notification: Performance of Templates: time 0.006222/0.451, allocations: 2.085 MB / 1.373 GB, free: 3.391 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/jenkins/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: 10.035448215901852]