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: translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_9_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_9_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.001603/0.001603, allocations: 109.6 kB / 15.99 MB, free: 6.355 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.001847/0.001847, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.391/1.391, allocations: 222.9 MB / 240.6 MB, free: 13.68 MB / 206.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.49/2.49, allocations: 390.2 MB / 0.665 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 70.41 kB / 0.8127 GB, free: 32.43 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2703, allocations: 140.4 MB / 0.9498 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001918/0.2723, allocations: 0.6589 MB / 0.9504 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002688/0.2726, allocations: 59.78 kB / 0.9505 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.583e-05/0.2726, allocations: 7.938 kB / 0.9505 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.424e-05/0.2727, allocations: 0 / 0.9505 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.522e-06/0.2727, allocations: 0 / 0.9505 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.2729, allocations: 23.91 kB / 0.9505 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.581e-05/0.273, allocations: 7.984 kB / 0.9505 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.377e-05/0.273, allocations: 8 kB / 0.9505 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.974e-05/0.2731, allocations: 4 kB / 0.9505 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.292e-05/0.2731, allocations: 15.91 kB / 0.9506 GB, free: 8.414 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.658e-06/0.2731, allocations: 0 / 0.9506 GB, free: 8.414 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.758e-05/0.2732, allocations: 12 kB / 0.9506 GB, free: 8.402 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.2732, allocations: 7.984 kB / 0.9506 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.958e-05/0.2733, allocations: 0 / 0.9506 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.367e-05/0.2733, allocations: 23.97 kB / 0.9506 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2734, allocations: 0 / 0.9506 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2734, allocations: 0 / 0.9506 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.842e-06/0.2734, allocations: 0 / 0.9506 GB, free: 8.371 MB / 0.7325 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.0003638/0.2737, allocations: 331.4 kB / 0.9509 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.2738, allocations: 8.031 kB / 0.9509 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.2738, allocations: 8.938 kB / 0.9509 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.885e-05/0.2739, allocations: 168.4 kB / 0.9511 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.2739, allocations: 384 / 0.9511 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.274, allocations: 8.312 kB / 0.9511 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.2741, allocations: 62.55 kB / 0.9512 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.2741, allocations: 4.188 kB / 0.9512 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.2741, allocations: 3.938 kB / 0.9512 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.2742, allocations: 7.984 kB / 0.9512 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.101e-05/0.2742, allocations: 19.92 kB / 0.9512 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001735/0.2744, allocations: 179.5 kB / 0.9514 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.963e-05/0.2745, allocations: 97.06 kB / 0.9515 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.396e-05/0.2745, allocations: 28.42 kB / 0.9515 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001989/0.2747, allocations: 89.03 kB / 0.9516 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.2748, allocations: 42.56 kB / 0.9516 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.2748, allocations: 3.938 kB / 0.9516 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0002012/0.275, allocations: 69.5 kB / 0.9517 GB, free: 7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.674e-05/0.2751, allocations: 166.1 kB / 0.9518 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.584e-05/0.2751, allocations: 90.48 kB / 0.9519 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.2751, allocations: 33.7 kB / 0.952 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.165e-05/0.2752, allocations: 80.14 kB / 0.952 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.127e-05/0.2752, allocations: 15.75 kB / 0.952 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.2753, allocations: 17.7 kB / 0.9521 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.2754, allocations: 318.8 kB / 0.9524 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.658e-05/0.2754, allocations: 0 / 0.9524 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.94e-05/0.2754, allocations: 40.28 kB / 0.9524 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.509e-05/0.2755, allocations: 48.23 kB / 0.9524 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2755, allocations: 0 / 0.9524 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001025/0.2756, allocations: 69.47 kB / 0.9525 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.2757, allocations: 4 kB / 0.9525 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.2757, allocations: 8.109 kB / 0.9525 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.2757, allocations: 7.938 kB / 0.9525 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.047e-05/0.2758, allocations: 8 kB / 0.9525 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.2758, allocations: 0 / 0.9525 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.102e-05/0.2758, allocations: 7.938 kB / 0.9525 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.2758, allocations: 4 kB / 0.9526 GB, free: 5.992 MB / 0.7325 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.933e-05/0.2759, allocations: 125.4 kB / 0.9527 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.2759, allocations: 4 kB / 0.9527 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001963/0.2761, allocations: 100.5 kB / 0.9528 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.2762, allocations: 3.984 kB / 0.9528 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.2762, allocations: 8.156 kB / 0.9528 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.2762, allocations: 0 / 0.9528 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.2763, allocations: 165.6 kB / 0.9529 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.2763, allocations: 4 kB / 0.9529 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.059e-05/0.2764, allocations: 15.94 kB / 0.953 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.2764, allocations: 3.984 kB / 0.953 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.2764, allocations: 11.94 kB / 0.953 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2764, allocations: 0 / 0.953 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.2764, allocations: 4 kB / 0.953 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.2766, allocations: 116.5 kB / 0.9531 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.586e-05/0.2767, allocations: 85.09 kB / 0.9532 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.2767, allocations: 12.03 kB / 0.9532 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.033e-05/0.2768, allocations: 7.938 kB / 0.9532 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/0.2768, allocations: 8 kB / 0.9532 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.2768, allocations: 0 / 0.9532 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.021e-05/0.2769, allocations: 79.28 kB / 0.9533 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2769, allocations: 0 / 0.9533 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000397/0.2773, allocations: 11.98 kB / 0.9533 GB, free: 5.129 MB / 0.7325 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.0001755/0.2775, allocations: 103.2 kB / 0.9534 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001143/0.2776, allocations: 36.17 kB / 0.9534 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2776, allocations: 4.062 kB / 0.9534 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.751e-05/0.2776, allocations: 27.92 kB / 0.9534 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.2778, allocations: 5.875 kB / 0.9535 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002973/0.2781, allocations: 190.3 kB / 0.9536 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.2784, allocations: 0.6868 MB / 0.9543 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.2784, allocations: 11.44 kB / 0.9543 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of SimCode: time 3.5e-07/0.2784, allocations: 0 / 0.9543 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of Templates: time 0.002473/0.2809, allocations: 0.6834 MB / 0.955 GB, free: 3.312 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.makefile (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 & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/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