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.001991/0.001991, allocations: 83.69 kB / 20.23 MB, free: 4.18 MB / 18.57 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.00216/0.00216, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.561/1.561, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.864/2.864, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/3.004e-05, allocations: 7.375 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002841/0.002871, allocations: 1.512 MB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001016/0.003887, allocations: 0.5003 MB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.338e-05/0.003941, allocations: 0 / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.811e-05/0.004039, allocations: 7.922 kB / 0.7883 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.574e-05/0.004105, allocations: 21.42 kB / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.004359, allocations: 47.81 kB / 0.7884 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.004548, allocations: 106.2 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.219e-05/0.00464, allocations: 12.17 kB / 0.7885 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.004865, allocations: 71.81 kB / 0.7886 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.091e-05/0.004956, allocations: 35.89 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.108e-05/0.004987, allocations: 8 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.864e-05/0.005036, allocations: 8 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.418e-05/0.00508, allocations: 17.67 kB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.947e-05/0.00515, allocations: 27.97 kB / 0.7887 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.005346, allocations: 99.73 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.005348, allocations: 4 kB / 0.7888 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.91e-07/0.005349, allocations: 0 / 0.7888 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.005353, allocations: 0.5938 kB / 0.7888 GB, free: 10.38 MB / 0.7448 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.0007525/0.006106, allocations: 472.7 kB / 0.7892 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.006145, allocations: 15.97 kB / 0.7892 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.00631, allocations: 28.81 kB / 0.7892 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.006529, allocations: 133.8 kB / 0.7894 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.006544, allocations: 4.375 kB / 0.7894 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.006568, allocations: 12.38 kB / 0.7894 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003064/0.006875, allocations: 132.8 kB / 0.7895 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.006883, allocations: 192 / 0.7895 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.006906, allocations: 16.92 kB / 0.7895 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.00691, allocations: 0 / 0.7895 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002702/0.00718, allocations: 108.2 kB / 0.7896 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005716/0.007752, allocations: 319.6 kB / 0.7899 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/0.008063, allocations: 128.7 kB / 0.7901 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.00826, allocations: 101.9 kB / 0.7902 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.008277, allocations: 0 / 0.7902 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003117/0.008589, allocations: 155.4 kB / 0.7903 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/0.00859, allocations: 0.5312 kB / 0.7903 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0007507/0.009341, allocations: 324.3 kB / 0.7906 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/0.009415, allocations: 85.11 kB / 0.7907 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.009596, allocations: 197.9 kB / 0.7909 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/0.009636, allocations: 30.3 kB / 0.7909 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.009744, allocations: 146.8 kB / 0.7911 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.009768, allocations: 16.69 kB / 0.7911 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.861e-05/0.009847, allocations: 39.36 kB / 0.7911 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002587/0.01011, allocations: 0.4934 MB / 0.7916 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.01032, allocations: 115.4 kB / 0.7917 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.01052, allocations: 128.7 kB / 0.7918 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.01084, allocations: 172.8 kB / 0.792 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01084, allocations: 1.75 kB / 0.792 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005494/0.01139, allocations: 316.3 kB / 0.7923 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.744e-05/0.01146, allocations: 67.39 kB / 0.7924 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.01146, allocations: 0 / 0.7924 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.01148, allocations: 0.875 kB / 0.7924 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.01159, allocations: 15.98 kB / 0.7924 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.0116, allocations: 0.8125 kB / 0.7924 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.01173, allocations: 21.2 kB / 0.7924 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.01175, allocations: 8.156 kB / 0.7924 GB, free: 6.305 MB / 0.7448 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.0001634/0.01191, allocations: 194.2 kB / 0.7926 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/0.01196, allocations: 28.72 kB / 0.7926 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/0.01199, allocations: 12.77 kB / 0.7926 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.01199, allocations: 1.219 kB / 0.7926 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.01199, allocations: 0 / 0.7926 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.012, allocations: 4 kB / 0.7926 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.01215, allocations: 140.7 kB / 0.7928 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.01215, allocations: 5.312 kB / 0.7928 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.025e-05/0.01222, allocations: 15.86 kB / 0.7928 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.01223, allocations: 0 / 0.7928 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.01224, allocations: 5.688 kB / 0.7928 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.01224, allocations: 0 / 0.7928 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.01225, allocations: 3.984 kB / 0.7928 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005325/0.01278, allocations: 282.7 kB / 0.7931 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.763e-05/0.0128, allocations: 7.891 kB / 0.7931 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.01283, allocations: 8 kB / 0.7931 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.01294, allocations: 19.98 kB / 0.7931 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.01308, allocations: 35.95 kB / 0.7931 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.0131, allocations: 7.984 kB / 0.7931 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001058/0.0132, allocations: 147.2 kB / 0.7933 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.0132, allocations: 0.5 kB / 0.7933 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000206/0.01341, allocations: 24.53 kB / 0.7933 GB, free: 5.305 MB / 0.7448 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.0001334/0.01354, allocations: 107.2 kB / 0.7934 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005686/0.01411, allocations: 347.5 kB / 0.7937 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01411, allocations: 0 / 0.7937 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002787/0.01439, allocations: 177.3 kB / 0.7939 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.0146, allocations: 16.7 kB / 0.7939 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005545/0.01515, allocations: 259.2 kB / 0.7942 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.187e-05/0.01524, allocations: 79.33 kB / 0.7942 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.906e-05/0.01529, allocations: 7.984 kB / 0.7943 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.914e-05/0.01533, allocations: 18.39 kB / 0.7943 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/0.01533, allocations: 0 / 0.7943 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of Templates: time 0.005598/0.02093, allocations: 2.052 MB / 0.7963 GB, free: 2.168 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] 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/jenkins/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: 7.984024475910701]