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.007997/0.007997, allocations: 100.8 kB / 15.73 MB, free: 6.445 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.001846/0.001846, allocations: 191.1 kB / 16.67 MB, free: 6.348 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.694/2.694, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002338/0.002338, allocations: 67.91 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3447, allocations: 151.6 MB / 1.166 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001902/0.3466, allocations: 0.5961 MB / 1.167 GB, free: 6.676 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000302/0.347, allocations: 76.03 kB / 1.167 GB, free: 6.602 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.468e-05/0.347, allocations: 0 / 1.167 GB, free: 6.602 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.526e-05/0.347, allocations: 0 / 1.167 GB, free: 6.602 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.967e-06/0.3471, allocations: 0 / 1.167 GB, free: 6.602 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.3474, allocations: 19.92 kB / 1.167 GB, free: 6.582 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.06e-05/0.3474, allocations: 11.94 kB / 1.167 GB, free: 6.57 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.232e-05/0.3475, allocations: 7.984 kB / 1.167 GB, free: 6.562 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.414e-05/0.3475, allocations: 7.984 kB / 1.167 GB, free: 6.555 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.486e-05/0.3476, allocations: 4 kB / 1.167 GB, free: 6.551 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.3476, allocations: 4 kB / 1.167 GB, free: 6.547 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.521e-05/0.3477, allocations: 15.98 kB / 1.167 GB, free: 6.531 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.3477, allocations: 7.922 kB / 1.167 GB, free: 6.523 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.3478, allocations: 4 kB / 1.167 GB, free: 6.52 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.3479, allocations: 19.91 kB / 1.167 GB, free: 6.5 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3479, allocations: 0 / 1.167 GB, free: 6.5 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3479, allocations: 0 / 1.167 GB, free: 6.5 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.3479, allocations: 0 / 1.167 GB, free: 6.5 MB / 0.92 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.0004958/0.3484, allocations: 331.7 kB / 1.167 GB, free: 6.125 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.3485, allocations: 16.03 kB / 1.167 GB, free: 6.109 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.637e-05/0.3485, allocations: 38.73 kB / 1.167 GB, free: 6.062 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.3486, allocations: 4.875 kB / 1.167 GB, free: 6.059 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.3487, allocations: 164.4 kB / 1.167 GB, free: 5.859 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.3487, allocations: 4.375 kB / 1.167 GB, free: 5.855 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.3487, allocations: 384 / 1.167 GB, free: 5.855 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.3489, allocations: 70.55 kB / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3489, allocations: 7.875 kB / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.3489, allocations: 4 kB / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3489, allocations: 0 / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.534e-05/0.349, allocations: 15.92 kB / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002187/0.3492, allocations: 181.3 kB / 1.168 GB, free: 5.5 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.3493, allocations: 93.08 kB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.963e-05/0.3494, allocations: 36.28 kB / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002119/0.3496, allocations: 85.11 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.3496, allocations: 38.56 kB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.3497, allocations: 0 / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0002146/0.3499, allocations: 82.02 kB / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.496e-05/0.35, allocations: 158.2 kB / 1.168 GB, free: 4.887 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.425e-05/0.35, allocations: 89.86 kB / 1.168 GB, free: 4.789 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.35, allocations: 25.7 kB / 1.168 GB, free: 4.758 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.552e-05/0.3501, allocations: 80.14 kB / 1.168 GB, free: 4.676 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.3501, allocations: 27.83 kB / 1.168 GB, free: 4.648 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.3502, allocations: 13.72 kB / 1.168 GB, free: 4.629 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.3503, allocations: 318.8 kB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.328e-05/0.3503, allocations: 11.98 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.524e-05/0.3503, allocations: 36.3 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.398e-05/0.3504, allocations: 56.11 kB / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.3504, allocations: 4 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001057/0.3505, allocations: 61.61 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3506, allocations: 4 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.3506, allocations: 3.938 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3506, allocations: 4 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-05/0.3507, allocations: 11.94 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3507, allocations: 3.984 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.658e-05/0.3507, allocations: 8.094 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.3508, allocations: 4 kB / 1.169 GB, free: 4.066 MB / 0.92 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 8.149e-05/0.3508, allocations: 113.8 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.3509, allocations: 0 / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002065/0.3511, allocations: 108.6 kB / 1.169 GB, free: 3.832 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3511, allocations: 0 / 1.169 GB, free: 3.832 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.3511, allocations: 4 kB / 1.169 GB, free: 3.828 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3511, allocations: 0 / 1.169 GB, free: 3.828 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.3512, allocations: 161.6 kB / 1.169 GB, free: 3.621 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.3513, allocations: 128 / 1.169 GB, free: 3.621 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.47e-05/0.3513, allocations: 27.92 kB / 1.169 GB, free: 3.594 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3513, allocations: 0 / 1.169 GB, free: 3.594 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.3514, allocations: 11.94 kB / 1.169 GB, free: 3.582 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3514, allocations: 0 / 1.169 GB, free: 3.582 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3514, allocations: 4.125 kB / 1.169 GB, free: 3.578 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.3515, allocations: 120.5 kB / 1.169 GB, free: 3.43 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.018e-05/0.3516, allocations: 85 kB / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.3516, allocations: 11.94 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.114e-05/0.3516, allocations: 4 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/0.3517, allocations: 15.91 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.3517, allocations: 4 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.982e-05/0.3517, allocations: 79.28 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.3517, allocations: 0 / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002229/0.352, allocations: 8 kB / 1.17 GB, free: 3.207 MB / 0.92 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.0004932/0.3525, allocations: 0.6626 MB / 1.17 GB, free: 2.5 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.3526, allocations: 36.17 kB / 1.17 GB, free: 2.465 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.3526, allocations: 4.062 kB / 1.17 GB, free: 2.461 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.786e-05/0.3526, allocations: 35.8 kB / 1.17 GB, free: 2.426 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.3528, allocations: 10.11 kB / 1.17 GB, free: 2.418 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004016/0.3532, allocations: 170.3 kB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.3535, allocations: 0.6846 MB / 1.171 GB, free: 1.488 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.796e-05/0.3536, allocations: 7.984 kB / 1.171 GB, free: 1.48 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.675e-05/0.3536, allocations: 15.44 kB / 1.171 GB, free: 1.465 MB / 0.92 GB Notification: Performance of SimCode: time 2.51e-07/0.3536, allocations: 0 / 1.171 GB, free: 1.465 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02028/0.3739, allocations: 1.419 MB / 1.173 GB, free: 128 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.636/8.01, allocations: 9.578 kB / 1.173 GB, free: 124 kB / 0.92 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 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.csv","/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) Reference file matches