Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001815/0.001815, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002254/0.002254, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.425/1.425, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.641/2.641, allocations: 359.1 MB / 0.6044 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.Round") [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.002152/0.002152, allocations: 71.89 kB / 0.9515 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2759, allocations: 169.9 MB / 1.117 GB, free: 2.613 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001634/0.2775, allocations: 0.5994 MB / 1.118 GB, free: 2.016 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002445/0.2778, allocations: 63.73 kB / 1.118 GB, free: 1.953 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.032e-05/0.2778, allocations: 0 / 1.118 GB, free: 1.953 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.599e-05/0.2778, allocations: 7.938 kB / 1.118 GB, free: 1.945 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.692e-06/0.2778, allocations: 0 / 1.118 GB, free: 1.945 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.278, allocations: 15.98 kB / 1.118 GB, free: 1.93 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.81e-05/0.2781, allocations: 15.97 kB / 1.118 GB, free: 1.914 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.238e-05/0.2781, allocations: 0 / 1.118 GB, free: 1.914 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.506e-05/0.2781, allocations: 4 kB / 1.118 GB, free: 1.91 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.661e-05/0.2782, allocations: 19.86 kB / 1.118 GB, free: 1.891 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.468e-06/0.2782, allocations: 0 / 1.118 GB, free: 1.891 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.049e-05/0.2782, allocations: 8 kB / 1.118 GB, free: 1.883 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.2783, allocations: 7.969 kB / 1.118 GB, free: 1.875 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.928e-05/0.2783, allocations: 12 kB / 1.118 GB, free: 1.863 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 7.51e-05/0.2784, allocations: 15.86 kB / 1.118 GB, free: 1.848 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2784, allocations: 0 / 1.118 GB, free: 1.848 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2784, allocations: 0 / 1.118 GB, free: 1.848 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.2784, allocations: 4 kB / 1.118 GB, free: 1.844 MB / 1.061 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.0003534/0.2787, allocations: 246.4 kB / 1.118 GB, free: 1.57 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.2787, allocations: 8.031 kB / 1.118 GB, free: 1.562 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.2788, allocations: 8.922 kB / 1.118 GB, free: 1.555 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.828e-05/0.2789, allocations: 102.5 kB / 1.119 GB, free: 1.43 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.2789, allocations: 4.312 kB / 1.119 GB, free: 1.426 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.2789, allocations: 12.38 kB / 1.119 GB, free: 1.414 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.279, allocations: 70.48 kB / 1.119 GB, free: 1.324 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.279, allocations: 192 / 1.119 GB, free: 1.324 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.2791, allocations: 3.938 kB / 1.119 GB, free: 1.32 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.2791, allocations: 4 kB / 1.119 GB, free: 1.316 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.995e-05/0.2791, allocations: 15.91 kB / 1.119 GB, free: 1.301 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/0.2793, allocations: 136.8 kB / 1.119 GB, free: 1.125 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.2794, allocations: 97 kB / 1.119 GB, free: 0.9844 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.899e-05/0.2794, allocations: 32.42 kB / 1.119 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/0.2796, allocations: 12 kB / 1.119 GB, free: 0.9258 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.2796, allocations: 42.48 kB / 1.119 GB, free: 0.875 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.2796, allocations: 4 kB / 1.119 GB, free: 0.8711 MB / 1.061 GB Notification: Performance of matching and sorting (n=5): time 0.0001962/0.2798, allocations: 69.5 kB / 1.119 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.2799, allocations: 158.2 kB / 1.119 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.06e-05/0.28, allocations: 89.86 kB / 1.119 GB, free: 0.5078 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.28, allocations: 25.7 kB / 1.119 GB, free: 488 kB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.926e-05/0.28, allocations: 92.69 kB / 1.119 GB, free: 392 kB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.222e-05/0.2801, allocations: 19.78 kB / 1.119 GB, free: 372 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.2801, allocations: 21.72 kB / 1.119 GB, free: 344 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.2803, allocations: 318.8 kB / 1.12 GB, free: 16 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.2803, allocations: 4 kB / 1.12 GB, free: 12 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.842e-05/0.2803, allocations: 36.3 kB / 1.12 GB, free: 15.96 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.084e-05/0.2804, allocations: 48.22 kB / 1.12 GB, free: 15.9 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2804, allocations: 0 / 1.12 GB, free: 15.9 MB / 1.076 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001171/0.2805, allocations: 73.64 kB / 1.12 GB, free: 15.82 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.2805, allocations: 8 kB / 1.12 GB, free: 15.81 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.2806, allocations: 4 kB / 1.12 GB, free: 15.81 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.2806, allocations: 0 / 1.12 GB, free: 15.81 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.128e-05/0.2806, allocations: 15.92 kB / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/0.2807, allocations: 7.984 kB / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.932e-05/0.2807, allocations: 0 / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.2807, allocations: 4 kB / 1.12 GB, free: 15.78 MB / 1.076 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 8.068e-05/0.2808, allocations: 114 kB / 1.12 GB, free: 15.66 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.2808, allocations: 4 kB / 1.12 GB, free: 15.66 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.281, allocations: 100.5 kB / 1.12 GB, free: 15.55 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.281, allocations: 3.938 kB / 1.12 GB, free: 15.54 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.281, allocations: 4 kB / 1.12 GB, free: 15.54 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.281, allocations: 0 / 1.12 GB, free: 15.54 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.2811, allocations: 121.4 kB / 1.12 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2811, allocations: 4 kB / 1.12 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.346e-05/0.2812, allocations: 12 kB / 1.12 GB, free: 15.38 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.688e-06/0.2812, allocations: 11.92 kB / 1.12 GB, free: 15.36 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.2812, allocations: 0 / 1.12 GB, free: 15.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.2812, allocations: 4 kB / 1.12 GB, free: 15.36 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.2812, allocations: 7.875 kB / 1.12 GB, free: 15.35 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.2814, allocations: 120.5 kB / 1.12 GB, free: 15.2 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-06/0.2814, allocations: 4 kB / 1.12 GB, free: 15.2 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.2814, allocations: 7.984 kB / 1.12 GB, free: 15.19 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.412e-05/0.2815, allocations: 8 kB / 1.12 GB, free: 15.18 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.2815, allocations: 11.94 kB / 1.12 GB, free: 15.17 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.2815, allocations: 7.984 kB / 1.12 GB, free: 15.16 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.198e-05/0.2816, allocations: 75.28 kB / 1.121 GB, free: 15.09 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.2816, allocations: 3.938 kB / 1.121 GB, free: 15.09 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002118/0.2818, allocations: 4 kB / 1.121 GB, free: 15.08 MB / 1.076 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.0001613/0.2819, allocations: 103.2 kB / 1.121 GB, free: 14.97 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001211/0.282, allocations: 36.11 kB / 1.121 GB, free: 14.94 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.282, allocations: 8.062 kB / 1.121 GB, free: 14.93 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.734e-05/0.2821, allocations: 23.92 kB / 1.121 GB, free: 14.91 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.2822, allocations: 7.938 kB / 1.121 GB, free: 14.9 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002897/0.2825, allocations: 148.2 kB / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.108e-05/0.2826, allocations: 63.34 kB / 1.121 GB, free: 14.63 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.029e-05/0.2826, allocations: 12.3 kB / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.2827, allocations: 12.5 kB / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.2827, allocations: 0 / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of Templates: time 0.002801/0.2855, allocations: 0.5262 MB / 1.121 GB, free: 14.09 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.645226191962138]