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.00493/0.00493, allocations: 99.83 kB / 15.73 MB, free: 6.02 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.001289/0.001289, allocations: 193.7 kB / 16.67 MB, free: 5.934 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.477/1.477, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.655/2.655, allocations: 437 MB / 0.7105 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 67.91 kB / 1.018 GB, free: 9.812 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7441/0.746, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001719/0.7478, allocations: 0.6038 MB / 1.167 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002821/0.7481, allocations: 65.72 kB / 1.167 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.88e-05/0.7481, allocations: 0 / 1.167 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.935e-05/0.7481, allocations: 3.938 kB / 1.167 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.096e-06/0.7482, allocations: 0 / 1.167 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.7484, allocations: 23.98 kB / 1.167 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.076e-05/0.7485, allocations: 12 kB / 1.167 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.586e-05/0.7485, allocations: 3.938 kB / 1.167 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.25e-05/0.7485, allocations: 11.97 kB / 1.167 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.207e-05/0.7486, allocations: 7.938 kB / 1.167 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.7486, allocations: 0 / 1.167 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.708e-05/0.7487, allocations: 15.98 kB / 1.167 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.107e-05/0.7487, allocations: 0 / 1.167 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.312e-05/0.7488, allocations: 11.94 kB / 1.167 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.695e-05/0.7488, allocations: 15.95 kB / 1.167 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.7489, allocations: 4 kB / 1.167 GB, free: 3 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.253e-06/0.7489, allocations: 4 kB / 1.167 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.7489, allocations: 0 / 1.167 GB, free: 2.996 MB / 0.8887 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.0004375/0.7493, allocations: 327.2 kB / 1.167 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.7494, allocations: 8.922 kB / 1.167 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.926e-05/0.7494, allocations: 30.75 kB / 1.167 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.488e-05/0.7494, allocations: 4.938 kB / 1.167 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.7496, allocations: 164.4 kB / 1.167 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.7496, allocations: 4.375 kB / 1.167 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.7496, allocations: 8.375 kB / 1.167 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.7497, allocations: 70.48 kB / 1.168 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.7498, allocations: 3.938 kB / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.7498, allocations: 11.88 kB / 1.168 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.7498, allocations: 0 / 1.168 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.331e-05/0.7498, allocations: 19.92 kB / 1.168 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001969/0.75, allocations: 185.1 kB / 1.168 GB, free: 2 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.7502, allocations: 97.08 kB / 1.168 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.968e-05/0.7502, allocations: 38.89 kB / 1.168 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001868/0.7504, allocations: 85.08 kB / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.7504, allocations: 46.48 kB / 1.168 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.7504, allocations: 4 kB / 1.168 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5): time 0.0002004/0.7507, allocations: 73.48 kB / 1.168 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.7508, allocations: 162.2 kB / 1.168 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.324e-05/0.7508, allocations: 89.86 kB / 1.168 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.7508, allocations: 29.7 kB / 1.168 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.248e-05/0.7509, allocations: 80.77 kB / 1.168 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.7509, allocations: 15.86 kB / 1.168 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.751, allocations: 21.7 kB / 1.168 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.7511, allocations: 314.8 kB / 1.169 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.942e-05/0.7511, allocations: 4 kB / 1.169 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.536e-05/0.7512, allocations: 36.28 kB / 1.169 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.72e-05/0.7513, allocations: 52.23 kB / 1.169 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7513, allocations: 0 / 1.169 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001082/0.7514, allocations: 65.55 kB / 1.169 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.7514, allocations: 4.156 kB / 1.169 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.7514, allocations: 11.94 kB / 1.169 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.7514, allocations: 0 / 1.169 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.444e-05/0.7515, allocations: 8 kB / 1.169 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.7515, allocations: 0 / 1.169 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.911e-05/0.7516, allocations: 4 kB / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.7516, allocations: 7.984 kB / 1.169 GB, free: 0.5742 MB / 0.8887 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.996e-05/0.7517, allocations: 117.7 kB / 1.169 GB, free: 460 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.7517, allocations: 4 kB / 1.169 GB, free: 456 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.7519, allocations: 104.7 kB / 1.169 GB, free: 340 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.7519, allocations: 8 kB / 1.169 GB, free: 332 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.7519, allocations: 0 / 1.169 GB, free: 332 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.7519, allocations: 0 / 1.169 GB, free: 332 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.7521, allocations: 161.6 kB / 1.169 GB, free: 120 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.7521, allocations: 12.09 kB / 1.169 GB, free: 108 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.3e-05/0.7522, allocations: 15.98 kB / 1.169 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.7522, allocations: 0 / 1.169 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.7522, allocations: 11.94 kB / 1.169 GB, free: 80 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.7522, allocations: 3.938 kB / 1.169 GB, free: 76 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7522, allocations: 4 kB / 1.169 GB, free: 72 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.7524, allocations: 124.4 kB / 1.169 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.715e-05/0.7525, allocations: 85.06 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.7525, allocations: 7.938 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.185e-05/0.7526, allocations: 4 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/0.7526, allocations: 7.984 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.7526, allocations: 4 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.01e-05/0.7526, allocations: 79.28 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7526, allocations: 0 / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002225/0.7529, allocations: 11.94 kB / 1.17 GB, free: 15.7 MB / 0.9044 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.0005693/0.7534, allocations: 0.6664 MB / 1.17 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001229/0.7536, allocations: 31.92 kB / 1.17 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7536, allocations: 4 kB / 1.17 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.211e-05/0.7536, allocations: 23.94 kB / 1.17 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.7538, allocations: 8.609 kB / 1.17 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004141/0.7542, allocations: 181.2 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.7546, allocations: 0.6807 MB / 1.171 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.266e-05/0.7546, allocations: 15.98 kB / 1.171 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.915e-05/0.7546, allocations: 11.44 kB / 1.171 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.7547, allocations: 0 / 1.171 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.777, allocations: 1.416 MB / 1.173 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.975/8.752, allocations: 17.22 kB / 1.173 GB, free: 12.62 MB / 0.9044 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