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.001148/0.001148, 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.001556/0.001556, allocations: 171.5 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.964/0.964, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.916/1.916, allocations: 377.9 MB / 0.6247 GB, free: 8.426 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.412e-06/1.412e-06, allocations: 0.5469 kB / 0.8128 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.313e-05, allocations: 6.25 kB / 0.8128 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001236/0.001259, allocations: 0.6167 MB / 0.8134 GB, free: 0.8125 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001925/0.001452, allocations: 55.8 kB / 0.8135 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.762e-05/0.00147, allocations: 1.594 kB / 0.8135 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.398e-05/0.001484, allocations: 0 / 0.8135 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.552e-06/0.00149, allocations: 0 / 0.8135 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.001687, allocations: 24.44 kB / 0.8135 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.079e-05/0.001728, allocations: 7.938 kB / 0.8135 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.059e-05/0.001768, allocations: 9.375 kB / 0.8135 GB, free: 0.7188 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.917e-05/0.001798, allocations: 11.97 kB / 0.8135 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.012e-05/0.001838, allocations: 4 kB / 0.8136 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.001848, allocations: 1.156 kB / 0.8136 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.134e-05/0.001909, allocations: 15.92 kB / 0.8136 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.001924, allocations: 4 kB / 0.8136 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.236e-05/0.001936, allocations: 9.141 kB / 0.8136 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 7.23e-05/0.002009, allocations: 15.91 kB / 0.8136 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.002014, allocations: 8 kB / 0.8136 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.41e-07/0.002014, allocations: 0 / 0.8136 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.002018, allocations: 1.094 kB / 0.8136 GB, free: 0.6523 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.0002639/0.002282, allocations: 352.3 kB / 0.8139 GB, free: 276 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.002314, allocations: 8.875 kB / 0.8139 GB, free: 268 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/0.002341, allocations: 8.938 kB / 0.814 GB, free: 260 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.53e-05/0.002396, allocations: 110 kB / 0.8141 GB, free: 124 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.002409, allocations: 8.375 kB / 0.8141 GB, free: 116 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.29e-06/0.002414, allocations: 384 / 0.8141 GB, free: 116 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.728e-05/0.002501, allocations: 84.62 kB / 0.8142 GB, free: 4 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.00251, allocations: 4.672 kB / 0.8142 GB, free: 0 / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.002516, allocations: 0.9062 kB / 0.8142 GB, free: 0 / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.002537, allocations: 4.422 kB / 0.8142 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.998e-05/0.002557, allocations: 17.75 kB / 0.8142 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.604e-05/0.002653, allocations: 132.1 kB / 0.8143 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.899e-05/0.002732, allocations: 143.4 kB / 0.8144 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.92e-05/0.002761, allocations: 44.25 kB / 0.8145 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.161e-05/0.002853, allocations: 4 kB / 0.8145 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.002876, allocations: 45.38 kB / 0.8145 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.002877, allocations: 0.9062 kB / 0.8145 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.0001317/0.003008, allocations: 75.02 kB / 0.8146 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.003058, allocations: 154.8 kB / 0.8148 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.638e-05/0.003094, allocations: 142.2 kB / 0.8149 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.003104, allocations: 31.02 kB / 0.8149 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.702e-05/0.003131, allocations: 126.9 kB / 0.815 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.003162, allocations: 19.89 kB / 0.8151 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.003186, allocations: 20.22 kB / 0.8151 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.003292, allocations: 0.4922 MB / 0.8156 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.051e-05/0.003302, allocations: 4.828 kB / 0.8156 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.391e-05/0.003336, allocations: 54.38 kB / 0.8156 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.841e-05/0.003384, allocations: 56.48 kB / 0.8157 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.003387, allocations: 4 kB / 0.8157 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.713e-05/0.003454, allocations: 62.72 kB / 0.8157 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.003466, allocations: 9.312 kB / 0.8157 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.003471, allocations: 0 / 0.8157 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.684e-06/0.003479, allocations: 0 / 0.8157 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.783e-05/0.003527, allocations: 9.594 kB / 0.8157 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.003531, allocations: 7.984 kB / 0.8158 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.741e-05/0.003548, allocations: 4 kB / 0.8158 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.003554, allocations: 4 kB / 0.8158 GB, free: 14.1 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.959e-05/0.003614, allocations: 167.2 kB / 0.8159 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.097e-05/0.003625, allocations: 7.953 kB / 0.8159 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.003743, allocations: 93.78 kB / 0.816 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.003745, allocations: 0 / 0.816 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.003748, allocations: 4 kB / 0.816 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.003751, allocations: 1.062 kB / 0.816 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.041e-05/0.003832, allocations: 113.1 kB / 0.8161 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.003833, allocations: 3.938 kB / 0.8161 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.957e-05/0.003873, allocations: 20.48 kB / 0.8162 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.003874, allocations: 1.312 kB / 0.8162 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-06/0.003879, allocations: 4 kB / 0.8162 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.003881, allocations: 0 / 0.8162 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.003882, allocations: 0 / 0.8162 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.622e-05/0.003978, allocations: 155.9 kB / 0.8163 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-06/0.003983, allocations: 1.344 kB / 0.8163 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.318e-06/0.003993, allocations: 8 kB / 0.8163 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.379e-05/0.004007, allocations: 0 / 0.8163 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.538e-05/0.004022, allocations: 11.92 kB / 0.8163 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.004026, allocations: 4.906 kB / 0.8163 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.674e-05/0.004053, allocations: 119.2 kB / 0.8164 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004053, allocations: 0 / 0.8164 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000139/0.004192, allocations: 12.66 kB / 0.8165 GB, free: 13.31 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 0.0003497/0.004541, allocations: 107.8 kB / 0.8166 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.945e-05/0.004611, allocations: 38.48 kB / 0.8166 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.004613, allocations: 7.938 kB / 0.8166 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.156e-05/0.004635, allocations: 31.59 kB / 0.8166 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001019/0.004737, allocations: 10.66 kB / 0.8166 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001778/0.004915, allocations: 157 kB / 0.8168 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.769e-05/0.004942, allocations: 59.34 kB / 0.8169 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.756e-05/0.00497, allocations: 8.938 kB / 0.8169 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/0.005006, allocations: 75.33 kB / 0.8169 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of SimCode: time 4.8e-07/0.005006, allocations: 0 / 0.8169 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of Templates: time 0.001988/0.006995, allocations: 0.6577 MB / 0.8176 GB, free: 12.11 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: 5.020420914981514]