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.InternalResistancesOneUTube.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.0009101/0.0009101, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009121/0.0009121, allocations: 177 kB / 23.36 MB, free: 1.129 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.9016/0.9016, allocations: 177.1 MB / 203.8 MB, free: 5.5 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.17/2.17, 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.8387 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211e-05/1.35e-05, allocations: 8.641 kB / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001639/0.001652, allocations: 1.487 MB / 0.8401 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002903/0.004555, allocations: 2.789 MB / 0.8429 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.985e-05/0.004595, allocations: 0 / 0.8429 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.005e-05/0.004615, allocations: 11.92 kB / 0.8429 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.23e-05/0.004667, allocations: 11.86 kB / 0.8429 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.002558/0.007225, allocations: 1.639 MB / 0.8445 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.703e-05/0.007292, allocations: 39.69 kB / 0.8445 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 2.861e-05/0.00732, allocations: 3.984 kB / 0.8445 GB, free: 8.121 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.655e-05/0.007357, allocations: 27.91 kB / 0.8446 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 1.697e-05/0.007374, allocations: 8 kB / 0.8446 GB, free: 8.086 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 8.856e-06/0.007383, allocations: 0 / 0.8446 GB, free: 8.086 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001713/0.009095, allocations: 1.458 MB / 0.846 GB, free: 6.625 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.009108, allocations: 11.88 kB / 0.846 GB, free: 6.613 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.961e-05/0.009128, allocations: 11.98 kB / 0.846 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.01032, allocations: 1.262 MB / 0.8472 GB, free: 5.336 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.01032, allocations: 0 / 0.8472 GB, free: 5.336 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.01e-07/0.01032, allocations: 0 / 0.8472 GB, free: 5.336 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.655e-06/0.01032, allocations: 0 / 0.8472 GB, free: 5.336 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003532/0.01068, allocations: 442.3 kB / 0.8477 GB, free: 4.879 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.812e-05/0.0107, allocations: 8.625 kB / 0.8477 GB, free: 4.871 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.01074, allocations: 84.2 kB / 0.8478 GB, free: 4.789 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.28e-05/0.01082, allocations: 189 kB / 0.8479 GB, free: 4.578 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/0.01085, allocations: 154.9 kB / 0.8481 GB, free: 4.426 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.01089, allocations: 154.9 kB / 0.8482 GB, free: 4.273 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.012e-05/0.01093, allocations: 109.5 kB / 0.8483 GB, free: 4.16 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.01094, allocations: 75.47 kB / 0.8484 GB, free: 4.086 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.01097, allocations: 158.7 kB / 0.8486 GB, free: 3.93 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.289e-05/0.011, allocations: 154.6 kB / 0.8487 GB, free: 3.777 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.789e-05/0.01103, allocations: 150.6 kB / 0.8488 GB, free: 3.629 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001303/0.01116, allocations: 353.3 kB / 0.8492 GB, free: 3.27 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.449e-05/0.01122, allocations: 177.1 kB / 0.8494 GB, free: 3.086 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.845e-05/0.01124, allocations: 84.14 kB / 0.8494 GB, free: 3 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.01125, allocations: 75.28 kB / 0.8495 GB, free: 2.926 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.01128, allocations: 109.8 kB / 0.8496 GB, free: 2.809 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.01128, allocations: 0 / 0.8496 GB, free: 2.809 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 3.962e-05/0.01132, allocations: 33.69 kB / 0.8496 GB, free: 2.77 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.01136, allocations: 130.7 kB / 0.8498 GB, free: 2.629 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.475e-05/0.01144, allocations: 141 kB / 0.8499 GB, free: 2.48 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.525e-06/0.01144, allocations: 25.7 kB / 0.8499 GB, free: 2.449 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.433e-05/0.01147, allocations: 92.06 kB / 0.85 GB, free: 2.355 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.042e-06/0.01147, allocations: 0 / 0.85 GB, free: 2.355 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.418e-05/0.01149, allocations: 13.72 kB / 0.85 GB, free: 2.336 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.355e-05/0.01156, allocations: 322.8 kB / 0.8503 GB, free: 2.012 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.718e-06/0.01157, allocations: 0 / 0.8503 GB, free: 2.012 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.111e-06/0.01157, allocations: 4 kB / 0.8503 GB, free: 2.008 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.339e-05/0.0116, allocations: 8.859 kB / 0.8503 GB, free: 1.996 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.0116, allocations: 0 / 0.8503 GB, free: 1.996 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.591e-05/0.01165, allocations: 37.69 kB / 0.8504 GB, free: 1.953 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.01166, allocations: 8 kB / 0.8504 GB, free: 1.945 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.01168, allocations: 0 / 0.8504 GB, free: 1.945 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.01169, allocations: 3.938 kB / 0.8504 GB, free: 1.941 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.601e-06/0.01169, allocations: 7.938 kB / 0.8504 GB, free: 1.934 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-06/0.01169, allocations: 0 / 0.8504 GB, free: 1.934 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.32e-05/0.01171, allocations: 3.938 kB / 0.8504 GB, free: 1.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.01171, allocations: 8.062 kB / 0.8504 GB, free: 1.922 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.718e-05/0.01177, allocations: 189.1 kB / 0.8506 GB, free: 1.727 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.0118, allocations: 109 kB / 0.8507 GB, free: 1.613 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.952e-05/0.01183, allocations: 108.8 kB / 0.8508 GB, free: 1.5 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.411e-05/0.01186, allocations: 188.2 kB / 0.851 GB, free: 1.309 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.291e-05/0.0119, allocations: 176.3 kB / 0.8512 GB, free: 1.129 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-05/0.01193, allocations: 184.1 kB / 0.8513 GB, free: 0.9414 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.01205, allocations: 329.4 kB / 0.8516 GB, free: 0.5938 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.05e-05/0.01207, allocations: 104.9 kB / 0.8517 GB, free: 496 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.01231, allocations: 101 kB / 0.8518 GB, free: 388 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.241e-05/0.01235, allocations: 184.3 kB / 0.852 GB, free: 196 kB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/0.01238, allocations: 180.2 kB / 0.8522 GB, free: 8 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-05/0.01243, allocations: 184.2 kB / 0.8524 GB, free: 15.82 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.269e-05/0.01246, allocations: 180.2 kB / 0.8525 GB, free: 15.64 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.214e-05/0.01253, allocations: 307.8 kB / 0.8528 GB, free: 15.31 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.889e-05/0.01256, allocations: 116.9 kB / 0.8529 GB, free: 15.19 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.786e-05/0.0126, allocations: 180.3 kB / 0.8531 GB, free: 15.01 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.211e-05/0.01264, allocations: 104.9 kB / 0.8532 GB, free: 14.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.01268, allocations: 176.3 kB / 0.8534 GB, free: 14.72 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.0127, allocations: 105 kB / 0.8535 GB, free: 14.61 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.869e-05/0.01272, allocations: 20.83 kB / 0.8535 GB, free: 14.59 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.01272, allocations: 8 kB / 0.8535 GB, free: 14.58 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003695/0.01309, allocations: 294.9 kB / 0.8538 GB, free: 14.29 MB / 0.823 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 (0): * Single equations (assignments): 0 * 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.0006341/0.01372, allocations: 0.5652 MB / 0.8543 GB, free: 13.72 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 5.694e-05/0.01378, allocations: 38.5 kB / 0.8544 GB, free: 13.67 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01378, allocations: 0 / 0.8544 GB, free: 13.67 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.01378, allocations: 0 / 0.8544 GB, free: 13.67 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.01397, allocations: 471.7 kB / 0.8548 GB, free: 13.21 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001845/0.01415, allocations: 230.7 kB / 0.855 GB, free: 12.96 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.655e-05/0.01418, allocations: 59.34 kB / 0.8551 GB, free: 12.88 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 7.765e-06/0.01419, allocations: 0 / 0.8551 GB, free: 12.88 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/0.01422, allocations: 59.36 kB / 0.8552 GB, free: 12.82 MB / 0.823 GB Notification: Performance of SimCode: time 4.1e-07/0.01422, allocations: 0 / 0.8552 GB, free: 12.82 MB / 0.823 GB Notification: Performance of Templates: time 0.007399/0.02162, allocations: 7.132 MB / 0.8621 GB, free: 5.742 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.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: 5.026832218281925]