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.001296/0.001296, 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.001276/0.001276, allocations: 198 kB / 16.54 MB, free: 6.672 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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.539/2.539, allocations: 461.9 MB / 0.7347 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 66.52 kB / 0.8992 GB, free: 36.88 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2298, allocations: 157.4 MB / 1.053 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001602/0.2315, allocations: 0.5972 MB / 1.053 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002131/0.2317, allocations: 75.69 kB / 1.054 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.626e-05/0.2317, allocations: 0 / 1.054 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.048e-05/0.2318, allocations: 0 / 1.054 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.032e-06/0.2318, allocations: 4 kB / 1.054 GB, free: 7.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.232, allocations: 19.92 kB / 1.054 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.373e-05/0.232, allocations: 11.98 kB / 1.054 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.826e-05/0.2321, allocations: 0 / 1.054 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.692e-05/0.2321, allocations: 8 kB / 1.054 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.597e-05/0.2322, allocations: 11.92 kB / 1.054 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.528e-06/0.2322, allocations: 0 / 1.054 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.079e-05/0.2323, allocations: 15.98 kB / 1.054 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.2323, allocations: 4 kB / 1.054 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.19e-05/0.2323, allocations: 7.922 kB / 1.054 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.57e-05/0.2324, allocations: 23.97 kB / 1.054 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2324, allocations: 0 / 1.054 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2324, allocations: 0 / 1.054 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.2324, allocations: 4 kB / 1.054 GB, free: 7.453 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.0003067/0.2327, allocations: 323.6 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.2328, allocations: 8.625 kB / 1.054 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.267e-05/0.2328, allocations: 34.75 kB / 1.054 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.078e-05/0.2328, allocations: 0.9375 kB / 1.054 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.281e-05/0.2329, allocations: 168.3 kB / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.2329, allocations: 4.359 kB / 1.054 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.2329, allocations: 12.36 kB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.233, allocations: 70.55 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2331, allocations: 7.875 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.2331, allocations: 0 / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.2331, allocations: 3.938 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.144e-05/0.2331, allocations: 11.94 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001369/0.2333, allocations: 185.4 kB / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.716e-05/0.2333, allocations: 93.06 kB / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.096e-05/0.2334, allocations: 44.42 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000146/0.2335, allocations: 89.08 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.2336, allocations: 34.56 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.2336, allocations: 0 / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0001591/0.2337, allocations: 73.5 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.2338, allocations: 166.1 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.6e-05/0.2338, allocations: 89.86 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.2338, allocations: 29.7 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.087e-05/0.2339, allocations: 80.14 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.2339, allocations: 12.34 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.2339, allocations: 29.7 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.879e-05/0.234, allocations: 310.8 kB / 1.055 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.653e-05/0.234, allocations: 4 kB / 1.055 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.955e-05/0.2341, allocations: 40.28 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.957e-05/0.2341, allocations: 48.23 kB / 1.056 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2341, allocations: 0 / 1.056 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.76e-05/0.2342, allocations: 65.56 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.2343, allocations: 4 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2343, allocations: 7.938 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2343, allocations: 8.141 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.23e-05/0.2343, allocations: 8 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.2344, allocations: 7.938 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.592e-05/0.2344, allocations: 0 / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.2344, allocations: 4 kB / 1.056 GB, free: 5.035 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 5.656e-05/0.2345, allocations: 113.8 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.2345, allocations: 4 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/0.2347, allocations: 104.5 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-06/0.2347, allocations: 4 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2347, allocations: 3.984 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2347, allocations: 4 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.2348, allocations: 165.6 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2348, allocations: 0 / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.242e-05/0.2349, allocations: 28.09 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2349, allocations: 4 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.2349, allocations: 11.92 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.2349, allocations: 4 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2349, allocations: 0 / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.235, allocations: 120.5 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.71e-05/0.235, allocations: 81.11 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.2351, allocations: 7.922 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.984e-05/0.2351, allocations: 8 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.2351, allocations: 4 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.2351, allocations: 4 kB / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.249e-05/0.2352, allocations: 79.22 kB / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2352, allocations: 4 kB / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001938/0.2354, allocations: 8 kB / 1.056 GB, free: 4.176 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.0003524/0.2357, allocations: 0.6664 MB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.51e-05/0.2358, allocations: 35.92 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2358, allocations: 0 / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.219e-05/0.2359, allocations: 27.88 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.236, allocations: 9.719 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/0.2363, allocations: 178.6 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.2365, allocations: 0.6807 MB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.813e-05/0.2366, allocations: 8 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.2366, allocations: 15.42 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.2366, allocations: 0 / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.137/1.374, allocations: 1.403 MB / 1.059 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/11.92, allocations: 8 kB / 1.059 GB, free: 1.098 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