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.006045/0.006045, allocations: 100 kB / 15.73 MB, free: 6.062 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.001209/0.001209, allocations: 192.4 kB / 16.67 MB, free: 5.973 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.815/2.815, allocations: 469.8 MB / 0.7425 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 71.89 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3244, allocations: 159.1 MB / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.002011/0.3264, allocations: 0.5952 MB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003467/0.3268, allocations: 67.77 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.074e-05/0.3268, allocations: 0 / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.483e-05/0.3268, allocations: 7.875 kB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.366e-06/0.3268, allocations: 0 / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.3271, allocations: 19.97 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.091e-05/0.3271, allocations: 11.98 kB / 1.221 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.465e-05/0.3272, allocations: 4 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.821e-05/0.3272, allocations: 8 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.451e-05/0.3273, allocations: 7.938 kB / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.3273, allocations: 7.922 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.936e-05/0.3274, allocations: 19.98 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.3274, allocations: 3.984 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.3274, allocations: 7.938 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.3275, allocations: 15.97 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3275, allocations: 0 / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3275, allocations: 0 / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.3275, allocations: 0 / 1.221 GB, free: 12.93 MB / 0.9825 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.0004397/0.3279, allocations: 335.5 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.328, allocations: 8.031 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.351e-05/0.328, allocations: 4.922 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.3281, allocations: 160.4 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.3281, allocations: 8.375 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.3282, allocations: 384 / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.3283, allocations: 78.48 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3283, allocations: 192 / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.3283, allocations: 7.875 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3283, allocations: 4 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.711e-05/0.3284, allocations: 11.92 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00021/0.3286, allocations: 191.1 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.3287, allocations: 93.08 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.26e-05/0.3287, allocations: 32.3 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002072/0.3289, allocations: 89.09 kB / 1.222 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.329, allocations: 34.5 kB / 1.222 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.329, allocations: 0 / 1.222 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0002036/0.3292, allocations: 78.02 kB / 1.222 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.923e-05/0.3293, allocations: 162.3 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.65e-05/0.3293, allocations: 89.86 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.3293, allocations: 25.7 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.377e-05/0.3293, allocations: 84.08 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.3294, allocations: 15.86 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.3294, allocations: 25.7 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.3295, allocations: 310.8 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.977e-05/0.3295, allocations: 8 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.093e-05/0.3296, allocations: 36.28 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.825e-05/0.3297, allocations: 52.17 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3297, allocations: 0 / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.529e-05/0.3297, allocations: 69.55 kB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.3298, allocations: 8 kB / 1.223 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3298, allocations: 0 / 1.223 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3298, allocations: 3.938 kB / 1.223 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.143e-05/0.3299, allocations: 8 kB / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.3299, allocations: 4 kB / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.081e-05/0.3299, allocations: 8.141 kB / 1.223 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.3299, allocations: 4 kB / 1.223 GB, free: 10.55 MB / 0.9825 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 7.608e-05/0.33, allocations: 107.6 kB / 1.223 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.33, allocations: 8 kB / 1.223 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.3302, allocations: 116.5 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3302, allocations: 4 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3302, allocations: 3.984 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3302, allocations: 4 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.3304, allocations: 165.7 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3304, allocations: 3.938 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.783e-05/0.3304, allocations: 15.98 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3304, allocations: 4 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.3304, allocations: 3.938 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.3304, allocations: 4.156 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3304, allocations: 7.938 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.3306, allocations: 120.5 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.375e-05/0.3306, allocations: 85.06 kB / 1.224 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.3306, allocations: 7.938 kB / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.817e-05/0.3307, allocations: 4 kB / 1.224 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.086e-05/0.3307, allocations: 11.98 kB / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.3307, allocations: 4 kB / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 2.477e-05/0.3307, allocations: 75.28 kB / 1.224 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3307, allocations: 0 / 1.224 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002057/0.3309, allocations: 4 kB / 1.224 GB, free: 9.699 MB / 0.9825 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.0001769/0.3311, allocations: 115.2 kB / 1.224 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001119/0.3312, allocations: 35.86 kB / 1.224 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.3312, allocations: 4.094 kB / 1.224 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.294e-05/0.3312, allocations: 27.86 kB / 1.224 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.3314, allocations: 4 kB / 1.224 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002965/0.3317, allocations: 166.5 kB / 1.224 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.332, allocations: 0.6768 MB / 1.225 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.708e-05/0.332, allocations: 11.98 kB / 1.225 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.608e-05/0.332, allocations: 15.44 kB / 1.225 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.332, allocations: 0 / 1.225 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of Templates: time 0.002696/0.3347, allocations: 0.567 MB / 1.226 GB, free: 8.012 MB / 0.9825 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=480 -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/jenkins/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