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.001869/0.001869, allocations: 79.81 kB / 19.76 MB, free: 2.031 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.002197/0.002197, allocations: 157.6 kB / 23.01 MB, free: 4.945 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.46/1.46, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.813/2.813, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.1.|numReq.u.2.|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.1.|numReq.u.2.|numReq.y",fileNamePrefix="Buildings_12_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.002127/0.002127, allocations: 63.91 kB / 0.9819 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.126/1.128, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003414/1.132, allocations: 1.495 MB / 1.155 GB, free: 32.29 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001176/1.133, allocations: 494.3 kB / 1.156 GB, free: 31.97 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.899e-05/1.133, allocations: 7.938 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/1.133, allocations: 7.359 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.482e-05/1.133, allocations: 10.78 kB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/1.133, allocations: 53.64 kB / 1.156 GB, free: 31.92 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002038/1.134, allocations: 104.5 kB / 1.156 GB, free: 31.87 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/1.134, allocations: 10 kB / 1.156 GB, free: 31.87 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/1.134, allocations: 54.36 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/1.134, allocations: 42.19 kB / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.451e-05/1.134, allocations: 8.656 kB / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.328e-05/1.134, allocations: 11.97 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.429e-05/1.134, allocations: 16.12 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.826e-05/1.134, allocations: 36.8 kB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002083/1.135, allocations: 87.69 kB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.135, allocations: 0 / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.693e-06/1.135, allocations: 0 / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.673e-06/1.135, allocations: 2.625 kB / 1.156 GB, free: 31.76 MB / 1.076 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.0008147/1.135, allocations: 379.1 kB / 1.157 GB, free: 31.41 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/1.135, allocations: 8.406 kB / 1.157 GB, free: 31.41 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002426/1.136, allocations: 27.83 kB / 1.157 GB, free: 31.4 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/1.136, allocations: 136.4 kB / 1.157 GB, free: 31.26 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/1.136, allocations: 7.156 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/1.136, allocations: 9.906 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004178/1.136, allocations: 145.4 kB / 1.157 GB, free: 31.16 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/1.136, allocations: 0 / 1.157 GB, free: 31.16 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/1.136, allocations: 6.797 kB / 1.157 GB, free: 31.16 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/1.136, allocations: 6.688 kB / 1.157 GB, free: 31.16 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004746/1.137, allocations: 122.1 kB / 1.157 GB, free: 31.1 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000604/1.138, allocations: 259.9 kB / 1.157 GB, free: 30.88 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004572/1.138, allocations: 133.7 kB / 1.157 GB, free: 30.8 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003077/1.138, allocations: 95.92 kB / 1.158 GB, free: 30.75 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/1.138, allocations: 2.812 kB / 1.158 GB, free: 30.75 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004269/1.139, allocations: 157.9 kB / 1.158 GB, free: 30.64 MB / 1.076 GB Notification: Performance of pre-optimization done (n=6): time 2.084e-06/1.139, allocations: 0 / 1.158 GB, free: 30.64 MB / 1.076 GB Notification: Performance of matching and sorting (n=6): time 0.001151/1.14, allocations: 336.2 kB / 1.158 GB, free: 30.46 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/1.14, allocations: 87.42 kB / 1.158 GB, free: 30.37 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/1.14, allocations: 134.6 kB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/1.14, allocations: 28.27 kB / 1.158 GB, free: 30.22 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.95e-05/1.14, allocations: 102.2 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/1.14, allocations: 14.78 kB / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-05/1.14, allocations: 30.16 kB / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.159e-05/1.14, allocations: 328.8 kB / 1.159 GB, free: 29.77 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003335/1.141, allocations: 122.2 kB / 1.159 GB, free: 29.69 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003206/1.141, allocations: 127.2 kB / 1.159 GB, free: 29.6 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005379/1.142, allocations: 189.4 kB / 1.159 GB, free: 29.47 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.142, allocations: 0 / 1.159 GB, free: 29.47 MB / 1.076 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008269/1.142, allocations: 319.1 kB / 1.159 GB, free: 29.27 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.625e-05/1.142, allocations: 65.95 kB / 1.159 GB, free: 29.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/1.142, allocations: 2.969 kB / 1.159 GB, free: 29.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/1.142, allocations: 0 / 1.159 GB, free: 29.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/1.143, allocations: 19.16 kB / 1.159 GB, free: 29.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/1.143, allocations: 3.938 kB / 1.159 GB, free: 29.19 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/1.143, allocations: 29.06 kB / 1.16 GB, free: 29.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/1.143, allocations: 5.594 kB / 1.16 GB, free: 29.18 MB / 1.076 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.0001285/1.143, allocations: 156.4 kB / 1.16 GB, free: 29.03 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/1.143, allocations: 5.938 kB / 1.16 GB, free: 29.03 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.471e-05/1.143, allocations: 11.56 kB / 1.16 GB, free: 29.02 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/1.143, allocations: 0 / 1.16 GB, free: 29.02 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.143, allocations: 4 kB / 1.16 GB, free: 29.01 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/1.143, allocations: 0 / 1.16 GB, free: 29.01 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/1.143, allocations: 137.9 kB / 1.16 GB, free: 28.87 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.143, allocations: 0 / 1.16 GB, free: 28.87 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/1.143, allocations: 15.97 kB / 1.16 GB, free: 28.87 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/1.143, allocations: 0 / 1.16 GB, free: 28.87 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/1.143, allocations: 6.359 kB / 1.16 GB, free: 28.87 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.143, allocations: 96 / 1.16 GB, free: 28.87 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.143, allocations: 3.938 kB / 1.16 GB, free: 28.86 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007667/1.144, allocations: 288.7 kB / 1.16 GB, free: 28.68 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.306e-05/1.144, allocations: 10.8 kB / 1.16 GB, free: 28.68 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/1.144, allocations: 2.812 kB / 1.16 GB, free: 28.68 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/1.144, allocations: 22.48 kB / 1.16 GB, free: 28.67 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/1.145, allocations: 32.09 kB / 1.16 GB, free: 28.66 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/1.145, allocations: 6.375 kB / 1.16 GB, free: 28.66 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.281e-05/1.145, allocations: 105 kB / 1.16 GB, free: 28.58 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.8e-07/1.145, allocations: 0 / 1.16 GB, free: 28.58 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004019/1.145, allocations: 24.5 kB / 1.16 GB, free: 28.58 MB / 1.076 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.000106/1.145, allocations: 108.2 kB / 1.16 GB, free: 28.48 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007884/1.146, allocations: 347.7 kB / 1.161 GB, free: 28.22 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.146, allocations: 0 / 1.161 GB, free: 28.22 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000386/1.146, allocations: 162.6 kB / 1.161 GB, free: 28.11 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/1.147, allocations: 21.97 kB / 1.161 GB, free: 28.09 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007181/1.147, allocations: 251.3 kB / 1.161 GB, free: 27.91 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.387e-05/1.147, allocations: 82.92 kB / 1.161 GB, free: 27.84 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.847e-05/1.148, allocations: 12.86 kB / 1.161 GB, free: 27.83 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.403e-05/1.148, allocations: 11.12 kB / 1.161 GB, free: 27.82 MB / 1.076 GB Notification: Performance of SimCode: time 4.41e-07/1.148, allocations: 7.938 kB / 1.161 GB, free: 27.82 MB / 1.076 GB Notification: Performance of Templates: time 0.007093/1.155, allocations: 2.033 MB / 1.163 GB, free: 27.59 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.NumberOfRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_NumberOfRequests.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.037116460036486]