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.001126/0.001126, allocations: 110.7 kB / 16.41 MB, free: 6.492 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.001062/0.001062, allocations: 187 kB / 17.34 MB, free: 5.762 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.16 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.464/2.464, allocations: 437 MB / 0.7112 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 63.91 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.864/0.8656, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001919/0.8675, allocations: 0.6045 MB / 1.168 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003046/0.8679, allocations: 63.77 kB / 1.168 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.184e-05/0.8679, allocations: 0 / 1.168 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.484e-05/0.8679, allocations: 0 / 1.168 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 1.037e-05/0.868, allocations: 0 / 1.168 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.8683, allocations: 31.84 kB / 1.168 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.892e-05/0.8683, allocations: 8 kB / 1.168 GB, free: 3.195 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.239e-05/0.8684, allocations: 4 kB / 1.168 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.242e-05/0.8684, allocations: 7.984 kB / 1.168 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.376e-05/0.8685, allocations: 8 kB / 1.168 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.8685, allocations: 0 / 1.168 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.572e-05/0.8686, allocations: 23.91 kB / 1.168 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.093e-05/0.8686, allocations: 3.938 kB / 1.168 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.204e-05/0.8687, allocations: 4 kB / 1.168 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.763e-05/0.8688, allocations: 23.89 kB / 1.168 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.8688, allocations: 0 / 1.168 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8688, allocations: 0 / 1.168 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.8688, allocations: 0 / 1.168 GB, free: 3.121 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.0003795/0.8692, allocations: 331.6 kB / 1.168 GB, free: 2.746 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.8692, allocations: 8.031 kB / 1.168 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.8693, allocations: 4.875 kB / 1.168 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.8694, allocations: 164.4 kB / 1.169 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.8694, allocations: 4.375 kB / 1.169 GB, free: 2.531 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.8694, allocations: 384 / 1.169 GB, free: 2.531 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.8696, allocations: 70.55 kB / 1.169 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.8696, allocations: 4.125 kB / 1.169 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.8696, allocations: 7.938 kB / 1.169 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.8696, allocations: 4 kB / 1.169 GB, free: 2.426 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.824e-05/0.8696, allocations: 11.92 kB / 1.169 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001908/0.8698, allocations: 181.3 kB / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.562e-05/0.8699, allocations: 97.06 kB / 1.169 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.838e-05/0.87, allocations: 34.77 kB / 1.169 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000198/0.8702, allocations: 93.09 kB / 1.169 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.8702, allocations: 30.56 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=5): time 1.653e-06/0.8702, allocations: 4 kB / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5): time 0.000213/0.8705, allocations: 85.92 kB / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.896e-05/0.8706, allocations: 158.2 kB / 1.169 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.236e-05/0.8706, allocations: 89.86 kB / 1.169 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.8706, allocations: 25.7 kB / 1.169 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.501e-05/0.8707, allocations: 80.14 kB / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.83e-05/0.8707, allocations: 19.61 kB / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.8707, allocations: 21.64 kB / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.8709, allocations: 314.8 kB / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.816e-05/0.8709, allocations: 8.031 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.572e-05/0.8709, allocations: 36.28 kB / 1.17 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.669e-05/0.871, allocations: 52.17 kB / 1.17 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.871, allocations: 0 / 1.17 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001044/0.8711, allocations: 57.75 kB / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.8711, allocations: 8 kB / 1.17 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.8711, allocations: 7.984 kB / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.8712, allocations: 7.938 kB / 1.17 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.993e-05/0.8713, allocations: 11.94 kB / 1.17 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.8713, allocations: 4.156 kB / 1.17 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.101e-05/0.8713, allocations: 3.984 kB / 1.17 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.8713, allocations: 11.94 kB / 1.17 GB, free: 0.7422 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 7.496e-05/0.8714, allocations: 113.8 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.8714, allocations: 0 / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002042/0.8716, allocations: 110.3 kB / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.8716, allocations: 3.984 kB / 1.17 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.8717, allocations: 4 kB / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.8717, allocations: 0 / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.8718, allocations: 161.7 kB / 1.17 GB, free: 296 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.8718, allocations: 0 / 1.17 GB, free: 296 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.47e-05/0.8719, allocations: 23.94 kB / 1.17 GB, free: 272 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.8719, allocations: 3.984 kB / 1.17 GB, free: 268 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.8719, allocations: 7.938 kB / 1.17 GB, free: 260 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.8719, allocations: 4.156 kB / 1.17 GB, free: 256 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.8719, allocations: 0 / 1.17 GB, free: 256 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.8721, allocations: 116.5 kB / 1.171 GB, free: 108 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 7.746e-05/0.8722, allocations: 97.02 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.8722, allocations: 11.94 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.025e-05/0.8722, allocations: 0 / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.977e-05/0.8722, allocations: 7.938 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.8723, allocations: 8 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.625e-05/0.8723, allocations: 75.28 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of sort global known variables: time 9e-08/0.8723, allocations: 0 / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000222/0.8725, allocations: 11.98 kB / 1.171 GB, free: 15.88 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.0001701/0.8727, allocations: 107.2 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000117/0.8728, allocations: 39.92 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.8728, allocations: 0 / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.83e-05/0.8729, allocations: 27.92 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.873, allocations: 10.59 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003294/0.8734, allocations: 174.6 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.8736, allocations: 0.6807 MB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.701e-05/0.8737, allocations: 11.44 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of SimCode: time 2.11e-07/0.8737, allocations: 0 / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of Templates: time 0.002227/0.8759, allocations: 0.6874 MB / 1.172 GB, free: 14.06 MB / 0.9044 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/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