Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001131/0.001131, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001268/0.001268, allocations: 194.6 kB / 16.14 MB, free: 6.648 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.323/1.323, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.552/2.552, allocations: 437 MB / 0.7099 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.91 kB / 0.8686 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7037/0.705, allocations: 151.6 MB / 1.017 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.002721/0.7078, allocations: 0.6644 MB / 1.017 GB, free: 2.16 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000415/0.7082, allocations: 63.72 kB / 1.017 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.573e-05/0.7083, allocations: 0 / 1.017 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.401e-05/0.7083, allocations: 4 kB / 1.017 GB, free: 2.094 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.564e-06/0.7083, allocations: 0 / 1.017 GB, free: 2.094 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.7086, allocations: 23.97 kB / 1.017 GB, free: 2.07 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.366e-05/0.7086, allocations: 8 kB / 1.017 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.73e-05/0.7087, allocations: 11.92 kB / 1.017 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.691e-05/0.7087, allocations: 4 kB / 1.017 GB, free: 2.047 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.983e-05/0.7088, allocations: 7.922 kB / 1.017 GB, free: 2.039 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.7088, allocations: 4 kB / 1.017 GB, free: 2.035 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.442e-05/0.7089, allocations: 11.98 kB / 1.017 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.7089, allocations: 4 kB / 1.017 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.7089, allocations: 11.98 kB / 1.017 GB, free: 2.008 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.022e-05/0.709, allocations: 19.91 kB / 1.017 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.709, allocations: 0 / 1.017 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.645e-06/0.709, allocations: 0 / 1.017 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.709, allocations: 3.938 kB / 1.017 GB, free: 1.984 MB / 0.7637 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.0003914/0.7094, allocations: 327.5 kB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.7095, allocations: 12.03 kB / 1.018 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.7095, allocations: 0.9375 kB / 1.018 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.976e-05/0.7096, allocations: 164.4 kB / 1.018 GB, free: 1.402 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.7096, allocations: 8.375 kB / 1.018 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.7096, allocations: 4.375 kB / 1.018 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.7098, allocations: 70.48 kB / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.7098, allocations: 192 / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.7098, allocations: 3.938 kB / 1.018 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.7098, allocations: 0 / 1.018 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.175e-05/0.7099, allocations: 19.92 kB / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001953/0.7101, allocations: 179.1 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 9.818e-05/0.7102, allocations: 97.05 kB / 1.018 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.008e-05/0.7102, allocations: 36.42 kB / 1.018 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001987/0.7104, allocations: 85.08 kB / 1.018 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.7105, allocations: 46.5 kB / 1.018 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.7105, allocations: 3.938 kB / 1.018 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of matching and sorting (n=5): time 0.0002002/0.7107, allocations: 73.48 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.028e-05/0.7108, allocations: 154.2 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.093e-05/0.7108, allocations: 93.86 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.7109, allocations: 30.33 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.921e-05/0.7109, allocations: 88.14 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.7109, allocations: 11.75 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.711, allocations: 21.7 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.7111, allocations: 314.8 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.99e-05/0.7111, allocations: 4 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.461e-05/0.7112, allocations: 40.22 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.554e-05/0.7112, allocations: 52.23 kB / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.7113, allocations: 0 / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.986e-05/0.7114, allocations: 65.8 kB / 1.019 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.7114, allocations: 8 kB / 1.019 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.7114, allocations: 11.94 kB / 1.019 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.7114, allocations: 3.938 kB / 1.019 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.018e-05/0.7115, allocations: 11.94 kB / 1.019 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.7115, allocations: 4 kB / 1.019 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.795e-05/0.7116, allocations: 0 / 1.019 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.7116, allocations: 7.984 kB / 1.019 GB, free: 15.6 MB / 0.7794 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 6.924e-05/0.7116, allocations: 109.8 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.7117, allocations: 4 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001984/0.7119, allocations: 104.6 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.7119, allocations: 4 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.7119, allocations: 0 / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.7119, allocations: 4.156 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.712, allocations: 173.5 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.712, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.857e-05/0.7121, allocations: 15.98 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.7121, allocations: 4 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.7121, allocations: 3.938 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.7122, allocations: 4 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7122, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.7123, allocations: 124.5 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.105e-05/0.7124, allocations: 88.98 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.7124, allocations: 7.938 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.135e-05/0.7124, allocations: 8 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.24e-05/0.7124, allocations: 11.92 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.7125, allocations: 8 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.976e-05/0.7125, allocations: 75.28 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7125, allocations: 0 / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002146/0.7127, allocations: 8 kB / 1.02 GB, free: 14.74 MB / 0.7794 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.0001737/0.7129, allocations: 103.2 kB / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001064/0.713, allocations: 31.92 kB / 1.02 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.713, allocations: 320 / 1.02 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.703e-05/0.7131, allocations: 35.92 kB / 1.02 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.7132, allocations: 7.938 kB / 1.02 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003108/0.7136, allocations: 154.4 kB / 1.02 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.7138, allocations: 0.6848 MB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.199e-05/0.7139, allocations: 7.984 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.7139, allocations: 11.44 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.7139, allocations: 0 / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of Templates: time 0.00273/0.7167, allocations: 0.5551 MB / 1.022 GB, free: 13.09 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches