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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001103/0.001103, allocations: 109.3 kB / 15.7 MB, free: 132 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.001121/0.001121, allocations: 197.3 kB / 16.63 MB, free: 6.609 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.36/1.36, allocations: 222.9 MB / 240.3 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.385/2.385, allocations: 390.3 MB / 0.6648 GB, free: 84 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001292, allocations: 64.62 kB / 0.9509 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3359, allocations: 140.4 MB / 1.088 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001796/0.3378, allocations: 0.595 MB / 1.089 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003228/0.3381, allocations: 63.72 kB / 1.089 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.295e-05/0.3382, allocations: 0 / 1.089 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/0.3382, allocations: 0 / 1.089 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.352e-06/0.3382, allocations: 0 / 1.089 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.3385, allocations: 23.91 kB / 1.089 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.91e-05/0.3386, allocations: 7.984 kB / 1.089 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.997e-05/0.3386, allocations: 8.344 kB / 1.089 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.935e-05/0.3386, allocations: 8 kB / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.018e-05/0.3387, allocations: 7.922 kB / 1.089 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.3387, allocations: 4 kB / 1.089 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.612e-05/0.3388, allocations: 11.98 kB / 1.089 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.3388, allocations: 7.984 kB / 1.089 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.038e-05/0.3389, allocations: 3.938 kB / 1.089 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.078e-05/0.3389, allocations: 23.97 kB / 1.089 GB, free: 0.707 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.339, allocations: 3.984 kB / 1.089 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.044e-06/0.339, allocations: 0 / 1.089 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.339, allocations: 0 / 1.089 GB, free: 0.7031 MB / 0.8419 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.0004102/0.3394, allocations: 327.6 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3394, allocations: 12.03 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/0.3395, allocations: 0.9375 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.3396, allocations: 160.4 kB / 1.089 GB, free: 128 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.3396, allocations: 384 / 1.089 GB, free: 128 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.3396, allocations: 8.359 kB / 1.089 GB, free: 120 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.3398, allocations: 94.41 kB / 1.089 GB, free: 4 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.3398, allocations: 192 / 1.089 GB, free: 4 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.3398, allocations: 3.938 kB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.3399, allocations: 128 / 1.089 GB, free: 16 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.079e-05/0.3399, allocations: 15.88 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002526/0.3402, allocations: 189 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.638e-05/0.3403, allocations: 89.08 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.533e-05/0.3403, allocations: 40.47 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002019/0.3405, allocations: 89.05 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.3406, allocations: 34.55 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.3406, allocations: 0 / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.000211/0.3408, allocations: 74.09 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.458e-05/0.3409, allocations: 166.2 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.385e-05/0.3409, allocations: 89.86 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.3409, allocations: 25.7 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.937e-05/0.341, allocations: 80.14 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.618e-05/0.341, allocations: 23.7 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.3411, allocations: 17.72 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3412, allocations: 310.8 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.961e-05/0.3412, allocations: 11.98 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.451e-05/0.3412, allocations: 32.3 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.531e-05/0.3413, allocations: 52.22 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3413, allocations: 0 / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.754e-05/0.3414, allocations: 61.56 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3415, allocations: 9.562 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3415, allocations: 0 / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3415, allocations: 3.938 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.255e-05/0.3416, allocations: 11.98 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.3416, allocations: 4.156 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.061e-05/0.3416, allocations: 8 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.3416, allocations: 4 kB / 1.091 GB, free: 14.32 MB / 0.8575 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.666e-05/0.3417, allocations: 117.7 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.3417, allocations: 0 / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.3419, allocations: 108.7 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.342, allocations: 4 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.342, allocations: 0 / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.342, allocations: 4 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.3421, allocations: 173.5 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3421, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.873e-05/0.3422, allocations: 12 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.3422, allocations: 7.938 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3422, allocations: 7.875 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3422, allocations: 12.09 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3422, allocations: 0 / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.3424, allocations: 120.5 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.3424, allocations: 81.11 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.3424, allocations: 7.938 kB / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.759e-05/0.3425, allocations: 4 kB / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.768e-05/0.3425, allocations: 11.98 kB / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.3425, allocations: 4 kB / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.161e-05/0.3426, allocations: 76.7 kB / 1.091 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.3426, allocations: 0 / 1.091 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000202/0.3428, allocations: 4 kB / 1.091 GB, free: 13.46 MB / 0.8575 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.0001875/0.343, allocations: 119.6 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001149/0.3431, allocations: 35.92 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3431, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.661e-05/0.3431, allocations: 23.94 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.3433, allocations: 4 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002905/0.3436, allocations: 156.8 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.3439, allocations: 0.6807 MB / 1.092 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.709e-05/0.3439, allocations: 12 kB / 1.092 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.344, allocations: 11.44 kB / 1.092 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.344, allocations: 4 kB / 1.092 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of Templates: time 0.002617/0.3466, allocations: 0.5554 MB / 1.093 GB, free: 11.8 MB / 0.8575 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/jenkins/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