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.001291/0.001291, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.00141/0.00141, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.8725/0.8725, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.724/1.724, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.192e-06/1.192e-06, allocations: 0 / 0.7601 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.041e-05/1.16e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001515/0.001526, allocations: 1.418 MB / 0.7615 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.002676, allocations: 1.102 MB / 0.7626 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.335e-05/0.002699, allocations: 0 / 0.7626 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.473e-05/0.002714, allocations: 0.8125 kB / 0.7626 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.006e-05/0.002764, allocations: 15.86 kB / 0.7626 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000458/0.003222, allocations: 226.8 kB / 0.7628 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.974e-05/0.003272, allocations: 31.86 kB / 0.7628 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 2.991e-05/0.003302, allocations: 5.719 kB / 0.7628 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.291e-05/0.003395, allocations: 27.91 kB / 0.7629 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.717e-05/0.003442, allocations: 11.98 kB / 0.7629 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.347e-06/0.003451, allocations: 0 / 0.7629 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003879/0.003839, allocations: 404.6 kB / 0.7633 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.003853, allocations: 11.92 kB / 0.7633 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.381e-05/0.003867, allocations: 4 kB / 0.7633 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.004101, allocations: 253.3 kB / 0.7635 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.004103, allocations: 4 kB / 0.7635 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.91e-07/0.004103, allocations: 0 / 0.7635 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.495e-06/0.004106, allocations: 0 / 0.7635 GB, free: 3.094 MB / 0.7136 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.0002586/0.004365, allocations: 284.3 kB / 0.7638 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.761e-05/0.004392, allocations: 12.78 kB / 0.7638 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.952e-05/0.004412, allocations: 0.9375 kB / 0.7638 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.396e-05/0.004476, allocations: 118.5 kB / 0.7639 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.004484, allocations: 4.375 kB / 0.7639 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.004493, allocations: 5.031 kB / 0.7639 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.33e-05/0.004546, allocations: 38.19 kB / 0.764 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.659e-06/0.004551, allocations: 2.125 kB / 0.764 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.004557, allocations: 384 / 0.764 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.004561, allocations: 3.938 kB / 0.764 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.782e-05/0.004579, allocations: 7.984 kB / 0.764 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.592e-05/0.004655, allocations: 65.05 kB / 0.764 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.059e-05/0.004705, allocations: 27.89 kB / 0.7641 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.546e-05/0.004721, allocations: 12.84 kB / 0.7641 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000267/0.004988, allocations: 100.2 kB / 0.7642 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.005005, allocations: 38.5 kB / 0.7642 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 7.01e-07/0.005006, allocations: 0 / 0.7642 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 7.908e-05/0.005085, allocations: 45.69 kB / 0.7643 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.005107, allocations: 62.08 kB / 0.7643 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.158e-05/0.005149, allocations: 106.7 kB / 0.7644 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.367e-06/0.005158, allocations: 25.7 kB / 0.7644 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.899e-05/0.005177, allocations: 88.12 kB / 0.7645 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.005201, allocations: 11.89 kB / 0.7645 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/0.005222, allocations: 17.72 kB / 0.7646 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.186e-05/0.005284, allocations: 322.8 kB / 0.7649 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.422e-06/0.00529, allocations: 0 / 0.7649 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.466e-06/0.005299, allocations: 5.625 kB / 0.7649 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.368e-05/0.005322, allocations: 20.78 kB / 0.7649 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005324, allocations: 0 / 0.7649 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 3.711e-05/0.005361, allocations: 37.69 kB / 0.7649 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.005372, allocations: 10.66 kB / 0.7649 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.005376, allocations: 3.984 kB / 0.7649 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/0.005384, allocations: 0.9375 kB / 0.7649 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.895e-05/0.005443, allocations: 12 kB / 0.765 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.005445, allocations: 0 / 0.765 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.352e-05/0.005459, allocations: 12.38 kB / 0.765 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-06/0.005463, allocations: 3.188 kB / 0.765 GB, free: 1.484 MB / 0.7136 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.131e-05/0.005514, allocations: 117.8 kB / 0.7651 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-06/0.005519, allocations: 3.984 kB / 0.7651 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.00565, allocations: 49.69 kB / 0.7651 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.005651, allocations: 0 / 0.7651 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-06/0.005653, allocations: 0 / 0.7651 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.005655, allocations: 0 / 0.7651 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.284e-05/0.005708, allocations: 73.83 kB / 0.7652 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.005709, allocations: 2.438 kB / 0.7652 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.136e-05/0.00574, allocations: 12 kB / 0.7652 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.005741, allocations: 0 / 0.7652 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-06/0.005745, allocations: 0 / 0.7652 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.005747, allocations: 3.984 kB / 0.7652 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.005747, allocations: 0 / 0.7652 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.814e-05/0.005795, allocations: 76.98 kB / 0.7653 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-06/0.005802, allocations: 9.5 kB / 0.7653 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.943e-06/0.005809, allocations: 0 / 0.7653 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.206e-06/0.005817, allocations: 0 / 0.7653 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.011e-05/0.005827, allocations: 8.844 kB / 0.7653 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.00583, allocations: 3.984 kB / 0.7653 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.042e-05/0.005841, allocations: 9.984 kB / 0.7653 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.005841, allocations: 0 / 0.7653 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001285/0.005969, allocations: 51.8 kB / 0.7654 GB, free: 1.016 MB / 0.7136 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.0001478/0.006117, allocations: 143.7 kB / 0.7655 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.031e-05/0.006177, allocations: 24.77 kB / 0.7655 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.006179, allocations: 0 / 0.7655 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.959e-06/0.006189, allocations: 12.86 kB / 0.7655 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.613e-05/0.006265, allocations: 15.88 kB / 0.7656 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001824/0.006448, allocations: 135.9 kB / 0.7657 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.405e-05/0.006472, allocations: 59.34 kB / 0.7658 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.065e-05/0.006492, allocations: 6.109 kB / 0.7658 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.681e-05/0.006529, allocations: 55.38 kB / 0.7658 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of SimCode: time 5.51e-07/0.00653, allocations: 0 / 0.7658 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of Templates: time 0.002609/0.009139, allocations: 1.449 MB / 0.7672 GB, free: 15.2 MB / 0.7292 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.447044789325446]