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.0008911/0.0008911, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009657/0.0009657, allocations: 161 kB / 23.82 MB, free: 0.75 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.9154/0.9154, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.784/1.784, allocations: 359 MB / 0.6052 GB, free: 11.03 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.473e-06/1.473e-06, allocations: 0 / 0.7871 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.557e-05/1.704e-05, allocations: 6.891 kB / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001004/0.001021, allocations: 0.616 MB / 0.7878 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002003/0.001222, allocations: 60.3 kB / 0.7878 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.724e-05/0.001239, allocations: 0 / 0.7878 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.995e-05/0.001259, allocations: 4.594 kB / 0.7878 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.084e-06/0.001266, allocations: 0.6562 kB / 0.7878 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.0015, allocations: 24.72 kB / 0.7878 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.526e-05/0.001546, allocations: 7.984 kB / 0.7878 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.651e-05/0.001582, allocations: 5.031 kB / 0.7879 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.708e-05/0.001609, allocations: 7.984 kB / 0.7879 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.154e-05/0.001651, allocations: 11.98 kB / 0.7879 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.001662, allocations: 2.875 kB / 0.7879 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.342e-05/0.001725, allocations: 11.94 kB / 0.7879 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.001739, allocations: 7.922 kB / 0.7879 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.477e-05/0.001753, allocations: 3.984 kB / 0.7879 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.65e-05/0.00183, allocations: 19.97 kB / 0.7879 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.001832, allocations: 0 / 0.7879 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.31e-07/0.001832, allocations: 0 / 0.7879 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.001835, allocations: 4 kB / 0.7879 GB, free: 11.65 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.0002889/0.002124, allocations: 349.7 kB / 0.7883 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.002159, allocations: 8.031 kB / 0.7883 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.002191, allocations: 4.938 kB / 0.7883 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.025e-05/0.002241, allocations: 105.2 kB / 0.7884 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.002254, allocations: 5.344 kB / 0.7884 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.002265, allocations: 8.312 kB / 0.7884 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.002379, allocations: 88.67 kB / 0.7885 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.002389, allocations: 0.875 kB / 0.7885 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.002398, allocations: 384 / 0.7885 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.002408, allocations: 5.906 kB / 0.7885 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.394e-05/0.002432, allocations: 11.88 kB / 0.7885 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001232/0.002555, allocations: 155.4 kB / 0.7886 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.324e-05/0.002639, allocations: 137.3 kB / 0.7888 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.544e-05/0.002674, allocations: 46.56 kB / 0.7888 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/0.002798, allocations: 14.36 kB / 0.7888 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.002821, allocations: 41.39 kB / 0.7889 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 7.22e-07/0.002822, allocations: 0 / 0.7889 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0001598/0.002981, allocations: 74.38 kB / 0.7889 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.003032, allocations: 162.9 kB / 0.7891 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.563e-05/0.003068, allocations: 142.2 kB / 0.7892 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.003078, allocations: 30.23 kB / 0.7892 GB, free: 10 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.467e-05/0.003103, allocations: 128.5 kB / 0.7894 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.003134, allocations: 19.88 kB / 0.7894 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.003167, allocations: 27.36 kB / 0.7894 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.652e-05/0.003263, allocations: 496.1 kB / 0.7899 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.42e-05/0.003278, allocations: 4 kB / 0.7899 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.77e-05/0.003305, allocations: 51.05 kB / 0.7899 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.394e-05/0.003359, allocations: 60.62 kB / 0.79 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.003361, allocations: 0 / 0.79 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.602e-05/0.003427, allocations: 62.94 kB / 0.7901 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.00344, allocations: 13.8 kB / 0.7901 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.003444, allocations: 0 / 0.7901 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.003459, allocations: 0 / 0.7901 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.963e-05/0.003518, allocations: 12 kB / 0.7901 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.003525, allocations: 7.938 kB / 0.7901 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.7e-05/0.003542, allocations: 5.094 kB / 0.7901 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.003549, allocations: 4 kB / 0.7901 GB, free: 9.062 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 5.849e-05/0.003607, allocations: 160.6 kB / 0.7903 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.169e-05/0.003619, allocations: 12.48 kB / 0.7903 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.003755, allocations: 96.06 kB / 0.7904 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.003759, allocations: 4 kB / 0.7904 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.003762, allocations: 0 / 0.7904 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.003765, allocations: 4 kB / 0.7904 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.035e-05/0.003846, allocations: 125.3 kB / 0.7905 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.003847, allocations: 0 / 0.7905 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.153e-05/0.003878, allocations: 18.27 kB / 0.7905 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.003881, allocations: 4 kB / 0.7905 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.003888, allocations: 3.938 kB / 0.7905 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.003889, allocations: 7.938 kB / 0.7905 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.00389, allocations: 0 / 0.7905 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.941e-05/0.00399, allocations: 159 kB / 0.7907 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-06/0.003996, allocations: 6.047 kB / 0.7907 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.678e-06/0.004005, allocations: 4 kB / 0.7907 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.469e-05/0.00402, allocations: 4 kB / 0.7907 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.838e-05/0.004038, allocations: 11.92 kB / 0.7907 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.004043, allocations: 4 kB / 0.7907 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.506e-05/0.004068, allocations: 119.7 kB / 0.7908 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.004068, allocations: 0.5312 kB / 0.7908 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001365/0.004204, allocations: 12 kB / 0.7908 GB, free: 8.238 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 9.73e-05/0.004302, allocations: 105 kB / 0.7909 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.613e-05/0.004388, allocations: 44.16 kB / 0.791 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.004389, allocations: 0 / 0.791 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.408e-05/0.004413, allocations: 33.12 kB / 0.791 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001051/0.004518, allocations: 4.078 kB / 0.791 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004711/0.00499, allocations: 176.3 kB / 0.7912 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.095e-05/0.00502, allocations: 59.34 kB / 0.7912 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.528e-05/0.005046, allocations: 8.25 kB / 0.7912 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.26e-05/0.005068, allocations: 17.97 kB / 0.7913 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/0.005069, allocations: 0 / 0.7913 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of Templates: time 0.001905/0.006974, allocations: 0.5512 MB / 0.7918 GB, free: 7.191 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.970219464041293]