Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009266/0.0009266, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.000952/0.000952, allocations: 181 kB / 23.36 MB, free: 1.133 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.8964/0.8964, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.277/2.277, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0.9844 kB / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.38e-05/1.509e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001689/0.001704, allocations: 1.469 MB / 0.8402 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.003153, allocations: 1.098 MB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.79e-05/0.003181, allocations: 0 / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.645e-05/0.003198, allocations: 3.938 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.579e-05/0.003243, allocations: 7.938 kB / 0.8412 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004197/0.003663, allocations: 191.1 kB / 0.8414 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.183e-05/0.003715, allocations: 39.78 kB / 0.8415 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 2.922e-05/0.003744, allocations: 0 / 0.8415 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.221e-05/0.003836, allocations: 23.92 kB / 0.8415 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.579e-05/0.003882, allocations: 11.92 kB / 0.8415 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.003892, allocations: 4 kB / 0.8415 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004619/0.004354, allocations: 439.4 kB / 0.8419 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.004365, allocations: 8 kB / 0.8419 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.451e-05/0.004379, allocations: 4 kB / 0.8419 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.004624, allocations: 255.3 kB / 0.8422 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.004626, allocations: 0 / 0.8422 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.92e-07/0.004627, allocations: 0 / 0.8422 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.876e-06/0.00463, allocations: 0 / 0.8422 GB, free: 10.53 MB / 0.8073 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.0002577/0.004887, allocations: 292.2 kB / 0.8425 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.004916, allocations: 12.56 kB / 0.8425 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.115e-05/0.004937, allocations: 4.938 kB / 0.8425 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.883e-05/0.005005, allocations: 117.7 kB / 0.8426 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-06/0.005012, allocations: 4.375 kB / 0.8426 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-06/0.005018, allocations: 4.375 kB / 0.8426 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.812e-05/0.005076, allocations: 38.25 kB / 0.8426 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.005082, allocations: 192 / 0.8426 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.005089, allocations: 4.359 kB / 0.8426 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.005094, allocations: 3.938 kB / 0.8426 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.897e-05/0.005113, allocations: 4 kB / 0.8426 GB, free: 10 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.7e-05/0.00519, allocations: 61 kB / 0.8427 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.446e-05/0.005244, allocations: 38.55 kB / 0.8427 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.43e-05/0.005259, allocations: 8.859 kB / 0.8427 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002659/0.005525, allocations: 99.91 kB / 0.8428 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.005541, allocations: 30.56 kB / 0.8429 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.005542, allocations: 0 / 0.8429 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 8.032e-05/0.005622, allocations: 57.61 kB / 0.8429 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.01e-05/0.005642, allocations: 51.41 kB / 0.843 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.523e-05/0.005687, allocations: 114.7 kB / 0.8431 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.005695, allocations: 25.7 kB / 0.8431 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.925e-05/0.005715, allocations: 84.12 kB / 0.8432 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.005736, allocations: 11.89 kB / 0.8432 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/0.00576, allocations: 21.7 kB / 0.8432 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.551e-05/0.005825, allocations: 318.8 kB / 0.8435 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.394e-06/0.005833, allocations: 4 kB / 0.8435 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.364e-06/0.00584, allocations: 0 / 0.8435 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.349e-05/0.005863, allocations: 16.84 kB / 0.8435 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.005865, allocations: 4 kB / 0.8435 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.176e-05/0.005907, allocations: 41.64 kB / 0.8436 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/0.005916, allocations: 7.984 kB / 0.8436 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.00592, allocations: 336 / 0.8436 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/0.005928, allocations: 0 / 0.8436 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.006086, allocations: 35.95 kB / 0.8436 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.006088, allocations: 0 / 0.8436 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.304e-05/0.006101, allocations: 7.891 kB / 0.8436 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.85e-06/0.006106, allocations: 3.984 kB / 0.8436 GB, free: 8.879 MB / 0.8073 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 4.637e-05/0.006152, allocations: 113.8 kB / 0.8437 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-06/0.00616, allocations: 11.92 kB / 0.8438 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.069e-05/0.00622, allocations: 49.69 kB / 0.8438 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.006222, allocations: 3.938 kB / 0.8438 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.006223, allocations: 0 / 0.8438 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.006227, allocations: 3.938 kB / 0.8438 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.423e-05/0.006281, allocations: 73.88 kB / 0.8439 GB, free: 8.598 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.006282, allocations: 0 / 0.8439 GB, free: 8.598 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.127e-05/0.006373, allocations: 40.84 kB / 0.8439 GB, free: 8.559 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.006374, allocations: 0 / 0.8439 GB, free: 8.559 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-06/0.006379, allocations: 4 kB / 0.8439 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.006379, allocations: 0 / 0.8439 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.00638, allocations: 0 / 0.8439 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.23e-05/0.006432, allocations: 73.05 kB / 0.844 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-06/0.006438, allocations: 4 kB / 0.844 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.792e-06/0.006445, allocations: 0 / 0.844 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.366e-06/0.006454, allocations: 0 / 0.844 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.006e-05/0.006464, allocations: 4 kB / 0.844 GB, free: 8.457 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-06/0.006466, allocations: 3.938 kB / 0.844 GB, free: 8.453 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.309e-05/0.006479, allocations: 20.83 kB / 0.844 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006479, allocations: 0 / 0.844 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001343/0.006613, allocations: 47.81 kB / 0.8441 GB, free: 8.383 MB / 0.8073 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.0001475/0.006761, allocations: 148.1 kB / 0.8442 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.772e-05/0.006808, allocations: 16.84 kB / 0.8442 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.00681, allocations: 0 / 0.8442 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.165e-05/0.006822, allocations: 16.8 kB / 0.8442 GB, free: 8.191 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.13e-05/0.006893, allocations: 11.94 kB / 0.8443 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001899/0.007083, allocations: 136.6 kB / 0.8444 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.667e-05/0.00711, allocations: 59.34 kB / 0.8444 GB, free: 7.941 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.286e-05/0.007133, allocations: 4.281 kB / 0.8444 GB, free: 7.938 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.242e-05/0.007175, allocations: 51.38 kB / 0.8445 GB, free: 7.887 MB / 0.8073 GB Notification: Performance of SimCode: time 5.11e-07/0.007176, allocations: 4 kB / 0.8445 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of Templates: time 0.00283/0.01001, allocations: 1.578 MB / 0.846 GB, free: 6.375 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.754336836747825]