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: translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round") translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.001871/0.001871, allocations: 188.2 kB / 16.25 MB, free: 6.586 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.386/1.386, allocations: 222.9 MB / 239.9 MB, free: 4.5 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.53/2.53, allocations: 437 MB / 0.71 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.91 kB / 0.8687 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.623/0.6242, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.002213/0.6265, allocations: 0.6605 MB / 1.017 GB, free: 2.035 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002892/0.6268, allocations: 71.69 kB / 1.018 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.455e-05/0.6268, allocations: 0 / 1.018 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.6269, allocations: 0 / 1.018 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.254e-06/0.6269, allocations: 0 / 1.018 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.6272, allocations: 23.92 kB / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5e-05/0.6272, allocations: 12 kB / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.446e-05/0.6273, allocations: 7.969 kB / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.902e-05/0.6273, allocations: 4 kB / 1.018 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.87e-05/0.6274, allocations: 7.938 kB / 1.018 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.819e-06/0.6274, allocations: 7.938 kB / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.627e-05/0.6275, allocations: 15.98 kB / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.6275, allocations: 4 kB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.984e-05/0.6275, allocations: 11.91 kB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.629e-05/0.6276, allocations: 11.98 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.6276, allocations: 0 / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6276, allocations: 0 / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.6276, allocations: 0 / 1.018 GB, free: 1.859 MB / 0.7637 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.0003062/0.6279, allocations: 327.5 kB / 1.018 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.628, allocations: 16.03 kB / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.497e-05/0.628, allocations: 0.9375 kB / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.112e-05/0.6281, allocations: 164.4 kB / 1.018 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.6281, allocations: 8.375 kB / 1.018 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.659e-06/0.6281, allocations: 384 / 1.018 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.6282, allocations: 70.48 kB / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.6282, allocations: 8.188 kB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.6282, allocations: 3.938 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.6282, allocations: 4 kB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.154e-05/0.6283, allocations: 15.92 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.6284, allocations: 175.2 kB / 1.018 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 8.427e-05/0.6285, allocations: 101.1 kB / 1.018 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.701e-05/0.6286, allocations: 32.36 kB / 1.018 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001947/0.6288, allocations: 93.02 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.6288, allocations: 42.5 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.6288, allocations: 0 / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of matching and sorting (n=5): time 0.0001699/0.629, allocations: 73.48 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.6291, allocations: 162.8 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.145e-05/0.6291, allocations: 97.86 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.6291, allocations: 25.7 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.452e-05/0.6291, allocations: 80.14 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.6292, allocations: 15.75 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.6292, allocations: 25.7 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.6293, allocations: 310.8 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.927e-05/0.6293, allocations: 8 kB / 1.019 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.072e-05/0.6294, allocations: 36.28 kB / 1.019 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.267e-05/0.6294, allocations: 48.23 kB / 1.019 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6295, allocations: 4 kB / 1.019 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.41e-05/0.6296, allocations: 69.45 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.6296, allocations: 9.094 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.6296, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.6296, allocations: 3.938 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.082e-05/0.6297, allocations: 11.98 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.6297, allocations: 7.938 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.717e-05/0.6297, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.6297, allocations: 4.156 kB / 1.02 GB, free: 15.48 MB / 0.7794 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.78e-05/0.6298, allocations: 125.8 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.6298, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.63, allocations: 108.8 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.63, allocations: 4 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.63, allocations: 0 / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.63, allocations: 4 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.6302, allocations: 157.7 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.6302, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.346e-05/0.6302, allocations: 15.98 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.6302, allocations: 4 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.6303, allocations: 7.938 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.6303, allocations: 7.938 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6303, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.6304, allocations: 128.4 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.05e-05/0.6304, allocations: 89.03 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.6305, allocations: 7.938 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.904e-05/0.6305, allocations: 8 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.6305, allocations: 4 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.6305, allocations: 7.984 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.364e-05/0.6306, allocations: 75.28 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6306, allocations: 0 / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002013/0.6308, allocations: 12 kB / 1.02 GB, free: 14.61 MB / 0.7794 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.0001394/0.6309, allocations: 107.2 kB / 1.02 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.631, allocations: 43.92 kB / 1.02 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.631, allocations: 0 / 1.02 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.215e-05/0.6311, allocations: 23.92 kB / 1.02 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.6312, allocations: 8 kB / 1.02 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002379/0.6315, allocations: 160.9 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.6317, allocations: 0.6807 MB / 1.021 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.105e-05/0.6317, allocations: 12.08 kB / 1.021 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.883e-05/0.6318, allocations: 23.38 kB / 1.021 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.6318, allocations: 0 / 1.021 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of Templates: time 0.002708/0.6345, allocations: 0.5475 MB / 1.022 GB, free: 12.94 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.makefile (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 & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins/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