Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.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.001894/0.001894, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.001989/0.001989, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.552/1.552, allocations: 177.1 MB / 203.1 MB, free: 5.406 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.349/3.349, allocations: 429.5 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round") translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.8775 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.933e-05/3.075e-05, allocations: 6.938 kB / 0.8775 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001743/0.001774, allocations: 0.6119 MB / 0.8781 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002707/0.002045, allocations: 60.61 kB / 0.8782 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.848e-05/0.002063, allocations: 1.344 kB / 0.8782 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.662e-05/0.00208, allocations: 3.938 kB / 0.8782 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.786e-06/0.002088, allocations: 0 / 0.8782 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.002343, allocations: 23.94 kB / 0.8782 GB, free: 5.934 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.698e-05/0.00239, allocations: 8.641 kB / 0.8782 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.856e-05/0.002428, allocations: 4 kB / 0.8782 GB, free: 5.922 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.783e-05/0.002466, allocations: 12.75 kB / 0.8782 GB, free: 5.91 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.094e-05/0.002517, allocations: 8.531 kB / 0.8782 GB, free: 5.902 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.00253, allocations: 5.25 kB / 0.8782 GB, free: 5.898 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.14e-05/0.002602, allocations: 8 kB / 0.8782 GB, free: 5.891 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.002619, allocations: 3.984 kB / 0.8782 GB, free: 5.887 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.873e-05/0.002638, allocations: 4.531 kB / 0.8782 GB, free: 5.883 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.397e-05/0.002732, allocations: 23.86 kB / 0.8783 GB, free: 5.859 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.002734, allocations: 0.875 kB / 0.8783 GB, free: 5.859 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.42e-07/0.002735, allocations: 0 / 0.8783 GB, free: 5.859 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.002741, allocations: 4 kB / 0.8783 GB, free: 5.855 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004418/0.003183, allocations: 353.4 kB / 0.8786 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.003219, allocations: 8.031 kB / 0.8786 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.003264, allocations: 9.984 kB / 0.8786 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.003364, allocations: 104.6 kB / 0.8787 GB, free: 5.328 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.003379, allocations: 4.375 kB / 0.8787 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.00339, allocations: 5.5 kB / 0.8787 GB, free: 5.32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.00354, allocations: 84.62 kB / 0.8788 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.00355, allocations: 192 / 0.8788 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.003563, allocations: 9.391 kB / 0.8788 GB, free: 5.203 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.003568, allocations: 384 / 0.8788 GB, free: 5.203 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.027e-05/0.003608, allocations: 16.56 kB / 0.8788 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002222/0.00383, allocations: 147.5 kB / 0.879 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.004013, allocations: 143.6 kB / 0.8791 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.274e-05/0.004086, allocations: 46.56 kB / 0.8792 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001368/0.004223, allocations: 11.98 kB / 0.8792 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/0.00427, allocations: 41.33 kB / 0.8792 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.004271, allocations: 0 / 0.8792 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0002182/0.00449, allocations: 70.53 kB / 0.8793 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.004616, allocations: 166.1 kB / 0.8794 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.697e-05/0.004713, allocations: 142.8 kB / 0.8796 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.004735, allocations: 27.11 kB / 0.8796 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.295e-05/0.004808, allocations: 130.9 kB / 0.8797 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.633e-05/0.004855, allocations: 19.89 kB / 0.8797 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.004903, allocations: 23.38 kB / 0.8798 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0005503/0.005453, allocations: 0.4889 MB / 0.8802 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.083e-05/0.005474, allocations: 7.938 kB / 0.8802 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.484e-05/0.005539, allocations: 51.94 kB / 0.8803 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.005649, allocations: 67.64 kB / 0.8804 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.005651, allocations: 0 / 0.8804 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001229/0.005774, allocations: 70.77 kB / 0.8804 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.005792, allocations: 8.781 kB / 0.8804 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.005798, allocations: 0 / 0.8804 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.005813, allocations: 4 kB / 0.8804 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.073e-05/0.005894, allocations: 11.98 kB / 0.8805 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.005902, allocations: 4 kB / 0.8805 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.274e-05/0.005935, allocations: 3.938 kB / 0.8805 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.005945, allocations: 7.938 kB / 0.8805 GB, free: 3.246 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0001168/0.006061, allocations: 160.6 kB / 0.8806 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.924e-05/0.006081, allocations: 7.984 kB / 0.8806 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002144/0.006295, allocations: 92.55 kB / 0.8807 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.0063, allocations: 4 kB / 0.8807 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.006304, allocations: 0 / 0.8807 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.00631, allocations: 3.984 kB / 0.8807 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.006466, allocations: 132.5 kB / 0.8809 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.00647, allocations: 4 kB / 0.8809 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.151e-05/0.006542, allocations: 15.98 kB / 0.8809 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.006544, allocations: 0 / 0.8809 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.006558, allocations: 8.141 kB / 0.8809 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.006565, allocations: 11.94 kB / 0.8809 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.006568, allocations: 4 kB / 0.8809 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.006767, allocations: 147.1 kB / 0.881 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.329e-05/0.00678, allocations: 11.98 kB / 0.881 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.006792, allocations: 0 / 0.881 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.714e-05/0.006829, allocations: 8 kB / 0.8811 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.006857, allocations: 11.92 kB / 0.8811 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.006862, allocations: 0 / 0.8811 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.125e-05/0.006923, allocations: 123.2 kB / 0.8812 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.006923, allocations: 0 / 0.8812 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001986/0.007122, allocations: 12 kB / 0.8812 GB, free: 2.41 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001665/0.007288, allocations: 99.19 kB / 0.8813 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001271/0.007416, allocations: 47.55 kB / 0.8813 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.007418, allocations: 0 / 0.8813 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.532e-05/0.007483, allocations: 35.7 kB / 0.8814 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.007632, allocations: 15.58 kB / 0.8814 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.00798, allocations: 176.9 kB / 0.8816 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.981e-05/0.008049, allocations: 67.33 kB / 0.8816 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.406e-05/0.008083, allocations: 4 kB / 0.8816 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.008111, allocations: 12.5 kB / 0.8816 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/0.008112, allocations: 4 kB / 0.8816 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of Templates: time 0.003281/0.01139, allocations: 0.5653 MB / 0.8822 GB, free: 1.32 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.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.223750806995668]