Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_latest_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.001814/0.001814, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002197/0.002196, allocations: 194.2 kB / 16.25 MB, free: 6.633 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.729/1.729, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.922/2.922, allocations: 461.9 MB / 0.7344 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 70.81 kB / 0.8987 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3174, allocations: 157.4 MB / 1.052 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001853/0.3193, allocations: 0.6736 MB / 1.053 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002536/0.3196, allocations: 63.78 kB / 1.053 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.488e-05/0.3196, allocations: 0 / 1.053 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.794e-05/0.3196, allocations: 0 / 1.053 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.935e-06/0.3197, allocations: 0 / 1.053 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.3199, allocations: 19.97 kB / 1.053 GB, free: 7.91 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.506e-05/0.32, allocations: 15.98 kB / 1.053 GB, free: 7.895 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.343e-05/0.3201, allocations: 0 / 1.053 GB, free: 7.895 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.983e-05/0.3201, allocations: 4 kB / 1.053 GB, free: 7.891 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.543e-05/0.3202, allocations: 15.92 kB / 1.053 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.3202, allocations: 0 / 1.053 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.236e-05/0.3203, allocations: 19.97 kB / 1.053 GB, free: 7.855 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.3203, allocations: 0 / 1.053 GB, free: 7.855 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.403e-05/0.3203, allocations: 7.938 kB / 1.053 GB, free: 7.848 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.579e-05/0.3204, allocations: 19.97 kB / 1.053 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.3204, allocations: 0 / 1.053 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.562e-06/0.3204, allocations: 3.938 kB / 1.053 GB, free: 7.824 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.3204, allocations: 0 / 1.053 GB, free: 7.824 MB / 0.8106 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.0004132/0.3208, allocations: 323.6 kB / 1.054 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.3209, allocations: 16.62 kB / 1.054 GB, free: 7.441 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.753e-05/0.3209, allocations: 30.75 kB / 1.054 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.321, allocations: 0.9375 kB / 1.054 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.3211, allocations: 164.4 kB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.3211, allocations: 4.375 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.3211, allocations: 384 / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.3213, allocations: 82.47 kB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3213, allocations: 3.938 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3213, allocations: 4 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.3213, allocations: 3.938 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.696e-05/0.3214, allocations: 15.88 kB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/0.3216, allocations: 189.5 kB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.3217, allocations: 93.02 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.737e-05/0.3217, allocations: 36.34 kB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000206/0.3219, allocations: 85.11 kB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.322, allocations: 50.47 kB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.322, allocations: 0 / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0002014/0.3222, allocations: 70.06 kB / 1.054 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.799e-05/0.3223, allocations: 162.3 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.33e-05/0.3224, allocations: 89.86 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.3224, allocations: 25.7 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.878e-05/0.3224, allocations: 80.14 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/0.3225, allocations: 19.7 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.3225, allocations: 17.72 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.3226, allocations: 310.8 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.214e-05/0.3227, allocations: 11.98 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.616e-05/0.3227, allocations: 36.23 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.358e-05/0.3228, allocations: 56.22 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3228, allocations: 4 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001008/0.3229, allocations: 57.62 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3229, allocations: 4 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.323, allocations: 3.938 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.323, allocations: 7.938 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.086e-05/0.3231, allocations: 11.98 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.3231, allocations: 0 / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.372e-05/0.3231, allocations: 8.156 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.3231, allocations: 0 / 1.055 GB, free: 5.406 MB / 0.8106 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 9.094e-05/0.3232, allocations: 113.8 kB / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.3232, allocations: 0 / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/0.3235, allocations: 116.5 kB / 1.055 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3235, allocations: 0 / 1.055 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3235, allocations: 4.125 kB / 1.055 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3235, allocations: 0 / 1.055 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.3236, allocations: 173.5 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3237, allocations: 0 / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.936e-05/0.3237, allocations: 16 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3237, allocations: 3.938 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.3237, allocations: 11.94 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3238, allocations: 160 / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3238, allocations: 8 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.3239, allocations: 120.4 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.324, allocations: 77.11 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.324, allocations: 15.94 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.291e-05/0.3241, allocations: 0 / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.133e-05/0.3241, allocations: 11.92 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.3241, allocations: 4 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.994e-05/0.3241, allocations: 75.28 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3241, allocations: 0 / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002232/0.3244, allocations: 16 kB / 1.056 GB, free: 4.543 MB / 0.8106 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.0004975/0.3249, allocations: 0.6625 MB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001187/0.325, allocations: 39.86 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.325, allocations: 0 / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.674e-05/0.3251, allocations: 27.92 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.3252, allocations: 9.719 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004228/0.3257, allocations: 198.6 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.3259, allocations: 0.6807 MB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.139e-05/0.326, allocations: 4 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.599e-05/0.326, allocations: 11.44 kB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of SimCode: time 2.71e-07/0.326, allocations: 4 kB / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01227/0.3383, allocations: 1.326 MB / 1.059 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/0.3386, allocations: 206.4 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.93/2.269, allocations: 8 kB / 1.059 GB, free: 1.312 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Round_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Round.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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