Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_11_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.005186/0.005186, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001464/0.001464, allocations: 200.9 kB / 16.68 MB, free: 5.969 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.608/2.608, allocations: 469.8 MB / 0.7425 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 71.89 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2497, allocations: 159.1 MB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001381/0.2511, allocations: 0.5875 MB / 1.221 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002257/0.2513, allocations: 79.52 kB / 1.221 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.358e-05/0.2513, allocations: 0 / 1.221 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.322e-05/0.2514, allocations: 0 / 1.221 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.77e-06/0.2514, allocations: 0 / 1.221 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.2516, allocations: 19.92 kB / 1.221 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.274e-05/0.2516, allocations: 11.98 kB / 1.221 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.2517, allocations: 11.98 kB / 1.221 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.457e-05/0.2517, allocations: 4 kB / 1.221 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.908e-05/0.2517, allocations: 3.938 kB / 1.221 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.2517, allocations: 4 kB / 1.221 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.234e-05/0.2518, allocations: 15.98 kB / 1.221 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.2518, allocations: 7.984 kB / 1.221 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.922e-05/0.2518, allocations: 11.92 kB / 1.221 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 6.841e-05/0.2519, allocations: 11.98 kB / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.2519, allocations: 0 / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2519, allocations: 0 / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.2519, allocations: 0 / 1.221 GB, free: 13.48 MB / 0.9825 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.0003247/0.2523, allocations: 331.5 kB / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.2523, allocations: 12.03 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.933e-05/0.2524, allocations: 38.73 kB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.729e-05/0.2524, allocations: 0.9375 kB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.057e-05/0.2525, allocations: 164.3 kB / 1.221 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.2525, allocations: 4.375 kB / 1.221 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-06/0.2525, allocations: 384 / 1.221 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.2526, allocations: 70.55 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.2526, allocations: 3.938 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.2526, allocations: 0 / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.2526, allocations: 4 kB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.192e-05/0.2527, allocations: 19.86 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.2529, allocations: 187 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.473e-05/0.253, allocations: 97.02 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.131e-05/0.253, allocations: 40.28 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001481/0.2532, allocations: 85.09 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.2532, allocations: 34.56 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.2532, allocations: 0 / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0001688/0.2534, allocations: 81.77 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.415e-05/0.2535, allocations: 166.1 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.673e-05/0.2535, allocations: 89.86 kB / 1.222 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.2535, allocations: 25.7 kB / 1.222 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 2.768e-05/0.2536, allocations: 80.14 kB / 1.222 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.2536, allocations: 23.84 kB / 1.222 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.2536, allocations: 14.06 kB / 1.222 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.2538, allocations: 318.8 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.2538, allocations: 7.984 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.35e-05/0.2538, allocations: 32.3 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.676e-05/0.2539, allocations: 48.23 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2539, allocations: 0 / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.88e-05/0.254, allocations: 65.55 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.254, allocations: 8 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.254, allocations: 3.938 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.254, allocations: 0 / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.434e-05/0.2541, allocations: 12.16 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.2541, allocations: 11.92 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.654e-05/0.2541, allocations: 4.125 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.2542, allocations: 4 kB / 1.223 GB, free: 11.05 MB / 0.9825 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.087e-05/0.2542, allocations: 113.8 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.2542, allocations: 3.984 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001752/0.2544, allocations: 112.5 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.2544, allocations: 4 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.2544, allocations: 0 / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2545, allocations: 4 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.2546, allocations: 161.7 kB / 1.223 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2546, allocations: 0 / 1.223 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.624e-05/0.2547, allocations: 19.92 kB / 1.223 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2547, allocations: 4.156 kB / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.2547, allocations: 11.94 kB / 1.223 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2547, allocations: 7.938 kB / 1.223 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2547, allocations: 0 / 1.223 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.2548, allocations: 120.5 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.073e-05/0.2549, allocations: 85.06 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.2549, allocations: 11.94 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.543e-05/0.2549, allocations: 0 / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.745e-05/0.2549, allocations: 8.078 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.363e-06/0.255, allocations: 11.94 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.245e-05/0.255, allocations: 79.28 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.255, allocations: 0 / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001864/0.2552, allocations: 8 kB / 1.224 GB, free: 10.19 MB / 0.9825 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.0004253/0.2556, allocations: 0.6708 MB / 1.224 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.032e-05/0.2557, allocations: 31.92 kB / 1.224 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2557, allocations: 4 kB / 1.224 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.806e-05/0.2558, allocations: 27.92 kB / 1.224 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.2559, allocations: 8 kB / 1.224 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003243/0.2562, allocations: 178.4 kB / 1.225 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.2565, allocations: 0.6768 MB / 1.225 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.214e-05/0.2565, allocations: 7.984 kB / 1.225 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.743e-05/0.2566, allocations: 19.44 kB / 1.225 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.2566, allocations: 4 kB / 1.225 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.683/1.939, allocations: 1.438 MB / 1.227 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.87/9.81, allocations: 2.266 kB / 1.227 GB, free: 7.086 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_Round_fmu --startTime=-2 --stopTime=2 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_Round.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches