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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001157/0.001157, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 198.5 kB / 16.79 MB, free: 6.828 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.375/1.375, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.584/2.584, allocations: 437 MB / 0.7106 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 67.88 kB / 0.8692 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6346/0.6361, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001681/0.6378, allocations: 0.6606 MB / 1.018 GB, free: 2.152 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002673/0.6381, allocations: 67.7 kB / 1.018 GB, free: 2.086 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.15e-05/0.6381, allocations: 4 kB / 1.018 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.703e-05/0.6381, allocations: 0 / 1.018 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.412e-06/0.6381, allocations: 0 / 1.018 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.6383, allocations: 19.97 kB / 1.018 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.532e-05/0.6384, allocations: 8 kB / 1.018 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.689e-05/0.6384, allocations: 0 / 1.018 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.049e-05/0.6384, allocations: 7.984 kB / 1.018 GB, free: 2.047 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.316e-05/0.6385, allocations: 15.92 kB / 1.018 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.6385, allocations: 4 kB / 1.018 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.146e-05/0.6386, allocations: 19.92 kB / 1.018 GB, free: 2.008 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.779e-06/0.6386, allocations: 0 / 1.018 GB, free: 2.008 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.082e-05/0.6386, allocations: 11.92 kB / 1.018 GB, free: 1.996 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 5.754e-05/0.6387, allocations: 7.984 kB / 1.018 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.6387, allocations: 3.984 kB / 1.018 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.02e-07/0.6387, allocations: 0 / 1.018 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.6387, allocations: 0 / 1.018 GB, free: 1.984 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.0003482/0.6391, allocations: 327.5 kB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.6391, allocations: 16.03 kB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.356e-05/0.6391, allocations: 4.938 kB / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.171e-05/0.6392, allocations: 160.4 kB / 1.019 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.6392, allocations: 8.375 kB / 1.019 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.6393, allocations: 4.359 kB / 1.019 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.6394, allocations: 74.47 kB / 1.019 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.6394, allocations: 4.188 kB / 1.019 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.6394, allocations: 3.938 kB / 1.019 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.6394, allocations: 4 kB / 1.019 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.333e-05/0.6395, allocations: 7.938 kB / 1.019 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.6396, allocations: 179.2 kB / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 9.588e-05/0.6397, allocations: 101 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.166e-05/0.6398, allocations: 36.34 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001815/0.64, allocations: 81.11 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.64, allocations: 46.48 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.64, allocations: 0 / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of matching and sorting (n=5): time 0.0001749/0.6402, allocations: 73.44 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.661e-05/0.6403, allocations: 162.8 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.475e-05/0.6403, allocations: 89.86 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.6404, allocations: 29.7 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 3.184e-05/0.6404, allocations: 84.14 kB / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.6404, allocations: 19.73 kB / 1.02 GB, free: 184 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.6405, allocations: 17.72 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.6406, allocations: 314.8 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.149e-05/0.6406, allocations: 11.98 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.819e-05/0.6407, allocations: 32.3 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.527e-05/0.6407, allocations: 52.22 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.6407, allocations: 7.938 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.72e-05/0.6408, allocations: 65.47 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.6409, allocations: 8 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.6409, allocations: 0 / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.6409, allocations: 3.938 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.045e-05/0.641, allocations: 11.98 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.495e-06/0.641, allocations: 7.984 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.685e-05/0.641, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.641, allocations: 4.156 kB / 1.02 GB, free: 15.6 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 7.147e-05/0.6411, allocations: 117.8 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.6411, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001901/0.6413, allocations: 112.7 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.6413, allocations: 4 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.6413, allocations: 0 / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.6413, allocations: 4 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.6415, allocations: 165.6 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.6415, allocations: 3.984 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.497e-05/0.6415, allocations: 12 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.6416, allocations: 4 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.6416, allocations: 3.938 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.6416, allocations: 4 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.6416, allocations: 4.031 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.6417, allocations: 124.5 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.234e-05/0.6418, allocations: 85.05 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.6418, allocations: 7.938 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.974e-05/0.6418, allocations: 8.094 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.747e-05/0.6419, allocations: 11.92 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.6419, allocations: 4 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.433e-05/0.6419, allocations: 75.28 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6419, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002035/0.6421, allocations: 12 kB / 1.021 GB, free: 14.74 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.000146/0.6423, allocations: 107.2 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.925e-05/0.6424, allocations: 39.86 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6424, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.584e-05/0.6424, allocations: 23.94 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.6426, allocations: 17.42 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002699/0.6429, allocations: 180.4 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.6431, allocations: 0.6809 MB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/0.6431, allocations: 11.44 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of SimCode: time 1.663e-06/0.6431, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of Templates: time 0.001932/0.6451, allocations: 0.672 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/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