Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001605/0.001605, allocations: 102.1 kB / 19.7 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.00202/0.00202, allocations: 220.1 kB / 23.01 MB, free: 4.609 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.827/2.827, allocations: 476.7 MB / 0.7714 GB, free: 4.352 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002049/0.002049, allocations: 66.95 kB / 1.119 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.4017, allocations: 170 MB / 1.285 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003034/0.4047, allocations: 1.521 MB / 1.286 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.4058, allocations: 0.5238 MB / 1.287 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.894e-05/0.4059, allocations: 0 / 1.287 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.406, allocations: 11.92 kB / 1.287 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.375e-05/0.406, allocations: 15.86 kB / 1.287 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/0.4063, allocations: 47.88 kB / 1.287 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000215/0.4065, allocations: 103.8 kB / 1.287 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.4067, allocations: 20.03 kB / 1.287 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.4068, allocations: 51.84 kB / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.407, allocations: 47.77 kB / 1.287 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.407, allocations: 8 kB / 1.287 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.002e-05/0.407, allocations: 12 kB / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.502e-05/0.4071, allocations: 15.97 kB / 1.287 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.327e-05/0.4072, allocations: 43.8 kB / 1.287 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.4073, allocations: 91.69 kB / 1.287 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4073, allocations: 0 / 1.287 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4073, allocations: 0 / 1.287 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.4074, allocations: 0 / 1.287 GB, free: 8.801 MB / 0.9825 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.0007969/0.4081, allocations: 377.4 kB / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.4082, allocations: 8.031 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.4084, allocations: 20.88 kB / 1.287 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.4086, allocations: 142.4 kB / 1.288 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.4086, allocations: 8.312 kB / 1.288 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.4087, allocations: 8.375 kB / 1.288 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.409, allocations: 113.7 kB / 1.288 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.409, allocations: 4 kB / 1.288 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.409, allocations: 0 / 1.288 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.409, allocations: 3.984 kB / 1.288 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003112/0.4093, allocations: 95.86 kB / 1.288 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005908/0.4099, allocations: 303.8 kB / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003228/0.4102, allocations: 98.5 kB / 1.288 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.4104, allocations: 64.94 kB / 1.288 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.4104, allocations: 0 / 1.288 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003056/0.4107, allocations: 127.2 kB / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.4107, allocations: 4 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0007398/0.4115, allocations: 275.2 kB / 1.289 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.083e-05/0.4115, allocations: 85.09 kB / 1.289 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.4117, allocations: 133.2 kB / 1.289 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.4117, allocations: 29.7 kB / 1.289 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.352e-05/0.4118, allocations: 100 kB / 1.289 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.4118, allocations: 19.89 kB / 1.289 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.155e-05/0.4119, allocations: 29.72 kB / 1.289 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.412, allocations: 322.8 kB / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.4122, allocations: 67.95 kB / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.4124, allocations: 67.89 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003575/0.4128, allocations: 185.9 kB / 1.29 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4128, allocations: 0 / 1.29 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005247/0.4133, allocations: 264.9 kB / 1.29 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.888e-05/0.4134, allocations: 63.39 kB / 1.29 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.4134, allocations: 0 / 1.29 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.4134, allocations: 0 / 1.29 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.4135, allocations: 19.98 kB / 1.29 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.4135, allocations: 160 / 1.29 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.4137, allocations: 24.22 kB / 1.29 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.4137, allocations: 4 kB / 1.29 GB, free: 5.539 MB / 0.9825 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.0001505/0.4138, allocations: 159.5 kB / 1.29 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.4139, allocations: 11.95 kB / 1.29 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.855e-05/0.4139, allocations: 12.72 kB / 1.29 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4139, allocations: 3.938 kB / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4139, allocations: 0 / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4139, allocations: 0 / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.4141, allocations: 172.6 kB / 1.29 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4141, allocations: 4 kB / 1.29 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.514e-05/0.4142, allocations: 15.98 kB / 1.29 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.4142, allocations: 3.984 kB / 1.29 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.4142, allocations: 7.938 kB / 1.29 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.4142, allocations: 3.984 kB / 1.29 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4142, allocations: 0 / 1.29 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005095/0.4147, allocations: 250.6 kB / 1.291 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.344e-05/0.4148, allocations: 15.89 kB / 1.291 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.4148, allocations: 0 / 1.291 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.4149, allocations: 23.97 kB / 1.291 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.415, allocations: 35.95 kB / 1.291 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.4151, allocations: 4 kB / 1.291 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.674e-05/0.4151, allocations: 99.27 kB / 1.291 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4151, allocations: 3.938 kB / 1.291 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002168/0.4154, allocations: 35.94 kB / 1.291 GB, free: 4.605 MB / 0.9825 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.0001228/0.4155, allocations: 99.23 kB / 1.291 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005536/0.416, allocations: 258.6 kB / 1.291 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.416, allocations: 0 / 1.291 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002553/0.4163, allocations: 127.4 kB / 1.291 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.4165, allocations: 19.55 kB / 1.291 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005974/0.4171, allocations: 249.1 kB / 1.291 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.4175, allocations: 0.6885 MB / 1.292 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.636e-05/0.4175, allocations: 19.44 kB / 1.292 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.4175, allocations: 0 / 1.292 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of Templates: time 0.003605/0.4211, allocations: 1.476 MB / 1.294 GB, free: 1.59 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_NumberOfRequests.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.450783517007949]