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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 193 kB / 16.53 MB, free: 6.391 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.275/1.275, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.444/2.444, allocations: 437 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 67.89 kB / 0.8694 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5386/0.5398, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001744/0.5416, allocations: 0.5954 MB / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002502/0.5419, allocations: 75.58 kB / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.642e-05/0.5419, allocations: 0 / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.541e-05/0.542, allocations: 0 / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.342e-06/0.542, allocations: 4 kB / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.5422, allocations: 23.92 kB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.67e-05/0.5423, allocations: 11.98 kB / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.403e-05/0.5423, allocations: 0 / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.423e-05/0.5423, allocations: 8 kB / 1.018 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.83e-05/0.5424, allocations: 11.92 kB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.5424, allocations: 0 / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.898e-05/0.5425, allocations: 15.98 kB / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.5425, allocations: 0 / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.5425, allocations: 11.92 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.38e-05/0.5426, allocations: 19.97 kB / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.5426, allocations: 0 / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5427, allocations: 0 / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.5427, allocations: 0 / 1.018 GB, free: 1.723 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.000357/0.543, allocations: 331.5 kB / 1.018 GB, free: 1.348 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.5431, allocations: 8.031 kB / 1.019 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.362e-05/0.5431, allocations: 30.75 kB / 1.019 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.217e-05/0.5431, allocations: 0.9375 kB / 1.019 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.841e-05/0.5432, allocations: 168.3 kB / 1.019 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.5432, allocations: 4.375 kB / 1.019 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.5432, allocations: 8.359 kB / 1.019 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.5434, allocations: 66.55 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.5434, allocations: 3.938 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.5434, allocations: 4 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.5434, allocations: 0 / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.711e-05/0.5435, allocations: 19.88 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.5436, allocations: 179.5 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 8.474e-05/0.5437, allocations: 101.1 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.075e-05/0.5438, allocations: 40.23 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001728/0.5439, allocations: 89.08 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.544, allocations: 38.56 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.544, allocations: 0 / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of matching and sorting (n=5): time 0.0001819/0.5442, allocations: 73.5 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.366e-05/0.5442, allocations: 162.1 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.378e-05/0.5443, allocations: 89.86 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.5443, allocations: 30.33 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.37e-05/0.5443, allocations: 84.14 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.5444, allocations: 15.75 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.5444, allocations: 25.64 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.771e-05/0.5445, allocations: 310.8 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.897e-05/0.5445, allocations: 4 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.386e-05/0.5446, allocations: 40.28 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.206e-05/0.5446, allocations: 48.23 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.5447, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001019/0.5448, allocations: 69.59 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.5448, allocations: 10.06 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.5448, allocations: 3.938 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.5448, allocations: 7.984 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.259e-05/0.5449, allocations: 8 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.5449, allocations: 0 / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.138e-05/0.5449, allocations: 7.938 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.5449, allocations: 128 / 1.02 GB, free: 15.3 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.436e-05/0.545, allocations: 117.8 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.545, allocations: 4 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001853/0.5452, allocations: 100.6 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.5452, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.5453, allocations: 11.97 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.5453, allocations: 160 / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.5454, allocations: 173.6 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.5454, allocations: 4 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.145e-05/0.5455, allocations: 15.94 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.5455, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.5455, allocations: 11.92 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.5455, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5455, allocations: 7.938 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.5456, allocations: 120.5 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.034e-05/0.5457, allocations: 81.05 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.5457, allocations: 11.92 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.16e-05/0.5457, allocations: 4 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.589e-05/0.5458, allocations: 4 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.952e-06/0.5458, allocations: 8 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.175e-05/0.5458, allocations: 75.28 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5458, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002036/0.546, allocations: 8 kB / 1.021 GB, free: 14.45 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.000399/0.5464, allocations: 0.6781 MB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001034/0.5465, allocations: 35.92 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5465, allocations: 0 / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.369e-05/0.5466, allocations: 24.44 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.5467, allocations: 12.12 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003662/0.5471, allocations: 174.1 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.5473, allocations: 0.6807 MB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.438e-05/0.5474, allocations: 12 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.481e-05/0.5474, allocations: 19.42 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5474, allocations: 0 / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.059/1.607, allocations: 1.385 MB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/11.66, allocations: 5.484 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_Round_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_Round.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,ym2,ym1,y,y1,y2 Variables in the result:time,y,y1,y2,ym1,ym2