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.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.0008768/0.0008768, allocations: 80.81 kB / 20.75 MB, free: 3.734 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.0009037/0.0009037, allocations: 161 kB / 24.17 MB, free: 320 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.8821/0.8821, allocations: 177.1 MB / 204.6 MB, free: 5.098 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.733/1.733, allocations: 377.9 MB / 0.624 GB, free: 8.41 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0.6562 kB / 0.7601 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.341e-05/1.498e-05, allocations: 6.312 kB / 0.7601 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002296/0.002311, allocations: 1.497 MB / 0.7616 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004243/0.006554, allocations: 2.814 MB / 0.7643 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.344e-05/0.006597, allocations: 0 / 0.7643 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.496e-05/0.006622, allocations: 7.922 kB / 0.7643 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.506e-05/0.006687, allocations: 19.8 kB / 0.7644 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003865/0.01055, allocations: 1.675 MB / 0.766 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.755e-05/0.01064, allocations: 47.67 kB / 0.766 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.573e-05/0.01068, allocations: 5.234 kB / 0.766 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.676e-05/0.01072, allocations: 19.98 kB / 0.7661 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.537e-05/0.01075, allocations: 15.92 kB / 0.7661 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.01076, allocations: 4 kB / 0.7661 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002424/0.01318, allocations: 1.492 MB / 0.7675 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.0132, allocations: 7.938 kB / 0.7675 GB, free: 15 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.01322, allocations: 8 kB / 0.7675 GB, free: 15 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001595/0.01481, allocations: 1.286 MB / 0.7688 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.01482, allocations: 0 / 0.7688 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.51e-07/0.01482, allocations: 0 / 0.7688 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.01482, allocations: 4 kB / 0.7688 GB, free: 13.7 MB / 0.7292 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.00051/0.01533, allocations: 453.3 kB / 0.7692 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.01536, allocations: 12.02 kB / 0.7693 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.01541, allocations: 80.22 kB / 0.7693 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.01552, allocations: 191 kB / 0.7695 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.334e-05/0.01556, allocations: 150.9 kB / 0.7697 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.555e-05/0.01561, allocations: 158.9 kB / 0.7698 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.714e-05/0.01565, allocations: 101.5 kB / 0.7699 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.01568, allocations: 76.75 kB / 0.77 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.14e-05/0.01572, allocations: 154.7 kB / 0.7701 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-05/0.01576, allocations: 154.6 kB / 0.7703 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.155e-05/0.0158, allocations: 151.8 kB / 0.7704 GB, free: 12 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000189/0.01599, allocations: 369.2 kB / 0.7708 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.738e-05/0.01606, allocations: 165.1 kB / 0.7709 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.408e-05/0.01608, allocations: 85.77 kB / 0.771 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.0161, allocations: 75.28 kB / 0.7711 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.01614, allocations: 109.8 kB / 0.7712 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.362e-06/0.01614, allocations: 0 / 0.7712 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 5.659e-05/0.01619, allocations: 34.3 kB / 0.7712 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.01625, allocations: 126.7 kB / 0.7713 GB, free: 11 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.01635, allocations: 136.7 kB / 0.7715 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.01636, allocations: 25.7 kB / 0.7715 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.559e-05/0.0164, allocations: 97.27 kB / 0.7716 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.243e-06/0.0164, allocations: 0 / 0.7716 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.01643, allocations: 21.7 kB / 0.7716 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.461e-05/0.01652, allocations: 319.8 kB / 0.7719 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.366e-05/0.01653, allocations: 0 / 0.7719 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.01e-05/0.01654, allocations: 4 kB / 0.7719 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.326e-05/0.01657, allocations: 21.5 kB / 0.7719 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01657, allocations: 0.5938 kB / 0.7719 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.907e-05/0.01665, allocations: 41.62 kB / 0.772 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.01666, allocations: 4.5 kB / 0.772 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.01668, allocations: 5.5 kB / 0.772 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.01669, allocations: 0 / 0.772 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.017e-06/0.0167, allocations: 3.938 kB / 0.772 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-06/0.0167, allocations: 0 / 0.772 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.313e-05/0.01672, allocations: 4.656 kB / 0.772 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.01673, allocations: 0 / 0.772 GB, free: 10.29 MB / 0.7292 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.139e-05/0.0168, allocations: 185.7 kB / 0.7722 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.01685, allocations: 110.1 kB / 0.7723 GB, free: 9.984 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.244e-05/0.0169, allocations: 112.8 kB / 0.7724 GB, free: 9.863 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.635e-05/0.01694, allocations: 176.3 kB / 0.7726 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.656e-05/0.01699, allocations: 185.4 kB / 0.7727 GB, free: 9.496 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.612e-05/0.01703, allocations: 184.2 kB / 0.7729 GB, free: 9.309 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.01721, allocations: 325.4 kB / 0.7732 GB, free: 8.965 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.892e-05/0.01724, allocations: 105.9 kB / 0.7733 GB, free: 8.855 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.811e-05/0.01727, allocations: 105.1 kB / 0.7734 GB, free: 8.746 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.653e-05/0.01732, allocations: 188.2 kB / 0.7736 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.725e-05/0.01736, allocations: 181.2 kB / 0.7738 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002849/0.01765, allocations: 184.2 kB / 0.7739 GB, free: 8.184 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.473e-05/0.01769, allocations: 180.1 kB / 0.7741 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.01779, allocations: 307.7 kB / 0.7744 GB, free: 7.68 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.684e-05/0.01783, allocations: 108.9 kB / 0.7745 GB, free: 7.566 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.598e-05/0.01789, allocations: 192.2 kB / 0.7747 GB, free: 7.371 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.888e-05/0.01796, allocations: 101 kB / 0.7748 GB, free: 7.266 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.01801, allocations: 180.3 kB / 0.775 GB, free: 7.082 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.01804, allocations: 112.9 kB / 0.7751 GB, free: 6.965 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.259e-05/0.01807, allocations: 27.02 kB / 0.7751 GB, free: 6.938 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.01807, allocations: 0 / 0.7751 GB, free: 6.938 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006423/0.01871, allocations: 291 kB / 0.7754 GB, free: 6.652 MB / 0.7292 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.0009596/0.01967, allocations: 0.5767 MB / 0.7759 GB, free: 6.07 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.71e-05/0.01975, allocations: 54.11 kB / 0.776 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.01975, allocations: 0 / 0.776 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-06/0.01975, allocations: 3.938 kB / 0.776 GB, free: 6.008 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.02003, allocations: 455.7 kB / 0.7764 GB, free: 5.559 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002548/0.02029, allocations: 235.5 kB / 0.7767 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.337e-05/0.02032, allocations: 55.36 kB / 0.7767 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.133e-05/0.02033, allocations: 0 / 0.7767 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.26e-05/0.02038, allocations: 67.28 kB / 0.7768 GB, free: 5.164 MB / 0.7292 GB Notification: Performance of SimCode: time 5.91e-07/0.02039, allocations: 0 / 0.7768 GB, free: 5.164 MB / 0.7292 GB Notification: Performance of Templates: time 0.008131/0.02852, allocations: 7.311 MB / 0.7839 GB, free: 14.02 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.832313877064735]