Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_9_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.007664/0.007664, allocations: 101 kB / 15.73 MB, free: 6.477 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.001776/0.001775, allocations: 191 kB / 16.67 MB, free: 6.379 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.352/2.352, allocations: 390.3 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 68.14 kB / 0.9504 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2765, allocations: 140.4 MB / 1.088 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.00163/0.2782, allocations: 0.5993 MB / 1.088 GB, free: 1.359 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002756/0.2785, allocations: 64.11 kB / 1.088 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.04e-05/0.2785, allocations: 0 / 1.088 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.696e-05/0.2786, allocations: 0 / 1.088 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.466e-06/0.2786, allocations: 0 / 1.088 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.2789, allocations: 27.91 kB / 1.088 GB, free: 1.27 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.47e-05/0.2789, allocations: 8 kB / 1.088 GB, free: 1.262 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.97e-05/0.279, allocations: 3.938 kB / 1.088 GB, free: 1.258 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.249e-05/0.279, allocations: 15.97 kB / 1.088 GB, free: 1.242 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.609e-05/0.2791, allocations: 11.94 kB / 1.088 GB, free: 1.23 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.2791, allocations: 0 / 1.088 GB, free: 1.23 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.009e-05/0.2792, allocations: 11.98 kB / 1.088 GB, free: 1.219 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.2792, allocations: 4 kB / 1.088 GB, free: 1.215 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.58e-05/0.2792, allocations: 11.92 kB / 1.088 GB, free: 1.203 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.777e-05/0.2793, allocations: 23.97 kB / 1.088 GB, free: 1.18 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2794, allocations: 0 / 1.088 GB, free: 1.18 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2794, allocations: 0 / 1.088 GB, free: 1.18 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.2794, allocations: 0 / 1.088 GB, free: 1.18 MB / 0.8419 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.0004138/0.2798, allocations: 319.6 kB / 1.089 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.2798, allocations: 8.031 kB / 1.089 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.1e-05/0.2799, allocations: 42.69 kB / 1.089 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.2799, allocations: 0.9375 kB / 1.089 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.28, allocations: 168.4 kB / 1.089 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.2801, allocations: 384 / 1.089 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.2801, allocations: 4.375 kB / 1.089 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.2802, allocations: 74.55 kB / 1.089 GB, free: 468 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2802, allocations: 7.875 kB / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.2803, allocations: 0 / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.2803, allocations: 3.938 kB / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.073e-05/0.2803, allocations: 15.92 kB / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.2805, allocations: 184 kB / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.94e-05/0.2806, allocations: 89.11 kB / 1.089 GB, free: 60 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.228e-05/0.2806, allocations: 44.36 kB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002044/0.2809, allocations: 81.09 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.2809, allocations: 38.56 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.2809, allocations: 0 / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002032/0.2811, allocations: 85.98 kB / 1.089 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.582e-05/0.2812, allocations: 154.2 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.63e-05/0.2813, allocations: 93.86 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.2813, allocations: 25.7 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.524e-05/0.2813, allocations: 80.14 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.2814, allocations: 19.7 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.2814, allocations: 21.7 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.2815, allocations: 318.9 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.042e-05/0.2816, allocations: 4 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.736e-05/0.2816, allocations: 36.28 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.255e-05/0.2817, allocations: 52.17 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2817, allocations: 0 / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001107/0.2818, allocations: 61.61 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.2818, allocations: 7.938 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.2818, allocations: 7.938 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.2819, allocations: 0 / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.546e-05/0.282, allocations: 11.94 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.282, allocations: 8.156 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.231e-05/0.282, allocations: 4.562 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.282, allocations: 7.984 kB / 1.09 GB, free: 14.76 MB / 0.8575 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 6.691e-05/0.2821, allocations: 110.1 kB / 1.09 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/0.2821, allocations: 4 kB / 1.09 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.2823, allocations: 108.7 kB / 1.09 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.2823, allocations: 4 kB / 1.09 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2824, allocations: 0 / 1.09 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2824, allocations: 0 / 1.09 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.2825, allocations: 169.6 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.2825, allocations: 0 / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.718e-05/0.2826, allocations: 23.86 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.2826, allocations: 4 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.2826, allocations: 4.094 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.2826, allocations: 8 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2826, allocations: 0 / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.2828, allocations: 120.5 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.2829, allocations: 93 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.2829, allocations: 3.938 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.2e-05/0.2829, allocations: 4 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.532e-05/0.283, allocations: 15.92 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.403e-06/0.283, allocations: 4 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.188e-05/0.283, allocations: 76.7 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.283, allocations: 0 / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002211/0.2832, allocations: 4 kB / 1.091 GB, free: 13.91 MB / 0.8575 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.0004502/0.2837, allocations: 0.6627 MB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001196/0.2838, allocations: 47.86 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2838, allocations: 3.938 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.854e-05/0.2839, allocations: 27.92 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.2841, allocations: 9.5 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004039/0.2845, allocations: 170.8 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.2847, allocations: 0.6807 MB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.89e-05/0.2848, allocations: 11.98 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.2848, allocations: 15.44 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of SimCode: time 2.9e-07/0.2848, allocations: 4 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.3046, allocations: 1.412 MB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.312/7.617, allocations: 17.88 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Math_Functions_Examples_Round.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches