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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.004172/0.004172, allocations: 96.7 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.001225/0.001225, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.866/2.866, allocations: 482.4 MB / 0.7548 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 75.88 kB / 1.083 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.279, allocations: 162.2 MB / 1.242 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001625/0.2807, allocations: 0.5874 MB / 1.242 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002396/0.2809, allocations: 67.77 kB / 1.242 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.522e-05/0.2809, allocations: 0 / 1.242 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.447e-05/0.281, allocations: 3.938 kB / 1.242 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.183e-06/0.281, allocations: 0 / 1.242 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.2812, allocations: 23.91 kB / 1.242 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.661e-05/0.2813, allocations: 15.98 kB / 1.242 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.226e-05/0.2813, allocations: 4 kB / 1.242 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.637e-05/0.2813, allocations: 4 kB / 1.242 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.722e-05/0.2814, allocations: 11.91 kB / 1.242 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.2814, allocations: 4 kB / 1.242 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.931e-05/0.2815, allocations: 15.98 kB / 1.242 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.139e-05/0.2815, allocations: 4 kB / 1.242 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.958e-05/0.2815, allocations: 7.938 kB / 1.242 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.293e-05/0.2816, allocations: 19.91 kB / 1.242 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.2816, allocations: 0 / 1.242 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2816, allocations: 0 / 1.242 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.2816, allocations: 4 kB / 1.242 GB, free: 9.379 MB / 0.9981 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.0003655/0.282, allocations: 331.5 kB / 1.243 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.282, allocations: 12.03 kB / 1.243 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.749e-05/0.2821, allocations: 34.75 kB / 1.243 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.049e-05/0.2821, allocations: 0.9375 kB / 1.243 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.2822, allocations: 160.4 kB / 1.243 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.2822, allocations: 4.375 kB / 1.243 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.2822, allocations: 384 / 1.243 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.2824, allocations: 82.47 kB / 1.243 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2824, allocations: 3.938 kB / 1.243 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.2824, allocations: 4 kB / 1.243 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.2824, allocations: 7.938 kB / 1.243 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.731e-05/0.2825, allocations: 7.938 kB / 1.243 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002076/0.2827, allocations: 193.1 kB / 1.243 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.2828, allocations: 93.06 kB / 1.243 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.73e-05/0.2829, allocations: 32.36 kB / 1.243 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/0.283, allocations: 89.05 kB / 1.243 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.2831, allocations: 34.55 kB / 1.243 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.2831, allocations: 0 / 1.243 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.0001945/0.2833, allocations: 77.5 kB / 1.243 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.637e-05/0.2834, allocations: 162.2 kB / 1.244 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.652e-05/0.2834, allocations: 89.86 kB / 1.244 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.2834, allocations: 25.7 kB / 1.244 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.2835, allocations: 84.12 kB / 1.244 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.12e-05/0.2835, allocations: 24.47 kB / 1.244 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.2836, allocations: 17.72 kB / 1.244 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.2837, allocations: 318.8 kB / 1.244 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.891e-05/0.2837, allocations: 4 kB / 1.244 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.84e-05/0.2838, allocations: 32.3 kB / 1.244 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.901e-05/0.2839, allocations: 52.22 kB / 1.244 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2839, allocations: 0 / 1.244 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001109/0.284, allocations: 61.56 kB / 1.244 GB, free: 7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.284, allocations: 8 kB / 1.244 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.284, allocations: 3.938 kB / 1.244 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.284, allocations: 8.156 kB / 1.244 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.178e-05/0.2841, allocations: 11.98 kB / 1.244 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2841, allocations: 3.984 kB / 1.244 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.794e-05/0.2841, allocations: 0 / 1.244 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.2842, allocations: 8 kB / 1.244 GB, free: 6.957 MB / 0.9981 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.835e-05/0.2843, allocations: 118.2 kB / 1.244 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.2843, allocations: 0 / 1.244 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002086/0.2845, allocations: 112.7 kB / 1.244 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.2845, allocations: 4 kB / 1.244 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2845, allocations: 0 / 1.244 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.2845, allocations: 4 kB / 1.244 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.2847, allocations: 165.6 kB / 1.245 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.2847, allocations: 0 / 1.245 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.381e-05/0.2847, allocations: 24.09 kB / 1.245 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.2848, allocations: 4 kB / 1.245 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.2848, allocations: 11.88 kB / 1.245 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.2848, allocations: 0 / 1.245 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.2848, allocations: 3.984 kB / 1.245 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.2849, allocations: 116.5 kB / 1.245 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.478e-05/0.285, allocations: 89.06 kB / 1.245 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.285, allocations: 7.938 kB / 1.245 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.91e-05/0.2851, allocations: 0 / 1.245 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-05/0.2851, allocations: 11.97 kB / 1.245 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.2851, allocations: 8 kB / 1.245 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.222e-05/0.2851, allocations: 75.28 kB / 1.245 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2851, allocations: 0 / 1.245 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002117/0.2854, allocations: 12 kB / 1.245 GB, free: 6.09 MB / 0.9981 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.0004812/0.2858, allocations: 0.6664 MB / 1.246 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001088/0.286, allocations: 35.92 kB / 1.246 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.286, allocations: 4 kB / 1.246 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.874e-05/0.286, allocations: 23.92 kB / 1.246 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.2862, allocations: 8.969 kB / 1.246 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003797/0.2866, allocations: 178.5 kB / 1.246 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.2869, allocations: 0.6807 MB / 1.247 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.866e-05/0.2869, allocations: 12 kB / 1.247 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/0.287, allocations: 19.42 kB / 1.247 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.287, allocations: 0 / 1.247 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/0.3077, allocations: 1.424 MB / 1.248 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.429/7.737, allocations: 11.31 kB / 1.248 GB, free: 2.996 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round_res.csv --start-time -2 --stop-time 2 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 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.csv","/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) Reference file matches