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.InternalResistancesTwoUTube.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.00125/0.00125, allocations: 80.81 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.00146/0.00146, allocations: 177 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.903/0.903, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.232/2.232, allocations: 438.8 MB / 0.6827 GB, free: 13.59 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 0.8387 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.598e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002441/0.002466, allocations: 1.51 MB / 0.8401 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.004343/0.00681, allocations: 2.831 MB / 0.8429 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.627e-05/0.006856, allocations: 0 / 0.8429 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.579e-05/0.006882, allocations: 11.92 kB / 0.8429 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.421e-05/0.006946, allocations: 11.86 kB / 0.8429 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003505/0.01045, allocations: 1.659 MB / 0.8446 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.01055, allocations: 47.66 kB / 0.8446 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.789e-05/0.01059, allocations: 8 kB / 0.8446 GB, free: 8 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.74e-05/0.01064, allocations: 19.98 kB / 0.8446 GB, free: 7.98 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.647e-05/0.01066, allocations: 15.92 kB / 0.8446 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.01067, allocations: 3.938 kB / 0.8446 GB, free: 7.961 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002306/0.01298, allocations: 1.493 MB / 0.8461 GB, free: 6.465 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.013, allocations: 7.984 kB / 0.8461 GB, free: 6.457 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.01302, allocations: 7.938 kB / 0.8461 GB, free: 6.449 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.01477, allocations: 1.29 MB / 0.8474 GB, free: 5.156 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.01477, allocations: 0 / 0.8474 GB, free: 5.156 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.432e-06/0.01477, allocations: 0 / 0.8474 GB, free: 5.156 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.01478, allocations: 0 / 0.8474 GB, free: 5.156 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.0005907/0.01537, allocations: 446.2 kB / 0.8478 GB, free: 4.695 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.01541, allocations: 12.62 kB / 0.8478 GB, free: 4.684 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.957e-05/0.01546, allocations: 84.2 kB / 0.8479 GB, free: 4.602 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.01557, allocations: 193 kB / 0.8481 GB, free: 4.387 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.708e-05/0.01562, allocations: 150.9 kB / 0.8482 GB, free: 4.238 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.756e-05/0.01567, allocations: 162.9 kB / 0.8484 GB, free: 4.078 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.01594, allocations: 105.5 kB / 0.8485 GB, free: 3.969 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.01596, allocations: 75.47 kB / 0.8485 GB, free: 3.895 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.853e-05/0.016, allocations: 154.7 kB / 0.8487 GB, free: 3.742 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.08e-05/0.01604, allocations: 154.5 kB / 0.8488 GB, free: 3.59 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.926e-05/0.01608, allocations: 154.6 kB / 0.849 GB, free: 3.438 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/0.01627, allocations: 357.2 kB / 0.8493 GB, free: 3.074 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.098e-05/0.01634, allocations: 169.1 kB / 0.8495 GB, free: 2.898 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.555e-05/0.01637, allocations: 92.12 kB / 0.8496 GB, free: 2.805 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.01639, allocations: 79.28 kB / 0.8497 GB, free: 2.727 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.01642, allocations: 109.8 kB / 0.8498 GB, free: 2.609 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.01642, allocations: 0 / 0.8498 GB, free: 2.609 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.736e-05/0.01648, allocations: 29.7 kB / 0.8498 GB, free: 2.574 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.01654, allocations: 130.6 kB / 0.8499 GB, free: 2.434 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.01664, allocations: 141.2 kB / 0.85 GB, free: 2.285 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.01665, allocations: 25.7 kB / 0.8501 GB, free: 2.254 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.547e-05/0.01669, allocations: 92.11 kB / 0.8502 GB, free: 2.16 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.112e-06/0.01669, allocations: 0 / 0.8502 GB, free: 2.16 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.01672, allocations: 17.72 kB / 0.8502 GB, free: 2.137 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.381e-05/0.0168, allocations: 318.8 kB / 0.8505 GB, free: 1.816 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.648e-05/0.01682, allocations: 4 kB / 0.8505 GB, free: 1.812 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.042e-05/0.01683, allocations: 4 kB / 0.8505 GB, free: 1.809 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.096e-05/0.01686, allocations: 8.859 kB / 0.8505 GB, free: 1.797 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.01686, allocations: 4 kB / 0.8505 GB, free: 1.793 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.63e-05/0.01695, allocations: 41.62 kB / 0.8505 GB, free: 1.746 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.01696, allocations: 4 kB / 0.8505 GB, free: 1.742 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.01698, allocations: 0 / 0.8505 GB, free: 1.742 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.01699, allocations: 4.062 kB / 0.8505 GB, free: 1.738 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.032e-06/0.017, allocations: 4 kB / 0.8506 GB, free: 1.734 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-06/0.017, allocations: 4.062 kB / 0.8506 GB, free: 1.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.456e-05/0.01703, allocations: 7.891 kB / 0.8506 GB, free: 1.723 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.01703, allocations: 0 / 0.8506 GB, free: 1.723 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 7.463e-05/0.01711, allocations: 185.1 kB / 0.8507 GB, free: 1.531 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.818e-05/0.01716, allocations: 105 kB / 0.8508 GB, free: 1.422 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.778e-05/0.0172, allocations: 120.7 kB / 0.851 GB, free: 1.297 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.442e-05/0.01725, allocations: 176.3 kB / 0.8511 GB, free: 1.117 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.593e-05/0.01729, allocations: 184.2 kB / 0.8513 GB, free: 0.9297 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-05/0.01734, allocations: 184.1 kB / 0.8515 GB, free: 0.7422 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.0175, allocations: 325.4 kB / 0.8518 GB, free: 408 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.258e-05/0.01753, allocations: 108.9 kB / 0.8519 GB, free: 292 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.68e-05/0.01757, allocations: 105 kB / 0.852 GB, free: 180 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.491e-05/0.01764, allocations: 180.3 kB / 0.8522 GB, free: 15.99 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.72e-05/0.01768, allocations: 184.2 kB / 0.8523 GB, free: 15.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.467e-05/0.01773, allocations: 176.3 kB / 0.8525 GB, free: 15.62 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.822e-05/0.01778, allocations: 184.2 kB / 0.8527 GB, free: 15.44 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.01788, allocations: 311.7 kB / 0.853 GB, free: 15.11 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.966e-05/0.01792, allocations: 108.9 kB / 0.8531 GB, free: 15 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.524e-05/0.01798, allocations: 176.3 kB / 0.8533 GB, free: 14.82 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.272e-05/0.01805, allocations: 112.9 kB / 0.8534 GB, free: 14.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.0181, allocations: 180.3 kB / 0.8535 GB, free: 14.52 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/0.01813, allocations: 113.2 kB / 0.8536 GB, free: 14.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.047e-05/0.01816, allocations: 23.81 kB / 0.8537 GB, free: 14.38 MB / 0.823 GB Notification: Performance of sort global known variables: time 8e-08/0.01816, allocations: 0 / 0.8537 GB, free: 14.38 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006805/0.01884, allocations: 295 kB / 0.8539 GB, free: 14.09 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.001018/0.01986, allocations: 0.5822 MB / 0.8545 GB, free: 13.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 8.03e-05/0.01994, allocations: 42.5 kB / 0.8546 GB, free: 13.45 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.01994, allocations: 4 kB / 0.8546 GB, free: 13.44 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.01994, allocations: 0 / 0.8546 GB, free: 13.44 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.02024, allocations: 465.9 kB / 0.855 GB, free: 12.98 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002692/0.02051, allocations: 235.7 kB / 0.8552 GB, free: 12.73 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.641e-05/0.02054, allocations: 55.36 kB / 0.8553 GB, free: 12.65 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 1.5e-05/0.02056, allocations: 4 kB / 0.8553 GB, free: 12.65 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.183e-05/0.02061, allocations: 55.36 kB / 0.8553 GB, free: 12.59 MB / 0.823 GB Notification: Performance of SimCode: time 5.21e-07/0.02061, allocations: 0 / 0.8553 GB, free: 12.59 MB / 0.823 GB Notification: Performance of Templates: time 0.01245/0.03306, allocations: 7.329 MB / 0.8625 GB, free: 5.32 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.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.137538491748273]