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.001516/0.001516, 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.001995/0.001995, 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.9377/0.9377, allocations: 177.2 MB / 204.2 MB, free: 5.586 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.745/1.745, 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.913e-06/1.913e-06, allocations: 0 / 0.7872 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.698e-05/1.89e-05, allocations: 4.422 kB / 0.7872 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001477/0.001496, allocations: 0.6178 MB / 0.7878 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000253/0.001749, allocations: 55.8 kB / 0.7878 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.888e-05/0.001768, allocations: 0 / 0.7878 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.093e-05/0.001789, allocations: 0.625 kB / 0.7878 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.586e-06/0.001797, allocations: 0.6875 kB / 0.7878 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.002077, allocations: 24.69 kB / 0.7878 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.494e-05/0.002142, allocations: 8 kB / 0.7879 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.089e-05/0.002183, allocations: 9.047 kB / 0.7879 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.216e-05/0.002215, allocations: 7.984 kB / 0.7879 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.713e-05/0.002262, allocations: 4 kB / 0.7879 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.002276, allocations: 0.5938 kB / 0.7879 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.979e-05/0.002356, allocations: 23.86 kB / 0.7879 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.002371, allocations: 4.891 kB / 0.7879 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.612e-05/0.002388, allocations: 0 / 0.7879 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.325e-05/0.002481, allocations: 24.66 kB / 0.7879 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.002483, allocations: 0 / 0.7879 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.81e-07/0.002484, allocations: 1.531 kB / 0.7879 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.002488, allocations: 4 kB / 0.7879 GB, free: 11.66 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.0003264/0.002815, allocations: 348.4 kB / 0.7883 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.002855, allocations: 8.031 kB / 0.7883 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.002895, allocations: 6.125 kB / 0.7883 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.309e-05/0.002958, allocations: 108.6 kB / 0.7884 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.002972, allocations: 4.375 kB / 0.7884 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.002981, allocations: 4.906 kB / 0.7884 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.003115, allocations: 91.44 kB / 0.7885 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.003123, allocations: 192 / 0.7885 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.003132, allocations: 384 / 0.7885 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.003141, allocations: 4.375 kB / 0.7885 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.306e-05/0.003174, allocations: 15.86 kB / 0.7885 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.003317, allocations: 155.4 kB / 0.7886 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.003424, allocations: 141.4 kB / 0.7888 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.343e-05/0.003468, allocations: 46.56 kB / 0.7888 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/0.003609, allocations: 4 kB / 0.7888 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.003637, allocations: 41.86 kB / 0.7889 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.003638, allocations: 0 / 0.7889 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0001876/0.003825, allocations: 80.72 kB / 0.7889 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/0.00389, allocations: 158.2 kB / 0.7891 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.606e-05/0.003936, allocations: 142.2 kB / 0.7892 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.003947, allocations: 25.7 kB / 0.7893 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.003986, allocations: 127.5 kB / 0.7894 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.004025, allocations: 24.56 kB / 0.7894 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.004058, allocations: 23.38 kB / 0.7894 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.004187, allocations: 496.8 kB / 0.7899 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.775e-05/0.004205, allocations: 11.92 kB / 0.7899 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.077e-05/0.004246, allocations: 47.38 kB / 0.79 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.147e-05/0.004317, allocations: 63.73 kB / 0.79 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.00432, allocations: 1.812 kB / 0.79 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.982e-05/0.004409, allocations: 61.56 kB / 0.7901 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.004424, allocations: 11.41 kB / 0.7901 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.004429, allocations: 0 / 0.7901 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.004441, allocations: 0 / 0.7901 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.215e-05/0.004513, allocations: 11.98 kB / 0.7901 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.004519, allocations: 4 kB / 0.7901 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.495e-05/0.004544, allocations: 4.781 kB / 0.7901 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.148e-06/0.004553, allocations: 4 kB / 0.7901 GB, free: 9.082 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.04e-05/0.004623, allocations: 162.8 kB / 0.7903 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.004641, allocations: 11.89 kB / 0.7903 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/0.004811, allocations: 98.78 kB / 0.7904 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.004815, allocations: 4 kB / 0.7904 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/0.004819, allocations: 0 / 0.7904 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.004824, allocations: 4 kB / 0.7904 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.004936, allocations: 129 kB / 0.7905 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.004937, allocations: 0.5312 kB / 0.7905 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.892e-05/0.004986, allocations: 12 kB / 0.7905 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.00499, allocations: 5.906 kB / 0.7905 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.004998, allocations: 3.938 kB / 0.7905 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.005001, allocations: 4 kB / 0.7905 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.005003, allocations: 3.984 kB / 0.7905 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.005144, allocations: 165.5 kB / 0.7907 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.621e-06/0.00515, allocations: 0 / 0.7907 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.005163, allocations: 4 kB / 0.7907 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.338e-05/0.005186, allocations: 0 / 0.7907 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.005211, allocations: 19.86 kB / 0.7907 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.005218, allocations: 4 kB / 0.7907 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.12e-05/0.005249, allocations: 119.2 kB / 0.7908 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.005249, allocations: 1.156 kB / 0.7908 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002379/0.005487, allocations: 8 kB / 0.7908 GB, free: 8.254 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.0001198/0.005606, allocations: 108.6 kB / 0.7909 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.005712, allocations: 44.39 kB / 0.791 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.005714, allocations: 0 / 0.791 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.32e-05/0.005747, allocations: 32.45 kB / 0.791 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.005913, allocations: 7.406 kB / 0.791 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002679/0.006181, allocations: 169 kB / 0.7912 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.682e-05/0.006217, allocations: 55.36 kB / 0.7912 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.063e-05/0.006258, allocations: 9.719 kB / 0.7912 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.006287, allocations: 16.48 kB / 0.7913 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/0.006288, allocations: 0 / 0.7913 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of Templates: time 0.002687/0.008975, allocations: 0.6308 MB / 0.7919 GB, free: 7.137 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.735152381006628]