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.001075/0.001075, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001542/0.002617, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001121/0.001121, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00143/0.002551, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9482/0.9482, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09323/1.041, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.825/1.825, allocations: 378.3 MB / 0.6079 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5024/2.328, allocations: 123.3 MB / 0.7283 GB, free: 5.73 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.|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.[0-9,]+.|numReq.y",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.7296 GB, free: 4.449 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.317e-05, allocations: 4.703 kB / 0.7296 GB, free: 4.445 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003575/0.003598, allocations: 1.586 MB / 0.7312 GB, free: 2.879 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.004601, allocations: 0.5142 MB / 0.7317 GB, free: 2.367 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.673e-05/0.004698, allocations: 7.938 kB / 0.7317 GB, free: 2.359 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.884e-05/0.004777, allocations: 4.703 kB / 0.7317 GB, free: 2.355 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.941e-05/0.004846, allocations: 19.5 kB / 0.7317 GB, free: 2.344 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.005115, allocations: 47.81 kB / 0.7317 GB, free: 2.297 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.005369, allocations: 109.7 kB / 0.7318 GB, free: 2.203 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.468e-05/0.005463, allocations: 8.188 kB / 0.7319 GB, free: 2.195 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002772/0.005741, allocations: 83.8 kB / 0.7319 GB, free: 2.113 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.005846, allocations: 32.39 kB / 0.732 GB, free: 2.082 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.005873, allocations: 8 kB / 0.732 GB, free: 2.074 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.503e-05/0.005948, allocations: 21.33 kB / 0.732 GB, free: 2.055 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.899e-05/0.005997, allocations: 11.94 kB / 0.732 GB, free: 2.043 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.865e-05/0.006046, allocations: 20 kB / 0.732 GB, free: 2.023 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.006217, allocations: 60.45 kB / 0.7321 GB, free: 1.965 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.557e-05/0.006233, allocations: 4 kB / 0.7321 GB, free: 1.961 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.763e-06/0.006235, allocations: 0.7812 kB / 0.7321 GB, free: 1.961 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.697e-05/0.006252, allocations: 0 / 0.7321 GB, free: 1.961 MB / 0.698 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.0008426/0.007094, allocations: 364.3 kB / 0.7324 GB, free: 1.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.007134, allocations: 12.91 kB / 0.7324 GB, free: 1.559 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.007318, allocations: 98.03 kB / 0.7325 GB, free: 1.445 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.00751, allocations: 130.5 kB / 0.7327 GB, free: 1.293 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.007525, allocations: 5.625 kB / 0.7327 GB, free: 1.289 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.007548, allocations: 16.31 kB / 0.7327 GB, free: 1.273 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.007753, allocations: 124.6 kB / 0.7328 GB, free: 1.137 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.007761, allocations: 0.7188 kB / 0.7328 GB, free: 1.137 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.007776, allocations: 8.125 kB / 0.7328 GB, free: 1.129 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.007782, allocations: 1.719 kB / 0.7328 GB, free: 1.129 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.448e-05/0.007856, allocations: 57.67 kB / 0.7329 GB, free: 1.066 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.008177, allocations: 183.1 kB / 0.733 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.008296, allocations: 85.06 kB / 0.7331 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.882e-05/0.008355, allocations: 58.67 kB / 0.7332 GB, free: 0.707 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.008368, allocations: 0.5 kB / 0.7332 GB, free: 0.707 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.008549, allocations: 118.7 kB / 0.7333 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 2.154e-06/0.008551, allocations: 0 / 0.7333 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0002414/0.008793, allocations: 202.7 kB / 0.7335 GB, free: 360 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.008825, allocations: 55.41 kB / 0.7335 GB, free: 292 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.925e-05/0.008914, allocations: 134.2 kB / 0.7337 GB, free: 148 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.008935, allocations: 29.7 kB / 0.7337 GB, free: 112 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.374e-05/0.008999, allocations: 105.3 kB / 0.7338 GB, free: 4 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.009032, allocations: 16.08 kB / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.745e-05/0.009089, allocations: 25.7 kB / 0.7338 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.236e-05/0.009181, allocations: 322.8 kB / 0.7341 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.79e-05/0.009249, allocations: 81.14 kB / 0.7342 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.603e-05/0.009315, allocations: 83.39 kB / 0.7343 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.009437, allocations: 144.7 kB / 0.7344 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.00944, allocations: 0 / 0.7344 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001858/0.009625, allocations: 213.4 kB / 0.7346 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.672e-05/0.009682, allocations: 67.39 kB / 0.7347 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.009689, allocations: 3.984 kB / 0.7347 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.009703, allocations: 0.6562 kB / 0.7347 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.101e-05/0.009794, allocations: 15.98 kB / 0.7347 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.297e-06/0.009798, allocations: 1.125 kB / 0.7347 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.55e-05/0.009883, allocations: 15.98 kB / 0.7347 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.009898, allocations: 12.56 kB / 0.7348 GB, free: 14.92 MB / 0.7136 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.0001006/0.009999, allocations: 151.6 kB / 0.7349 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.01002, allocations: 19.86 kB / 0.7349 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/0.01005, allocations: 12.78 kB / 0.7349 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.01006, allocations: 1.031 kB / 0.7349 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.01006, allocations: 0 / 0.7349 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01006, allocations: 0 / 0.7349 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.474e-05/0.01015, allocations: 86.34 kB / 0.735 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.01016, allocations: 5.406 kB / 0.735 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.001e-05/0.01021, allocations: 7.984 kB / 0.735 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.27e-05/0.01022, allocations: 7.953 kB / 0.735 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.01023, allocations: 3.938 kB / 0.735 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.01024, allocations: 8.516 kB / 0.735 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01024, allocations: 1.219 kB / 0.735 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.01024, allocations: 0 / 0.735 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.01044, allocations: 180.7 kB / 0.7352 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.01046, allocations: 11.92 kB / 0.7352 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.824e-05/0.01053, allocations: 12.86 kB / 0.7352 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.01063, allocations: 41.14 kB / 0.7353 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.01064, allocations: 0 / 0.7353 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.39e-05/0.01068, allocations: 28.83 kB / 0.7353 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01068, allocations: 0.75 kB / 0.7353 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000183/0.01086, allocations: 24 kB / 0.7353 GB, free: 14.27 MB / 0.7136 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.0001073/0.01097, allocations: 85.16 kB / 0.7354 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002449/0.01121, allocations: 269.3 kB / 0.7357 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.01122, allocations: 1.594 kB / 0.7357 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.01135, allocations: 137.8 kB / 0.7358 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.01153, allocations: 91.31 kB / 0.7359 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009717/0.0125, allocations: 240 kB / 0.7361 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.684e-05/0.01254, allocations: 59.34 kB / 0.7362 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.121e-05/0.01258, allocations: 10.98 kB / 0.7362 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.01271, allocations: 83.36 kB / 0.7363 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of SimCode: time 7.21e-07/0.01271, allocations: 0 / 0.7363 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of Templates: time 0.005123/0.01783, allocations: 2.142 MB / 0.7384 GB, free: 11.13 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests/Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.764460490085185]