Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.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.001425/0.001425, 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.001571/0.001571, 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.9522/0.9522, 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 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.809/1.809, allocations: 377.8 MB / 0.6236 GB, free: 8.566 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.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.637e-05, allocations: 4.703 kB / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001132/0.001148, allocations: 0.5694 MB / 0.8121 GB, free: 1.168 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001843/0.001332, allocations: 116.1 kB / 0.8122 GB, free: 1.055 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.174e-05/0.001354, allocations: 0 / 0.8122 GB, free: 1.055 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 9.895e-05/0.001453, allocations: 8.641 kB / 0.8122 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.015e-05/0.001503, allocations: 0 / 0.8122 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001123/0.001616, allocations: 41.8 kB / 0.8123 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.055e-05/0.001686, allocations: 20.52 kB / 0.8123 GB, free: 0.9883 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.768e-05/0.001724, allocations: 7.984 kB / 0.8123 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.974e-05/0.001764, allocations: 25.34 kB / 0.8123 GB, free: 0.957 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.963e-05/0.001813, allocations: 7.984 kB / 0.8123 GB, free: 0.9492 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.00183, allocations: 4 kB / 0.8123 GB, free: 0.9453 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 3.649e-05/0.001867, allocations: 13.09 kB / 0.8123 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.001881, allocations: 7.938 kB / 0.8123 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.539e-05/0.001907, allocations: 7.984 kB / 0.8124 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.093e-05/0.001998, allocations: 37.23 kB / 0.8124 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.002, allocations: 0 / 0.8124 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of FrontEnd: time 4.21e-07/0.002, allocations: 0 / 0.8124 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.002004, allocations: 0 / 0.8124 GB, free: 0.8828 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002615/0.002265, allocations: 379.4 kB / 0.8128 GB, free: 480 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.002301, allocations: 12.03 kB / 0.8128 GB, free: 468 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.002343, allocations: 4.938 kB / 0.8128 GB, free: 464 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.147e-05/0.002425, allocations: 121.2 kB / 0.8129 GB, free: 316 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.002435, allocations: 384 / 0.8129 GB, free: 316 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.002448, allocations: 5.656 kB / 0.8129 GB, free: 312 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.002549, allocations: 83.92 kB / 0.813 GB, free: 216 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.002557, allocations: 192 / 0.813 GB, free: 216 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.002568, allocations: 5.625 kB / 0.813 GB, free: 212 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.002574, allocations: 384 / 0.813 GB, free: 212 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.974e-05/0.002603, allocations: 41.62 kB / 0.813 GB, free: 164 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.329e-05/0.002687, allocations: 110.5 kB / 0.8131 GB, free: 20 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 7.072e-05/0.002757, allocations: 68.72 kB / 0.8132 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.228e-05/0.00279, allocations: 49.44 kB / 0.8132 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.098e-06/0.002794, allocations: 0 / 0.8132 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.002813, allocations: 37.39 kB / 0.8133 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 6.31e-07/0.002814, allocations: 2.531 kB / 0.8133 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001835/0.002997, allocations: 162.7 kB / 0.8134 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.00303, allocations: 85.09 kB / 0.8135 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.665e-05/0.003097, allocations: 158.2 kB / 0.8137 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.003109, allocations: 29.7 kB / 0.8137 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.918e-05/0.003138, allocations: 127.4 kB / 0.8138 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.00316, allocations: 16.41 kB / 0.8138 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.003192, allocations: 27.38 kB / 0.8138 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.0033, allocations: 498 kB / 0.8143 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.119e-05/0.003331, allocations: 37.7 kB / 0.8144 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.503e-05/0.003356, allocations: 37.69 kB / 0.8144 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.593e-05/0.003412, allocations: 84.98 kB / 0.8145 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.003414, allocations: 0 / 0.8145 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.676e-05/0.00351, allocations: 125.1 kB / 0.8146 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.003533, allocations: 29.7 kB / 0.8146 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.003537, allocations: 3.938 kB / 0.8146 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.003548, allocations: 0.6875 kB / 0.8146 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.625e-06/0.003551, allocations: 4 kB / 0.8146 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.003556, allocations: 0.9062 kB / 0.8146 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.362e-05/0.003629, allocations: 11.92 kB / 0.8146 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.003639, allocations: 4.781 kB / 0.8146 GB, free: 14.28 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 6.606e-05/0.003705, allocations: 186.3 kB / 0.8148 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.003716, allocations: 9.281 kB / 0.8148 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.098e-05/0.003727, allocations: 3.156 kB / 0.8148 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.003728, allocations: 0 / 0.8148 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.003732, allocations: 0.8438 kB / 0.8148 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.003736, allocations: 7.922 kB / 0.8148 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.803e-05/0.003794, allocations: 115.7 kB / 0.815 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.003794, allocations: 0 / 0.815 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.71e-07/0.003795, allocations: 0 / 0.815 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.003797, allocations: 0 / 0.815 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.003806, allocations: 4 kB / 0.815 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.003807, allocations: 0 / 0.815 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.003809, allocations: 3.984 kB / 0.815 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.00393, allocations: 171.7 kB / 0.8151 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-06/0.003936, allocations: 10.44 kB / 0.8151 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.003947, allocations: 0 / 0.8151 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.321e-05/0.00398, allocations: 7.938 kB / 0.8151 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.377e-05/0.003994, allocations: 4 kB / 0.8151 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.004, allocations: 7.984 kB / 0.8152 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.257e-05/0.004033, allocations: 123.2 kB / 0.8153 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.004033, allocations: 0.9688 kB / 0.8153 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001357/0.004168, allocations: 15.94 kB / 0.8153 GB, free: 13.54 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000166/0.004334, allocations: 107.3 kB / 0.8154 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001273/0.004462, allocations: 147.6 kB / 0.8155 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.004463, allocations: 0 / 0.8155 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.554e-05/0.004509, allocations: 100.8 kB / 0.8156 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000112/0.004621, allocations: 18.86 kB / 0.8156 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002285/0.004849, allocations: 141.8 kB / 0.8158 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.742e-05/0.004877, allocations: 55.34 kB / 0.8158 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.357e-05/0.0049, allocations: 4 kB / 0.8158 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.243e-05/0.004913, allocations: 8.5 kB / 0.8158 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of SimCode: time 5.11e-07/0.004913, allocations: 0.5 kB / 0.8158 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of Templates: time 0.002596/0.00751, allocations: 1.26 MB / 0.8171 GB, free: 11.65 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.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.9356735199689865]