Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001361/0.001361, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001547/0.001547, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9244/0.9244, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.837/1.837, allocations: 377.8 MB / 0.6236 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Math.Functions.Examples.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.8116 GB, free: 1.668 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04e-05/1.159e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.66 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.0009368/0.0009484, allocations: 0.61 MB / 0.8122 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001637/0.001112, allocations: 61.12 kB / 0.8123 GB, free: 1.012 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.212e-05/0.001124, allocations: 0 / 0.8123 GB, free: 1.012 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.00114, allocations: 0 / 0.8123 GB, free: 1.012 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.521e-06/0.001145, allocations: 0 / 0.8123 GB, free: 1.012 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001713/0.001317, allocations: 25.5 kB / 0.8123 GB, free: 0.9883 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 3.637e-05/0.001353, allocations: 7.938 kB / 0.8123 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 2.303e-05/0.001376, allocations: 4 kB / 0.8123 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.045e-05/0.001397, allocations: 11.98 kB / 0.8123 GB, free: 0.9648 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.967e-05/0.001426, allocations: 9.797 kB / 0.8123 GB, free: 0.957 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 8.696e-06/0.001435, allocations: 0 / 0.8123 GB, free: 0.957 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.913e-05/0.001484, allocations: 15.92 kB / 0.8123 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.164e-05/0.001496, allocations: 4 kB / 0.8123 GB, free: 0.9375 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.123e-05/0.001507, allocations: 4.781 kB / 0.8123 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 5.829e-05/0.001565, allocations: 19.89 kB / 0.8124 GB, free: 0.9141 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.001567, allocations: 4 kB / 0.8124 GB, free: 0.9102 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.71e-07/0.001567, allocations: 0.5312 kB / 0.8124 GB, free: 0.9102 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.795e-06/0.00157, allocations: 0.7188 kB / 0.8124 GB, free: 0.9102 MB / 0.7605 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.0002433/0.001813, allocations: 348.9 kB / 0.8127 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.001847, allocations: 9.344 kB / 0.8127 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.001881, allocations: 4.938 kB / 0.8127 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.445e-05/0.001935, allocations: 116.5 kB / 0.8128 GB, free: 388 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.001945, allocations: 4.375 kB / 0.8128 GB, free: 384 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-06/0.001952, allocations: 4.891 kB / 0.8128 GB, free: 380 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.332e-05/0.002045, allocations: 82.06 kB / 0.8129 GB, free: 272 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.002053, allocations: 4.125 kB / 0.8129 GB, free: 268 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.002061, allocations: 4.375 kB / 0.8129 GB, free: 264 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.002067, allocations: 384 / 0.8129 GB, free: 264 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.221e-05/0.002089, allocations: 21.02 kB / 0.8129 GB, free: 244 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001005/0.00219, allocations: 147.5 kB / 0.8131 GB, free: 44 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 8.313e-05/0.002273, allocations: 136.8 kB / 0.8132 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.103e-05/0.002304, allocations: 46.5 kB / 0.8132 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.721e-05/0.002401, allocations: 9.219 kB / 0.8133 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.002421, allocations: 41.38 kB / 0.8133 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.002422, allocations: 0 / 0.8133 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.0001251/0.002547, allocations: 75.42 kB / 0.8134 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.002594, allocations: 163 kB / 0.8135 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.363e-05/0.002628, allocations: 142.2 kB / 0.8137 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.002638, allocations: 26.98 kB / 0.8137 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.611e-05/0.002664, allocations: 130.9 kB / 0.8138 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.002694, allocations: 23.89 kB / 0.8138 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-05/0.002716, allocations: 20.22 kB / 0.8139 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.002829, allocations: 0.4883 MB / 0.8143 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.291e-05/0.002842, allocations: 7.984 kB / 0.8143 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.551e-05/0.002867, allocations: 43.66 kB / 0.8144 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.534e-05/0.002922, allocations: 67.61 kB / 0.8144 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.002924, allocations: 5.656 kB / 0.8144 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.668e-05/0.002991, allocations: 61.62 kB / 0.8145 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.003001, allocations: 10.62 kB / 0.8145 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.003004, allocations: 0 / 0.8145 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.003015, allocations: 4 kB / 0.8145 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.051e-05/0.003065, allocations: 15.92 kB / 0.8145 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.003069, allocations: 0 / 0.8145 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.532e-05/0.003085, allocations: 3.938 kB / 0.8145 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.00309, allocations: 4 kB / 0.8145 GB, free: 14.32 MB / 0.7761 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.233e-05/0.003142, allocations: 161.1 kB / 0.8147 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.003153, allocations: 8.484 kB / 0.8147 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.003273, allocations: 99.25 kB / 0.8148 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.003275, allocations: 0 / 0.8148 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.003278, allocations: 0.6562 kB / 0.8148 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.003281, allocations: 4 kB / 0.8148 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.383e-05/0.003355, allocations: 135.5 kB / 0.8149 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.003356, allocations: 0 / 0.8149 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.125e-05/0.003387, allocations: 15.94 kB / 0.8149 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.00339, allocations: 4 kB / 0.815 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.003397, allocations: 7.984 kB / 0.815 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.003399, allocations: 7.984 kB / 0.815 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.0034, allocations: 0 / 0.815 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.378e-05/0.003494, allocations: 153.5 kB / 0.8151 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-06/0.003501, allocations: 8 kB / 0.8151 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.786e-06/0.00351, allocations: 3.984 kB / 0.8151 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.346e-05/0.003523, allocations: 0 / 0.8151 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.367e-05/0.003537, allocations: 7.938 kB / 0.8151 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-06/0.003542, allocations: 15.92 kB / 0.8151 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.337e-05/0.003565, allocations: 119.2 kB / 0.8153 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.003565, allocations: 4.938 kB / 0.8153 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001335/0.003699, allocations: 4 kB / 0.8153 GB, free: 13.5 MB / 0.7761 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 8.589e-05/0.003785, allocations: 100.3 kB / 0.8154 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.987e-05/0.003864, allocations: 40.73 kB / 0.8154 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.003866, allocations: 0 / 0.8154 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.329e-05/0.003889, allocations: 36.64 kB / 0.8154 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.155e-05/0.003981, allocations: 15.53 kB / 0.8155 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001824/0.004163, allocations: 168.9 kB / 0.8156 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.818e-05/0.004191, allocations: 57.02 kB / 0.8157 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.615e-05/0.004217, allocations: 13.86 kB / 0.8157 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.873e-05/0.004236, allocations: 12.5 kB / 0.8157 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of SimCode: time 5.21e-07/0.004237, allocations: 0 / 0.8157 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of Templates: time 0.001978/0.006215, allocations: 0.6158 MB / 0.8163 GB, free: 12.39 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.868301121983677]