Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 111.2 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.736/2.736, allocations: 443.5 MB / 0.7304 GB, free: 13.84 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.Continuous.Examples.NumberOfRequests") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003056/0.003056, allocations: 63.91 kB / 1.059 GB, free: 384 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.4009, allocations: 160.7 MB / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003073/0.404, allocations: 1.501 MB / 1.218 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008937/0.4049, allocations: 475.9 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.041e-05/0.405, allocations: 0 / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.382e-05/0.4051, allocations: 7.938 kB / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.748e-05/0.4051, allocations: 7.875 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.4053, allocations: 35.89 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.4055, allocations: 107.7 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.4056, allocations: 12.17 kB / 1.218 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.4058, allocations: 47.84 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.828e-05/0.4059, allocations: 39.89 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.4059, allocations: 8 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.771e-05/0.406, allocations: 15.94 kB / 1.218 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.235e-05/0.406, allocations: 15.91 kB / 1.218 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.822e-05/0.4061, allocations: 39.8 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.4062, allocations: 83.69 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4063, allocations: 4 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4063, allocations: 0 / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.4063, allocations: 0 / 1.218 GB, free: 12.94 MB / 0.9669 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.0007708/0.407, allocations: 450.5 kB / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.4071, allocations: 12.03 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.283e-05/0.4071, allocations: 8.891 kB / 1.219 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.4073, allocations: 188.2 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.4073, allocations: 4.375 kB / 1.219 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.4074, allocations: 12.38 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003152/0.4077, allocations: 117.7 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.4077, allocations: 0 / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.4077, allocations: 15.94 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.4077, allocations: 0 / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000371/0.4081, allocations: 87.91 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005449/0.4086, allocations: 332.7 kB / 1.22 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.4089, allocations: 98.52 kB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.4091, allocations: 72.88 kB / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.4091, allocations: 0 / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003556/0.4095, allocations: 123.3 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.4095, allocations: 4 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0007054/0.4102, allocations: 271.2 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.4103, allocations: 89.03 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.4104, allocations: 128.7 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.4104, allocations: 37.69 kB / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.254e-05/0.4105, allocations: 100 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.4105, allocations: 19.84 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.102e-05/0.4106, allocations: 33.7 kB / 1.221 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4107, allocations: 318.8 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.4109, allocations: 67.95 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.4111, allocations: 63.95 kB / 1.221 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003368/0.4115, allocations: 185.9 kB / 1.221 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4115, allocations: 0 / 1.221 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005124/0.412, allocations: 260.9 kB / 1.221 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.709e-05/0.412, allocations: 59.41 kB / 1.221 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.412, allocations: 4.078 kB / 1.221 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.4121, allocations: 3.938 kB / 1.221 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.4122, allocations: 23.98 kB / 1.221 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.4122, allocations: 0 / 1.221 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.4123, allocations: 15.98 kB / 1.221 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.4124, allocations: 8.234 kB / 1.221 GB, free: 9.496 MB / 0.9669 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.0001647/0.4125, allocations: 163.4 kB / 1.222 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.4125, allocations: 7.953 kB / 1.222 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.472e-05/0.4126, allocations: 16.36 kB / 1.222 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.4126, allocations: 0 / 1.222 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4126, allocations: 8 kB / 1.222 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4126, allocations: 0 / 1.222 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.4128, allocations: 197.6 kB / 1.222 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4128, allocations: 0 / 1.222 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.296e-05/0.4129, allocations: 11.98 kB / 1.222 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4129, allocations: 0 / 1.222 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.4129, allocations: 8 kB / 1.222 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4129, allocations: 0 / 1.222 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4129, allocations: 0 / 1.222 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004985/0.4134, allocations: 250.6 kB / 1.222 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.084e-05/0.4135, allocations: 81.06 kB / 1.222 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/0.4135, allocations: 7.984 kB / 1.222 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.4136, allocations: 19.98 kB / 1.222 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.4138, allocations: 39.89 kB / 1.222 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.4138, allocations: 4 kB / 1.222 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.396e-05/0.4138, allocations: 103.3 kB / 1.222 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.4138, allocations: 0 / 1.222 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002159/0.4141, allocations: 31.88 kB / 1.222 GB, free: 8.457 MB / 0.9669 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.0001268/0.4142, allocations: 103.2 kB / 1.222 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005326/0.4147, allocations: 250.7 kB / 1.223 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4147, allocations: 4 kB / 1.223 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002641/0.415, allocations: 135.3 kB / 1.223 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.4152, allocations: 16.3 kB / 1.223 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005589/0.4158, allocations: 211.1 kB / 1.223 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.4161, allocations: 0.6924 MB / 1.224 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.218e-05/0.4162, allocations: 11.98 kB / 1.224 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.202e-05/0.4162, allocations: 15.44 kB / 1.224 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of SimCode: time 4.41e-07/0.4162, allocations: 0 / 1.224 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of Templates: time 0.004973/0.4212, allocations: 1.931 MB / 1.226 GB, free: 5.012 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Examples_NumberOfRequests.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.624061182141304]