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.001397/0.001397, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.001755/0.001755, allocations: 185 kB / 24.09 MB, free: 412 kB / 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.9665/0.9665, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.794/1.794, allocations: 359 MB / 0.6055 GB, free: 10.91 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.713e-06/1.713e-06, allocations: 0 / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.427e-05, allocations: 2.969 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001531/0.001555, allocations: 0.6208 MB / 0.7882 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002367/0.001792, allocations: 56.34 kB / 0.7883 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.951e-05/0.001811, allocations: 0 / 0.7883 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.628e-05/0.001828, allocations: 4.938 kB / 0.7883 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 1.236e-05/0.00184, allocations: 0 / 0.7883 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.002084, allocations: 21.02 kB / 0.7883 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.839e-05/0.002132, allocations: 11.98 kB / 0.7883 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.209e-05/0.002174, allocations: 8.641 kB / 0.7883 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.333e-05/0.002208, allocations: 4 kB / 0.7883 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.568e-05/0.002253, allocations: 7.281 kB / 0.7883 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.002265, allocations: 4 kB / 0.7883 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.796e-05/0.002343, allocations: 19.91 kB / 0.7883 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.00236, allocations: 4 kB / 0.7883 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.33e-05/0.002374, allocations: 3.984 kB / 0.7884 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.555e-05/0.002459, allocations: 19.97 kB / 0.7884 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.002462, allocations: 0 / 0.7884 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.233e-06/0.002464, allocations: 0 / 0.7884 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.002469, allocations: 0 / 0.7884 GB, free: 11.41 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.0003178/0.002787, allocations: 349.2 kB / 0.7887 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.002828, allocations: 16.02 kB / 0.7887 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.935e-05/0.002857, allocations: 9.469 kB / 0.7887 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.023e-05/0.002918, allocations: 110 kB / 0.7888 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.002929, allocations: 384 / 0.7888 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.002938, allocations: 4.375 kB / 0.7888 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.827e-05/0.003036, allocations: 80.69 kB / 0.7889 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.003046, allocations: 4.625 kB / 0.7889 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.003053, allocations: 384 / 0.7889 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.003059, allocations: 1.812 kB / 0.7889 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.934e-05/0.003079, allocations: 19.86 kB / 0.7889 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001195/0.003198, allocations: 137.7 kB / 0.7891 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.709e-05/0.003285, allocations: 136.1 kB / 0.7892 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.081e-05/0.003316, allocations: 46.44 kB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.003447, allocations: 9.562 kB / 0.7893 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.003474, allocations: 41.38 kB / 0.7893 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.003476, allocations: 0 / 0.7893 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0001562/0.003632, allocations: 72.39 kB / 0.7894 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.003686, allocations: 158.2 kB / 0.7895 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.71e-05/0.003723, allocations: 142.2 kB / 0.7896 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.003735, allocations: 29.7 kB / 0.7897 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.096e-05/0.003766, allocations: 127.4 kB / 0.7898 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/0.003806, allocations: 24.58 kB / 0.7898 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-05/0.003852, allocations: 23.38 kB / 0.7898 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.003975, allocations: 497.5 kB / 0.7903 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.52e-05/0.00399, allocations: 7.984 kB / 0.7903 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.177e-05/0.004022, allocations: 46.42 kB / 0.7904 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.151e-05/0.004083, allocations: 67.95 kB / 0.7904 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.004086, allocations: 0.875 kB / 0.7904 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.911e-05/0.004165, allocations: 62.31 kB / 0.7905 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.004181, allocations: 9.281 kB / 0.7905 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.004186, allocations: 0 / 0.7905 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.0042, allocations: 0 / 0.7905 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.508e-05/0.004265, allocations: 16.42 kB / 0.7905 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.00427, allocations: 5.031 kB / 0.7905 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.757e-05/0.004287, allocations: 0 / 0.7905 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.004297, allocations: 4 kB / 0.7905 GB, free: 8.852 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.362e-05/0.00437, allocations: 161.4 kB / 0.7907 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.183e-05/0.004382, allocations: 11.89 kB / 0.7907 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.004531, allocations: 91.56 kB / 0.7908 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.004534, allocations: 0 / 0.7908 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.004537, allocations: 4 kB / 0.7908 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.004541, allocations: 2.688 kB / 0.7908 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.704e-05/0.004638, allocations: 121.1 kB / 0.7909 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.004641, allocations: 0 / 0.7909 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.981e-05/0.004681, allocations: 19.94 kB / 0.7909 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.004686, allocations: 7.984 kB / 0.7909 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-06/0.004691, allocations: 0 / 0.7909 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.004694, allocations: 4 kB / 0.7909 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.004695, allocations: 1.594 kB / 0.7909 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.004815, allocations: 151 kB / 0.7911 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-06/0.004824, allocations: 11.98 kB / 0.7911 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.004835, allocations: 4 kB / 0.7911 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.416e-05/0.004849, allocations: 0.5 kB / 0.7911 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.004869, allocations: 16.42 kB / 0.7911 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.004875, allocations: 4.5 kB / 0.7911 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.336e-05/0.004908, allocations: 119.2 kB / 0.7912 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.004908, allocations: 1.438 kB / 0.7912 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001434/0.005051, allocations: 8 kB / 0.7912 GB, free: 8.051 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.000171/0.005222, allocations: 112.2 kB / 0.7913 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001287/0.005351, allocations: 36.27 kB / 0.7914 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.005353, allocations: 0 / 0.7914 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.478e-05/0.005378, allocations: 40.39 kB / 0.7914 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001133/0.005491, allocations: 5.719 kB / 0.7914 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002417/0.005732, allocations: 161 kB / 0.7916 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.608e-05/0.005769, allocations: 59.34 kB / 0.7916 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.13e-05/0.0058, allocations: 5.375 kB / 0.7916 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/0.005843, allocations: 78.2 kB / 0.7917 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.005844, allocations: 0 / 0.7917 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of Templates: time 0.002331/0.008175, allocations: 0.6512 MB / 0.7923 GB, free: 6.852 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.934266809839755]