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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 112 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 189.7 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.681/2.681, allocations: 469.8 MB / 0.7427 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.00189, allocations: 73.45 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3108, allocations: 159.2 MB / 1.064 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001859/0.3127, allocations: 0.6503 MB / 1.065 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002574/0.3129, allocations: 63.77 kB / 1.065 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.578e-05/0.313, allocations: 0 / 1.065 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.06e-05/0.313, allocations: 4 kB / 1.065 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.524e-06/0.313, allocations: 0 / 1.065 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.3133, allocations: 19.98 kB / 1.065 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.853e-05/0.3133, allocations: 11.98 kB / 1.065 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/0.3134, allocations: 0 / 1.065 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.359e-05/0.3134, allocations: 7.938 kB / 1.065 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.201e-05/0.3135, allocations: 11.98 kB / 1.065 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.3135, allocations: 0 / 1.065 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.846e-05/0.3136, allocations: 19.92 kB / 1.065 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.3136, allocations: 0 / 1.065 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.531e-05/0.3136, allocations: 15.92 kB / 1.065 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.599e-05/0.3137, allocations: 7.984 kB / 1.065 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3137, allocations: 0 / 1.065 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3137, allocations: 0 / 1.065 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.3137, allocations: 0 / 1.065 GB, free: 14.27 MB / 0.8419 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.0004154/0.3141, allocations: 335.6 kB / 1.065 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.3142, allocations: 8.031 kB / 1.065 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.3142, allocations: 4.938 kB / 1.065 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.3144, allocations: 164.3 kB / 1.065 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.3144, allocations: 8.375 kB / 1.065 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.3144, allocations: 4.375 kB / 1.065 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.3146, allocations: 70.48 kB / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.3146, allocations: 192 / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.3146, allocations: 7.922 kB / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3146, allocations: 4 kB / 1.066 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.784e-05/0.3146, allocations: 15.92 kB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002348/0.3149, allocations: 181.5 kB / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.315, allocations: 97.02 kB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.525e-05/0.3151, allocations: 36.34 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000203/0.3153, allocations: 81.11 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.3153, allocations: 42.5 kB / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=5): time 1.183e-06/0.3153, allocations: 0 / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5): time 0.0002174/0.3156, allocations: 73.48 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.3157, allocations: 158.2 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.302e-05/0.3157, allocations: 89.86 kB / 1.066 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.3158, allocations: 34.27 kB / 1.066 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.667e-05/0.3158, allocations: 84.14 kB / 1.066 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.307e-05/0.3159, allocations: 27.62 kB / 1.066 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.3159, allocations: 17.72 kB / 1.066 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.316, allocations: 310.8 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.053e-05/0.3161, allocations: 4 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.031e-05/0.3161, allocations: 40.22 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.2e-05/0.3162, allocations: 48.23 kB / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3162, allocations: 0 / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001168/0.3163, allocations: 69.67 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.3163, allocations: 12.03 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3163, allocations: 0 / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3164, allocations: 3.938 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.168e-05/0.3164, allocations: 8 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.3165, allocations: 7.984 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.704e-05/0.3165, allocations: 0 / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.3165, allocations: 4 kB / 1.067 GB, free: 11.88 MB / 0.8419 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.414e-05/0.3166, allocations: 113.8 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.3166, allocations: 0 / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/0.3168, allocations: 116.6 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3168, allocations: 4 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3169, allocations: 0 / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3169, allocations: 4.156 kB / 1.067 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.317, allocations: 165.6 kB / 1.067 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.317, allocations: 0 / 1.067 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.041e-05/0.3171, allocations: 19.92 kB / 1.067 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3171, allocations: 4 kB / 1.067 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.3171, allocations: 3.938 kB / 1.067 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.3171, allocations: 7.984 kB / 1.067 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3171, allocations: 0 / 1.067 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.3173, allocations: 124.5 kB / 1.067 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.3174, allocations: 88.95 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.3174, allocations: 7.938 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.158e-05/0.3174, allocations: 4 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.523e-05/0.3175, allocations: 7.984 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.3175, allocations: 8 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.378e-05/0.3175, allocations: 79.22 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3175, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002199/0.3178, allocations: 12 kB / 1.068 GB, free: 11.01 MB / 0.8419 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.0001636/0.3179, allocations: 101.2 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001249/0.3181, allocations: 39.86 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3181, allocations: 320 / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.06e-05/0.3181, allocations: 31.92 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.3183, allocations: 8 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000317/0.3186, allocations: 185.9 kB / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.319, allocations: 0.6849 MB / 1.069 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.265e-05/0.319, allocations: 15.44 kB / 1.069 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of SimCode: time 4.01e-07/0.319, allocations: 0 / 1.069 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of Templates: time 0.002376/0.3214, allocations: 0.6796 MB / 1.069 GB, free: 9.191 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.makefile (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 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) 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) Reference file matches