Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009642/0.0009642, allocations: 80.39 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 171.2 kB / 24.87 MB, free: 9.258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9648/0.9648, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.816/1.816, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round") translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.7884 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.317e-05, allocations: 2.312 kB / 0.7884 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.00166/0.001683, allocations: 0.6196 MB / 0.789 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002617/0.001945, allocations: 63.72 kB / 0.789 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.361e-05/0.001969, allocations: 1.062 kB / 0.789 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.742e-05/0.001986, allocations: 0 / 0.789 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 1.153e-05/0.001998, allocations: 3.938 kB / 0.789 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.002256, allocations: 17.55 kB / 0.7891 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.232e-05/0.002308, allocations: 11.97 kB / 0.7891 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.58e-05/0.002354, allocations: 8 kB / 0.7891 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.041e-05/0.002384, allocations: 4.844 kB / 0.7891 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.225e-05/0.002436, allocations: 7.984 kB / 0.7891 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.002449, allocations: 0.7812 kB / 0.7891 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.609e-05/0.002525, allocations: 19.91 kB / 0.7891 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.702e-05/0.002542, allocations: 7.938 kB / 0.7891 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.456e-05/0.002557, allocations: 5.344 kB / 0.7891 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.124e-05/0.002638, allocations: 19.89 kB / 0.7891 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.00264, allocations: 4 kB / 0.7891 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.71e-07/0.002641, allocations: 2 kB / 0.7891 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.002644, allocations: 0 / 0.7891 GB, free: 11.36 MB / 0.7448 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.0003183/0.002963, allocations: 348.4 kB / 0.7895 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.002998, allocations: 8.031 kB / 0.7895 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.00303, allocations: 4.938 kB / 0.7895 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.51e-05/0.003095, allocations: 106.8 kB / 0.7896 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.003109, allocations: 8.375 kB / 0.7896 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.003117, allocations: 384 / 0.7896 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.003234, allocations: 88.61 kB / 0.7897 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.036e-06/0.003242, allocations: 192 / 0.7897 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.00325, allocations: 384 / 0.7897 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.003257, allocations: 4.906 kB / 0.7897 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.685e-05/0.003284, allocations: 13.47 kB / 0.7897 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/0.003439, allocations: 140.1 kB / 0.7898 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.003555, allocations: 137.2 kB / 0.79 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.846e-05/0.003594, allocations: 42.56 kB / 0.79 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/0.00372, allocations: 7.984 kB / 0.79 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.003753, allocations: 46.7 kB / 0.7901 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.003754, allocations: 0 / 0.7901 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0001791/0.003933, allocations: 79.53 kB / 0.7901 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.134e-05/0.004005, allocations: 154.2 kB / 0.7903 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.857e-05/0.004053, allocations: 143.2 kB / 0.7904 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.00407, allocations: 29.7 kB / 0.7904 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.291e-05/0.004113, allocations: 126.9 kB / 0.7906 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.75e-05/0.004161, allocations: 24.44 kB / 0.7906 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.004199, allocations: 25.3 kB / 0.7906 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.004352, allocations: 0.4883 MB / 0.7911 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.323e-05/0.004365, allocations: 0 / 0.7911 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.768e-05/0.004413, allocations: 58.41 kB / 0.7911 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.743e-05/0.00448, allocations: 52.94 kB / 0.7912 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.004485, allocations: 8 kB / 0.7912 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000103/0.004588, allocations: 58.28 kB / 0.7913 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.004604, allocations: 10.09 kB / 0.7913 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.004609, allocations: 0 / 0.7913 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.004621, allocations: 5.656 kB / 0.7913 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.63e-05/0.004688, allocations: 11.98 kB / 0.7913 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.327e-06/0.004691, allocations: 0 / 0.7913 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.779e-05/0.004719, allocations: 4 kB / 0.7913 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.004728, allocations: 4.656 kB / 0.7913 GB, free: 8.816 MB / 0.7448 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.771e-05/0.004806, allocations: 165.7 kB / 0.7915 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.004825, allocations: 7.953 kB / 0.7915 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004832/0.005308, allocations: 90.28 kB / 0.7915 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.005312, allocations: 1.281 kB / 0.7915 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.005315, allocations: 4 kB / 0.7915 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.005321, allocations: 3.984 kB / 0.7916 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.005437, allocations: 113.1 kB / 0.7917 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.005439, allocations: 0.7812 kB / 0.7917 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.105e-05/0.00549, allocations: 16 kB / 0.7917 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.005494, allocations: 4.859 kB / 0.7917 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.0055, allocations: 4 kB / 0.7917 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.005503, allocations: 1.562 kB / 0.7917 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.005505, allocations: 4 kB / 0.7917 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.005644, allocations: 155 kB / 0.7918 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.186e-05/0.005656, allocations: 5.109 kB / 0.7918 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.005671, allocations: 11.98 kB / 0.7919 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.21e-05/0.005693, allocations: 3.938 kB / 0.7919 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.005712, allocations: 7.219 kB / 0.7919 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.005721, allocations: 7.984 kB / 0.7919 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.55e-05/0.005757, allocations: 119.2 kB / 0.792 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.005757, allocations: 0 / 0.792 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002167/0.005973, allocations: 12 kB / 0.792 GB, free: 8.02 MB / 0.7448 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.0001212/0.006095, allocations: 103.1 kB / 0.7921 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001021/0.006197, allocations: 40.05 kB / 0.7921 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.0062, allocations: 5.656 kB / 0.7921 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.452e-05/0.006234, allocations: 27.61 kB / 0.7922 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.006385, allocations: 8.531 kB / 0.7922 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002559/0.006641, allocations: 162.3 kB / 0.7923 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.18e-05/0.006682, allocations: 59.3 kB / 0.7924 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.291e-05/0.006725, allocations: 12.58 kB / 0.7924 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/0.006775, allocations: 74.2 kB / 0.7925 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of SimCode: time 1.022e-06/0.006776, allocations: 0 / 0.7925 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of Templates: time 0.00257/0.009346, allocations: 0.6422 MB / 0.7931 GB, free: 6.832 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9435446872375906]