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.001331/0.001331, 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.001484/0.001484, allocations: 173 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.8948/0.8948, 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.284/2.284, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] 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 2.805e-06/2.805e-06, allocations: 3.984 kB / 0.8387 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.355e-05, allocations: 4.844 kB / 0.8387 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002889/0.002912, allocations: 1.536 MB / 0.8402 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.004545/0.007457, allocations: 2.831 MB / 0.843 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.813e-05/0.007495, allocations: 0 / 0.843 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.79e-05/0.007523, allocations: 7.922 kB / 0.843 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.876e-05/0.007592, allocations: 15.86 kB / 0.843 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003747/0.01134, allocations: 1.572 MB / 0.8446 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.812e-05/0.01143, allocations: 43.67 kB / 0.8446 GB, free: 7.988 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.752e-05/0.01146, allocations: 4 kB / 0.8446 GB, free: 7.984 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.069e-05/0.01152, allocations: 23.92 kB / 0.8446 GB, free: 7.961 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.459e-05/0.01154, allocations: 7.984 kB / 0.8446 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.01155, allocations: 4 kB / 0.8446 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002411/0.01396, allocations: 1.591 MB / 0.8462 GB, free: 6.355 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.01397, allocations: 3.984 kB / 0.8462 GB, free: 6.352 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.014, allocations: 19.92 kB / 0.8462 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.01563, allocations: 1.29 MB / 0.8475 GB, free: 5.039 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.01564, allocations: 0 / 0.8475 GB, free: 5.039 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.263e-06/0.01564, allocations: 0 / 0.8475 GB, free: 5.039 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.636e-06/0.01564, allocations: 0 / 0.8475 GB, free: 5.039 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.0005413/0.01618, allocations: 454.2 kB / 0.8479 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.01622, allocations: 12.62 kB / 0.8479 GB, free: 4.559 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.919e-05/0.01627, allocations: 80.2 kB / 0.848 GB, free: 4.48 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.01638, allocations: 194.8 kB / 0.8482 GB, free: 4.266 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.803e-05/0.01643, allocations: 150.9 kB / 0.8483 GB, free: 4.117 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.438e-05/0.01648, allocations: 150.9 kB / 0.8485 GB, free: 3.969 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.504e-05/0.01653, allocations: 109.5 kB / 0.8486 GB, free: 3.855 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.01656, allocations: 75.47 kB / 0.8486 GB, free: 3.781 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.376e-05/0.0166, allocations: 154.7 kB / 0.8488 GB, free: 3.629 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.591e-05/0.01665, allocations: 154.5 kB / 0.8489 GB, free: 3.477 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.179e-05/0.01669, allocations: 154.6 kB / 0.8491 GB, free: 3.324 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/0.01689, allocations: 353.3 kB / 0.8494 GB, free: 2.965 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.352e-05/0.01696, allocations: 173.1 kB / 0.8496 GB, free: 2.785 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.63e-05/0.01699, allocations: 84.14 kB / 0.8497 GB, free: 2.699 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/0.01702, allocations: 83.25 kB / 0.8497 GB, free: 2.617 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.01706, allocations: 113.8 kB / 0.8499 GB, free: 2.496 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.01706, allocations: 0 / 0.8499 GB, free: 2.496 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.154e-05/0.01712, allocations: 29.7 kB / 0.8499 GB, free: 2.461 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.01717, allocations: 130.7 kB / 0.85 GB, free: 2.32 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.01727, allocations: 141 kB / 0.8501 GB, free: 2.172 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.01729, allocations: 25.7 kB / 0.8502 GB, free: 2.141 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.035e-05/0.01733, allocations: 96.11 kB / 0.8503 GB, free: 2.043 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.343e-06/0.01733, allocations: 0 / 0.8503 GB, free: 2.043 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.01736, allocations: 17.7 kB / 0.8503 GB, free: 2.02 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.986e-05/0.01745, allocations: 314.8 kB / 0.8506 GB, free: 1.703 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.769e-05/0.01747, allocations: 4 kB / 0.8506 GB, free: 1.699 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.658e-06/0.01748, allocations: 3.938 kB / 0.8506 GB, free: 1.695 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.128e-05/0.01751, allocations: 16.88 kB / 0.8506 GB, free: 1.676 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.01751, allocations: 0 / 0.8506 GB, free: 1.676 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.911e-05/0.0176, allocations: 45.75 kB / 0.8506 GB, free: 1.625 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.01762, allocations: 4 kB / 0.8506 GB, free: 1.621 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.01763, allocations: 0 / 0.8506 GB, free: 1.621 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.01765, allocations: 0 / 0.8506 GB, free: 1.621 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.01765, allocations: 0 / 0.8506 GB, free: 1.621 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.848e-06/0.01765, allocations: 4 kB / 0.8507 GB, free: 1.617 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.414e-05/0.01768, allocations: 7.891 kB / 0.8507 GB, free: 1.609 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.01768, allocations: 0 / 0.8507 GB, free: 1.609 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 8.001e-05/0.01776, allocations: 181.2 kB / 0.8508 GB, free: 1.422 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.01782, allocations: 113 kB / 0.8509 GB, free: 1.305 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.886e-05/0.01787, allocations: 120.8 kB / 0.8511 GB, free: 1.18 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-05/0.01792, allocations: 180.2 kB / 0.8512 GB, free: 0.9961 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.532e-05/0.01796, allocations: 176.3 kB / 0.8514 GB, free: 0.8164 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.062e-05/0.01801, allocations: 184.2 kB / 0.8516 GB, free: 0.6289 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.01819, allocations: 325.4 kB / 0.8519 GB, free: 292 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.122e-05/0.01822, allocations: 105 kB / 0.852 GB, free: 180 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.153e-05/0.01825, allocations: 108.9 kB / 0.8521 GB, free: 64 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.295e-05/0.01831, allocations: 180.2 kB / 0.8523 GB, free: 15.88 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.956e-05/0.01836, allocations: 180.3 kB / 0.8524 GB, free: 15.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.741e-05/0.01841, allocations: 184.2 kB / 0.8526 GB, free: 15.51 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.715e-05/0.01845, allocations: 176.3 kB / 0.8528 GB, free: 15.33 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.01857, allocations: 311.7 kB / 0.8531 GB, free: 15 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.156e-05/0.01861, allocations: 116.9 kB / 0.8532 GB, free: 14.88 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.553e-05/0.01867, allocations: 176.3 kB / 0.8533 GB, free: 14.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.553e-05/0.01874, allocations: 105 kB / 0.8534 GB, free: 14.59 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.01879, allocations: 184.2 kB / 0.8536 GB, free: 14.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.01882, allocations: 105.2 kB / 0.8537 GB, free: 14.29 MB / 0.823 GB Notification: Performance of sorting global known variables: time 6.863e-05/0.01889, allocations: 24.83 kB / 0.8537 GB, free: 14.27 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.91e-07/0.01889, allocations: 0 / 0.8537 GB, free: 14.27 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006181/0.01951, allocations: 299 kB / 0.854 GB, free: 13.97 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.0007258/0.02024, allocations: 0.5822 MB / 0.8546 GB, free: 13.38 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 6.899e-05/0.0203, allocations: 46.38 kB / 0.8546 GB, free: 13.33 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.02031, allocations: 0 / 0.8546 GB, free: 13.33 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.02031, allocations: 4 kB / 0.8547 GB, free: 13.32 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.02052, allocations: 471.7 kB / 0.8551 GB, free: 12.86 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002041/0.02073, allocations: 227.7 kB / 0.8553 GB, free: 12.61 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.793e-05/0.02076, allocations: 55.36 kB / 0.8554 GB, free: 12.54 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 1.099e-05/0.02077, allocations: 0 / 0.8554 GB, free: 12.54 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.423e-05/0.02081, allocations: 63.36 kB / 0.8554 GB, free: 12.47 MB / 0.823 GB Notification: Performance of SimCode: time 5.82e-07/0.02081, allocations: 4 kB / 0.8554 GB, free: 12.47 MB / 0.823 GB Notification: Performance of Templates: time 0.008381/0.02919, allocations: 7.321 MB / 0.8626 GB, free: 5.203 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 -s gbode -gbm=radauIIA3 -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.210938832256943]