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.0009107/0.0009107, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009177/0.0009177, allocations: 165 kB / 24.17 MB, free: 328 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.9102/0.9102, 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.835/1.835, allocations: 377.9 MB / 0.624 GB, free: 8.355 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.653e-06/1.653e-06, allocations: 3.938 kB / 0.7601 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.253e-05, allocations: 5.547 kB / 0.7602 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002856/0.002879, allocations: 1.469 MB / 0.7616 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001984/0.004863, allocations: 1.09 MB / 0.7627 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.873e-05/0.004892, allocations: 0 / 0.7627 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.17e-05/0.004913, allocations: 4.625 kB / 0.7627 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.126e-05/0.004985, allocations: 11.38 kB / 0.7627 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006265/0.005611, allocations: 197.8 kB / 0.7629 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.009e-05/0.005681, allocations: 31.8 kB / 0.7629 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.82e-05/0.005719, allocations: 4.75 kB / 0.7629 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.005846, allocations: 24.66 kB / 0.7629 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.308e-05/0.00591, allocations: 11.98 kB / 0.7629 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.005922, allocations: 0.5938 kB / 0.7629 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007612/0.006683, allocations: 445.5 kB / 0.7634 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.172e-05/0.006695, allocations: 4 kB / 0.7634 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.894e-05/0.006714, allocations: 8 kB / 0.7634 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003729/0.007087, allocations: 247.3 kB / 0.7636 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.007089, allocations: 0 / 0.7636 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.91e-07/0.00709, allocations: 0 / 0.7636 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.417e-06/0.007093, allocations: 1.562 kB / 0.7636 GB, free: 2.98 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.0003367/0.00743, allocations: 296.2 kB / 0.7639 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.007467, allocations: 12.03 kB / 0.7639 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.444e-05/0.007492, allocations: 0.9375 kB / 0.7639 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.103e-05/0.007583, allocations: 115.1 kB / 0.764 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.007593, allocations: 384 / 0.764 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.007603, allocations: 8.375 kB / 0.764 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.023e-05/0.007673, allocations: 34.94 kB / 0.764 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.00768, allocations: 192 / 0.764 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.413e-06/0.007688, allocations: 6.828 kB / 0.7641 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.007694, allocations: 7.875 kB / 0.7641 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.485e-05/0.007719, allocations: 4 kB / 0.7641 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001088/0.007827, allocations: 68.98 kB / 0.7641 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.871e-05/0.007906, allocations: 38.58 kB / 0.7642 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.952e-05/0.007926, allocations: 8.859 kB / 0.7642 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002845/0.00821, allocations: 95.86 kB / 0.7643 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.00823, allocations: 34.56 kB / 0.7643 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.103e-06/0.008232, allocations: 0 / 0.7643 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 8.401e-05/0.008316, allocations: 50.55 kB / 0.7643 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.008339, allocations: 55.41 kB / 0.7644 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.493e-05/0.008384, allocations: 107.6 kB / 0.7645 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.008392, allocations: 25.7 kB / 0.7645 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.045e-05/0.008413, allocations: 92.11 kB / 0.7646 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.008435, allocations: 13.16 kB / 0.7646 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.497e-05/0.00846, allocations: 17.72 kB / 0.7646 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.008652, allocations: 322.8 kB / 0.765 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.518e-06/0.008662, allocations: 5.531 kB / 0.765 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.236e-06/0.00867, allocations: 4 kB / 0.765 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.297e-05/0.008693, allocations: 12.84 kB / 0.765 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.008694, allocations: 0 / 0.765 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.177e-05/0.008736, allocations: 42.3 kB / 0.765 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.008749, allocations: 7.984 kB / 0.765 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.008752, allocations: 0.6562 kB / 0.765 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.156e-06/0.00876, allocations: 4 kB / 0.765 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.008913, allocations: 35.89 kB / 0.7651 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.008915, allocations: 0 / 0.7651 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.41e-05/0.008929, allocations: 3.938 kB / 0.7651 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.008934, allocations: 4 kB / 0.7651 GB, free: 1.34 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 4.503e-05/0.008979, allocations: 109.8 kB / 0.7652 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.126e-06/0.008987, allocations: 7.984 kB / 0.7652 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.574e-05/0.009053, allocations: 51.73 kB / 0.7652 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.009054, allocations: 0 / 0.7652 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.009056, allocations: 2.625 kB / 0.7652 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.009059, allocations: 7.938 kB / 0.7652 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.346e-05/0.009113, allocations: 69.88 kB / 0.7653 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.009113, allocations: 3.938 kB / 0.7653 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.857e-05/0.009202, allocations: 35.95 kB / 0.7653 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.009204, allocations: 1.062 kB / 0.7653 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-06/0.009207, allocations: 0 / 0.7653 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.4e-07/0.009208, allocations: 1.219 kB / 0.7653 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.009209, allocations: 0 / 0.7653 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.638e-05/0.009265, allocations: 81.03 kB / 0.7654 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-06/0.009271, allocations: 4.891 kB / 0.7654 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.973e-06/0.009278, allocations: 0 / 0.7654 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.148e-06/0.009287, allocations: 0 / 0.7654 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.21e-05/0.009299, allocations: 8.844 kB / 0.7654 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.009301, allocations: 0 / 0.7654 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.064e-05/0.009312, allocations: 16.78 kB / 0.7655 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.009312, allocations: 0 / 0.7655 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001402/0.009452, allocations: 47.81 kB / 0.7655 GB, free: 0.8555 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.0001661/0.009618, allocations: 156.1 kB / 0.7656 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.151e-05/0.00967, allocations: 20.83 kB / 0.7657 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.009672, allocations: 4 kB / 0.7657 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.108e-05/0.009683, allocations: 12.8 kB / 0.7657 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.254e-05/0.009766, allocations: 8 kB / 0.7657 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001938/0.009959, allocations: 135.5 kB / 0.7658 GB, free: 500 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.449e-05/0.009984, allocations: 55.34 kB / 0.7659 GB, free: 424 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.476e-05/0.01001, allocations: 7.5 kB / 0.7659 GB, free: 420 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.62e-05/0.01005, allocations: 55.38 kB / 0.7659 GB, free: 364 kB / 0.7136 GB Notification: Performance of SimCode: time 4.41e-07/0.01006, allocations: 0 / 0.7659 GB, free: 364 kB / 0.7136 GB Notification: Performance of Templates: time 0.002835/0.01289, allocations: 1.563 MB / 0.7675 GB, free: 14.94 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 -s gbode -gbm=radauIIA3 -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.577224108856171]