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.008039/0.008039, allocations: 100.4 kB / 15.73 MB, free: 6.031 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.001874/0.001874, allocations: 193.2 kB / 16.67 MB, free: 5.965 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.659/2.659, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 67.91 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2935, allocations: 157.4 MB / 1.208 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001599/0.2952, allocations: 0.5875 MB / 1.208 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002284/0.2954, allocations: 71.69 kB / 1.208 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.583e-05/0.2954, allocations: 0 / 1.208 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.151e-05/0.2955, allocations: 3.938 kB / 1.208 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.935e-06/0.2955, allocations: 7.938 kB / 1.208 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.2957, allocations: 19.98 kB / 1.208 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.2e-05/0.2958, allocations: 11.98 kB / 1.208 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.498e-05/0.2958, allocations: 7.984 kB / 1.208 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.66e-05/0.2958, allocations: 4 kB / 1.208 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.446e-05/0.2959, allocations: 11.94 kB / 1.208 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.809e-06/0.2959, allocations: 0 / 1.208 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.655e-05/0.296, allocations: 11.98 kB / 1.208 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.508e-06/0.296, allocations: 7.938 kB / 1.209 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.296, allocations: 15.91 kB / 1.209 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 6.835e-05/0.2961, allocations: 11.98 kB / 1.209 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2961, allocations: 4 kB / 1.209 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2961, allocations: 0 / 1.209 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.2961, allocations: 0 / 1.209 GB, free: 8.801 MB / 0.9669 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.0003298/0.2965, allocations: 323.6 kB / 1.209 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.2965, allocations: 8.625 kB / 1.209 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.672e-05/0.2965, allocations: 4.938 kB / 1.209 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.62e-05/0.2966, allocations: 164.4 kB / 1.209 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.2966, allocations: 4.375 kB / 1.209 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.2967, allocations: 4.375 kB / 1.209 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.2968, allocations: 70.48 kB / 1.209 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.2968, allocations: 4.188 kB / 1.209 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.2968, allocations: 3.938 kB / 1.209 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.2968, allocations: 3.984 kB / 1.209 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.557e-05/0.2969, allocations: 19.92 kB / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000168/0.297, allocations: 181.1 kB / 1.209 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.507e-05/0.2971, allocations: 97.02 kB / 1.209 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.668e-05/0.2972, allocations: 32.36 kB / 1.209 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001644/0.2974, allocations: 93.08 kB / 1.21 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.2974, allocations: 42.5 kB / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.2974, allocations: 0 / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0001809/0.2976, allocations: 74.11 kB / 1.21 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.571e-05/0.2977, allocations: 162.2 kB / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.256e-05/0.2977, allocations: 89.86 kB / 1.21 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.2978, allocations: 29.7 kB / 1.21 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.2978, allocations: 80.14 kB / 1.21 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/0.2978, allocations: 11.75 kB / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.2979, allocations: 21.7 kB / 1.21 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.73e-05/0.298, allocations: 314.8 kB / 1.21 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.703e-05/0.298, allocations: 8 kB / 1.21 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.731e-05/0.298, allocations: 44.22 kB / 1.21 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.318e-05/0.2981, allocations: 56.17 kB / 1.21 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2981, allocations: 0 / 1.21 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.856e-05/0.2982, allocations: 61.61 kB / 1.21 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.2982, allocations: 7.938 kB / 1.21 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2983, allocations: 4 kB / 1.21 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.2983, allocations: 3.938 kB / 1.21 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.549e-05/0.2984, allocations: 8 kB / 1.21 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2984, allocations: 4.156 kB / 1.21 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.826e-05/0.2984, allocations: 4 kB / 1.21 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.2984, allocations: 7.984 kB / 1.21 GB, free: 6.422 MB / 0.9669 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 8.256e-05/0.2985, allocations: 109.8 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.689e-05/0.2985, allocations: 7.906 kB / 1.211 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/0.2987, allocations: 112.5 kB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2987, allocations: 4 kB / 1.211 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2987, allocations: 0 / 1.211 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2988, allocations: 0 / 1.211 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.2989, allocations: 161.7 kB / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2989, allocations: 4 kB / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.075e-05/0.299, allocations: 16.11 kB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.299, allocations: 0 / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.299, allocations: 15.94 kB / 1.211 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.299, allocations: 4.156 kB / 1.211 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.299, allocations: 7.938 kB / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.2991, allocations: 116.5 kB / 1.211 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.392e-05/0.2992, allocations: 89.02 kB / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.2992, allocations: 11.88 kB / 1.211 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.996e-05/0.2992, allocations: 4 kB / 1.211 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.723e-05/0.2993, allocations: 7.984 kB / 1.211 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.2993, allocations: 4 kB / 1.211 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.636e-05/0.2993, allocations: 75.28 kB / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2993, allocations: 0 / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002095/0.2995, allocations: 8 kB / 1.211 GB, free: 5.566 MB / 0.9669 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.0001292/0.2997, allocations: 105.1 kB / 1.211 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001024/0.2998, allocations: 35.86 kB / 1.211 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.2998, allocations: 4.094 kB / 1.211 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.328e-05/0.2998, allocations: 27.86 kB / 1.211 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.3, allocations: 9.25 kB / 1.211 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002348/0.3002, allocations: 152.9 kB / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.3005, allocations: 0.6807 MB / 1.212 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.933e-05/0.3005, allocations: 11.98 kB / 1.212 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.476e-05/0.3005, allocations: 15.44 kB / 1.212 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.3005, allocations: 3.938 kB / 1.212 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of Templates: time 0.00244/0.303, allocations: 0.5673 MB / 1.213 GB, free: 3.891 MB / 0.9669 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