Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.00152/0.00152, allocations: 81.95 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.001155/0.001155, allocations: 160.7 kB / 24.86 MB, free: 9.289 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.9447/0.9447, 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.811/1.811, 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.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.8129 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.709e-05, allocations: 2.312 kB / 0.8129 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001696/0.001713, allocations: 1.418 MB / 0.8143 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.002994, allocations: 1.075 MB / 0.8153 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.517e-05/0.003019, allocations: 0 / 0.8153 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.816e-05/0.003037, allocations: 3.938 kB / 0.8153 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.675e-05/0.003084, allocations: 7.938 kB / 0.8153 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000439/0.003523, allocations: 229.2 kB / 0.8155 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.613e-05/0.003579, allocations: 36.67 kB / 0.8156 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.478e-05/0.003614, allocations: 0 / 0.8156 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.003721, allocations: 25.52 kB / 0.8156 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.11e-05/0.003772, allocations: 15.92 kB / 0.8156 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.778e-06/0.003782, allocations: 0 / 0.8156 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003961/0.004178, allocations: 407.4 kB / 0.816 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.004189, allocations: 4.531 kB / 0.816 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.568e-05/0.004205, allocations: 8.656 kB / 0.816 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.004446, allocations: 247.4 kB / 0.8162 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004448, allocations: 0.5312 kB / 0.8162 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.81e-07/0.004449, allocations: 0 / 0.8162 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.004453, allocations: 1.656 kB / 0.8162 GB, free: 13.91 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002953/0.004748, allocations: 419.9 kB / 0.8166 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.004783, allocations: 15.97 kB / 0.8167 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.039e-05/0.004804, allocations: 4.891 kB / 0.8167 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.672e-05/0.004871, allocations: 113.1 kB / 0.8168 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-06/0.004878, allocations: 0.9688 kB / 0.8168 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.141e-06/0.004884, allocations: 4.375 kB / 0.8168 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.325e-05/0.004938, allocations: 35.03 kB / 0.8168 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.004946, allocations: 4.188 kB / 0.8168 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.36e-06/0.004951, allocations: 1.531 kB / 0.8168 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.004955, allocations: 7.922 kB / 0.8168 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.593e-05/0.004971, allocations: 7.984 kB / 0.8168 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.328e-05/0.005055, allocations: 106.6 kB / 0.8169 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.541e-05/0.00511, allocations: 43.06 kB / 0.817 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.82e-05/0.005128, allocations: 15.69 kB / 0.817 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002615/0.00539, allocations: 95.92 kB / 0.8171 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.005408, allocations: 37.39 kB / 0.8171 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.005409, allocations: 2.781 kB / 0.8171 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 9.137e-05/0.005501, allocations: 57.58 kB / 0.8172 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.115e-05/0.005522, allocations: 51.41 kB / 0.8172 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.857e-05/0.00558, allocations: 169.8 kB / 0.8174 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.005588, allocations: 25.7 kB / 0.8174 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.245e-05/0.005621, allocations: 130.9 kB / 0.8175 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.005647, allocations: 23.81 kB / 0.8176 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/0.005671, allocations: 20.88 kB / 0.8176 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.005776, allocations: 496.1 kB / 0.818 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.717e-06/0.005785, allocations: 4 kB / 0.8181 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.285e-06/0.005793, allocations: 3.984 kB / 0.8181 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.441e-05/0.005818, allocations: 20.17 kB / 0.8181 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.005819, allocations: 0 / 0.8181 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.542e-05/0.005865, allocations: 54.12 kB / 0.8181 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.005876, allocations: 4.562 kB / 0.8181 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.00588, allocations: 3.938 kB / 0.8181 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.981e-06/0.005886, allocations: 1.375 kB / 0.8181 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.359e-05/0.005939, allocations: 12 kB / 0.8181 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.913e-06/0.005941, allocations: 0 / 0.8181 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.45e-05/0.005956, allocations: 14.52 kB / 0.8182 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.00596, allocations: 4 kB / 0.8182 GB, free: 11.76 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 (4): * Single equations (assignments): 4 * 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.183e-05/0.006011, allocations: 152.6 kB / 0.8183 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-06/0.006019, allocations: 7.953 kB / 0.8183 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.686e-05/0.006085, allocations: 59.88 kB / 0.8184 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.006086, allocations: 0 / 0.8184 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.006088, allocations: 0.5938 kB / 0.8184 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.006092, allocations: 8.312 kB / 0.8184 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.726e-05/0.006149, allocations: 102.4 kB / 0.8185 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.00615, allocations: 0 / 0.8185 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.105e-05/0.006181, allocations: 12 kB / 0.8185 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.006182, allocations: 4.984 kB / 0.8185 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.006187, allocations: 3.984 kB / 0.8185 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.006188, allocations: 0 / 0.8185 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.006188, allocations: 4.844 kB / 0.8185 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.119e-05/0.006249, allocations: 88.31 kB / 0.8186 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.837e-06/0.006253, allocations: 4.625 kB / 0.8186 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.76e-06/0.006259, allocations: 0 / 0.8186 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.578e-06/0.006268, allocations: 11.62 kB / 0.8186 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.196e-05/0.00628, allocations: 4 kB / 0.8186 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.006282, allocations: 0 / 0.8186 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.319e-05/0.006315, allocations: 131.5 kB / 0.8187 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006315, allocations: 0 / 0.8187 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000155/0.00647, allocations: 47.81 kB / 0.8188 GB, free: 11.07 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 (4): * Single equations (assignments): 4 * 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.000153/0.006623, allocations: 163 kB / 0.8189 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.08e-05/0.006684, allocations: 27.61 kB / 0.819 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.006685, allocations: 1.5 kB / 0.819 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.968e-05/0.006705, allocations: 23.56 kB / 0.819 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.006826, allocations: 8 kB / 0.819 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001973/0.007023, allocations: 136.5 kB / 0.8191 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.748e-05/0.007051, allocations: 64.27 kB / 0.8192 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.087e-05/0.007071, allocations: 0 / 0.8192 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.255e-05/0.007114, allocations: 75.27 kB / 0.8193 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of SimCode: time 5.21e-07/0.007115, allocations: 0 / 0.8193 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of Templates: time 0.003086/0.0102, allocations: 1.466 MB / 0.8207 GB, free: 9.133 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.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.902916836086661]