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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001314/0.001314, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001602/0.001603, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.311/1.311, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.627/2.627, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 71.2 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2726, allocations: 157.4 MB / 1.052 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001699/0.2743, allocations: 0.6659 MB / 1.053 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002578/0.2746, allocations: 75.69 kB / 1.053 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.071e-05/0.2746, allocations: 0 / 1.053 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.366e-05/0.2746, allocations: 0 / 1.053 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.111e-06/0.2746, allocations: 4 kB / 1.053 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.2748, allocations: 15.98 kB / 1.053 GB, free: 7.453 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.876e-05/0.2749, allocations: 12 kB / 1.053 GB, free: 7.441 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.887e-05/0.2749, allocations: 3.984 kB / 1.053 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.904e-05/0.2749, allocations: 11.92 kB / 1.053 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.702e-05/0.275, allocations: 4 kB / 1.053 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.969e-06/0.275, allocations: 0 / 1.053 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.261e-05/0.2751, allocations: 15.98 kB / 1.053 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.2751, allocations: 0 / 1.053 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.623e-05/0.2751, allocations: 19.86 kB / 1.053 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.466e-05/0.2752, allocations: 19.97 kB / 1.053 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.2752, allocations: 0 / 1.053 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2752, allocations: 4 kB / 1.053 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.2752, allocations: 0 / 1.053 GB, free: 7.363 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.0003327/0.2756, allocations: 319.6 kB / 1.053 GB, free: 7 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.2756, allocations: 15.91 kB / 1.053 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.247e-05/0.2757, allocations: 38.73 kB / 1.053 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.298e-05/0.2757, allocations: 4.938 kB / 1.053 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.351e-05/0.2758, allocations: 164.4 kB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-06/0.2758, allocations: 4.375 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.2758, allocations: 384 / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.2759, allocations: 70.48 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.276, allocations: 11.92 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.276, allocations: 0 / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.276, allocations: 0 / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.92e-05/0.276, allocations: 19.92 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001641/0.2762, allocations: 185.4 kB / 1.054 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.496e-05/0.2763, allocations: 97.02 kB / 1.054 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.901e-05/0.2763, allocations: 32.41 kB / 1.054 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/0.2765, allocations: 81.11 kB / 1.054 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.2766, allocations: 54.5 kB / 1.054 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.2766, allocations: 0 / 1.054 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0001838/0.2768, allocations: 77.48 kB / 1.054 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.086e-05/0.2769, allocations: 154.2 kB / 1.054 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.534e-05/0.2769, allocations: 89.86 kB / 1.054 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.2769, allocations: 30.33 kB / 1.054 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.195e-05/0.2769, allocations: 84.14 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.277, allocations: 23.64 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.277, allocations: 17.7 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.57e-05/0.2771, allocations: 314.8 kB / 1.055 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.937e-05/0.2772, allocations: 7.938 kB / 1.055 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.392e-05/0.2772, allocations: 36.28 kB / 1.055 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.636e-05/0.2773, allocations: 52.23 kB / 1.055 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2773, allocations: 0 / 1.055 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001028/0.2774, allocations: 65.55 kB / 1.055 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.2774, allocations: 8.156 kB / 1.055 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.2774, allocations: 7.938 kB / 1.055 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.2774, allocations: 0 / 1.055 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.48e-05/0.2775, allocations: 8 kB / 1.055 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.2775, allocations: 0 / 1.055 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.45e-05/0.2776, allocations: 7.984 kB / 1.055 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.2776, allocations: 3.938 kB / 1.055 GB, free: 4.938 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 7.457e-05/0.2777, allocations: 113.8 kB / 1.055 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.701e-05/0.2777, allocations: 4 kB / 1.055 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/0.2779, allocations: 112.5 kB / 1.055 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.2779, allocations: 0 / 1.055 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.2779, allocations: 4 kB / 1.055 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2779, allocations: 160 / 1.055 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.2781, allocations: 165.7 kB / 1.055 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.2781, allocations: 8 kB / 1.055 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.165e-05/0.2781, allocations: 15.98 kB / 1.055 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2781, allocations: 0 / 1.055 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.2782, allocations: 11.94 kB / 1.055 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2782, allocations: 0 / 1.055 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2782, allocations: 4 kB / 1.055 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.2783, allocations: 124.4 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.2784, allocations: 81.11 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.2784, allocations: 7.938 kB / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.922e-05/0.2784, allocations: 0 / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-05/0.2785, allocations: 11.98 kB / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.2785, allocations: 0 / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.601e-05/0.2785, allocations: 83.28 kB / 1.056 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2785, allocations: 0 / 1.056 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002158/0.2787, allocations: 8.094 kB / 1.056 GB, free: 4.086 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.000429/0.2792, allocations: 0.6664 MB / 1.056 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.962e-05/0.2793, allocations: 35.86 kB / 1.056 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2793, allocations: 0 / 1.056 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.8e-05/0.2793, allocations: 28.48 kB / 1.056 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.2795, allocations: 8 kB / 1.056 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003849/0.2799, allocations: 187.8 kB / 1.057 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.2801, allocations: 0.6809 MB / 1.057 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.813e-05/0.2802, allocations: 11.98 kB / 1.057 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.683e-05/0.2802, allocations: 15.38 kB / 1.057 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of SimCode: time 4.61e-07/0.2802, allocations: 0 / 1.057 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01094/0.2912, allocations: 1.283 MB / 1.059 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/0.2914, allocations: 199.7 kB / 1.059 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/1.929, allocations: 0 / 1.059 GB, free: 0.8906 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