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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_latest_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_latest_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.0011/0.0011, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00824/0.008241, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.393/1.393, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.762/2.762, allocations: 462.7 MB / 0.7364 GB, free: 296 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.0003489, allocations: 13.61 kB / 0.9028 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3202, allocations: 159.6 MB / 1.059 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.000833/0.3211, allocations: 338.7 kB / 1.059 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003198/0.3214, allocations: 63.78 kB / 1.059 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.176e-05/0.3215, allocations: 0 / 1.059 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.506e-05/0.3215, allocations: 0 / 1.059 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.384e-06/0.3215, allocations: 0 / 1.059 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.3217, allocations: 23.98 kB / 1.059 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.4e-05/0.3218, allocations: 11.97 kB / 1.059 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.897e-05/0.3218, allocations: 7.938 kB / 1.059 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.14e-05/0.3219, allocations: 8 kB / 1.059 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.721e-05/0.3219, allocations: 7.938 kB / 1.059 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.117e-06/0.3219, allocations: 0 / 1.059 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.045e-05/0.322, allocations: 15.98 kB / 1.059 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.322, allocations: 7.969 kB / 1.059 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.941e-05/0.3221, allocations: 29.64 kB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.41e-05/0.3222, allocations: 15.98 kB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3222, allocations: 0 / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3222, allocations: 7.938 kB / 1.059 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.3222, allocations: 0 / 1.059 GB, free: 4.957 MB / 0.8106 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.0004042/0.3226, allocations: 323.5 kB / 1.06 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3226, allocations: 8.031 kB / 1.06 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.702e-05/0.3227, allocations: 0.9375 kB / 1.06 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.841e-05/0.3228, allocations: 164.4 kB / 1.06 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.3228, allocations: 8.375 kB / 1.06 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.086e-06/0.3228, allocations: 384 / 1.06 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.3229, allocations: 74.48 kB / 1.06 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.3229, allocations: 192 / 1.06 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.323, allocations: 3.938 kB / 1.06 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.323, allocations: 4 kB / 1.06 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.22e-05/0.323, allocations: 15.92 kB / 1.06 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.3232, allocations: 185.5 kB / 1.06 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.881e-05/0.3233, allocations: 101 kB / 1.06 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.879e-05/0.3233, allocations: 36.36 kB / 1.06 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001794/0.3235, allocations: 85.09 kB / 1.06 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.3236, allocations: 38.5 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3236, allocations: 4 kB / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0002049/0.3238, allocations: 73.48 kB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.003e-05/0.3239, allocations: 162.2 kB / 1.06 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.435e-05/0.3239, allocations: 89.86 kB / 1.061 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.3239, allocations: 25.7 kB / 1.061 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.424e-05/0.324, allocations: 80.14 kB / 1.061 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.324, allocations: 16.38 kB / 1.061 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.324, allocations: 13.72 kB / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.831e-05/0.3241, allocations: 318.8 kB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.609e-05/0.3242, allocations: 4 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.335e-05/0.3242, allocations: 40.23 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.828e-05/0.3243, allocations: 52.22 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3243, allocations: 0 / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001014/0.3244, allocations: 65.53 kB / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3244, allocations: 4 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3244, allocations: 3.938 kB / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3244, allocations: 8.094 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.767e-05/0.3245, allocations: 19.92 kB / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.3245, allocations: 0 / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.166e-05/0.3246, allocations: 7.984 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.3246, allocations: 0 / 1.061 GB, free: 2.59 MB / 0.8106 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.184e-05/0.3247, allocations: 115.4 kB / 1.061 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.3247, allocations: 4 kB / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001984/0.3249, allocations: 108.7 kB / 1.061 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3249, allocations: 0 / 1.061 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.902e-06/0.3249, allocations: 4 kB / 1.061 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3249, allocations: 7.922 kB / 1.061 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.3251, allocations: 169.6 kB / 1.062 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.3251, allocations: 4 kB / 1.062 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.757e-05/0.3251, allocations: 12.16 kB / 1.062 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.3251, allocations: 4 kB / 1.062 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.3252, allocations: 11.88 kB / 1.062 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.3252, allocations: 3.984 kB / 1.062 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3252, allocations: 4 kB / 1.062 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.3253, allocations: 120.5 kB / 1.062 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.645e-05/0.3254, allocations: 81.11 kB / 1.062 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.3254, allocations: 3.938 kB / 1.062 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.97e-05/0.3254, allocations: 3.984 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.3254, allocations: 15.94 kB / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.3254, allocations: 0 / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.855e-05/0.3255, allocations: 75.28 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3255, allocations: 4 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002095/0.3257, allocations: 8 kB / 1.062 GB, free: 1.734 MB / 0.8106 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.0001609/0.3259, allocations: 108.8 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.815e-05/0.326, allocations: 31.92 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.326, allocations: 0 / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.3261, allocations: 24.5 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.3263, allocations: 11.94 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002774/0.3266, allocations: 166.1 kB / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.3269, allocations: 0.6809 MB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.677e-05/0.3269, allocations: 12 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.001e-05/0.327, allocations: 11.44 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of SimCode: time 5.51e-07/0.327, allocations: 0 / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of Templates: time 0.002668/0.3297, allocations: 0.5434 MB / 1.063 GB, free: 76 kB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.makefile (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 & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins/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