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.InternalResistancesTwoUTubeNegative.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.0008943/0.0008943, allocations: 77.95 kB / 20.66 MB, free: 3.836 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.0009026/0.0009026, allocations: 165 kB / 24.05 MB, free: 456 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.8651/0.8651, allocations: 177.1 MB / 204.5 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 1.966/1.966, allocations: 429.5 MB / 0.6743 GB, free: 3.918 MB / 0.6355 GB " [Timeout remaining time 178] Using package Buildings with version 14.0.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.InternalResistancesTwoUTubeNegative,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.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,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.InternalResistancesTwoUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.897e-06/3.897e-06, allocations: 4.859 kB / 0.8795 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.868e-05/3.258e-05, allocations: 4.984 kB / 0.8795 GB, free: 5.934 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003281/0.003313, allocations: 1.497 MB / 0.881 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004952/0.008265, allocations: 2.781 MB / 0.8837 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.76e-05/0.008332, allocations: 1 kB / 0.8837 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.71e-05/0.008359, allocations: 0 / 0.8837 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.458e-05/0.008444, allocations: 20.86 kB / 0.8837 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.004337/0.01278, allocations: 1.644 MB / 0.8853 GB, free: 12 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.01293, allocations: 47.67 kB / 0.8854 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.002e-05/0.01297, allocations: 0 / 0.8854 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.868e-05/0.01302, allocations: 15.98 kB / 0.8854 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.169e-05/0.01305, allocations: 15.92 kB / 0.8854 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.01306, allocations: 4 kB / 0.8854 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002892/0.01595, allocations: 1.497 MB / 0.8868 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.729e-05/0.01597, allocations: 3.984 kB / 0.8869 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.517e-05/0.01601, allocations: 19.92 kB / 0.8869 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002352/0.01836, allocations: 1.286 MB / 0.8881 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.01836, allocations: 0 / 0.8881 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.002e-06/0.01836, allocations: 0 / 0.8881 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.01837, allocations: 3.938 kB / 0.8881 GB, free: 13.11 MB / 0.8542 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.0007466/0.01912, allocations: 0.5566 MB / 0.8887 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.01916, allocations: 8.031 kB / 0.8887 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.077e-05/0.01923, allocations: 128.1 kB / 0.8888 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.01938, allocations: 239.7 kB / 0.889 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.686e-05/0.01945, allocations: 242.8 kB / 0.8893 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000322/0.01978, allocations: 238.8 kB / 0.8895 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.124e-05/0.01985, allocations: 153.4 kB / 0.8896 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.634e-05/0.01988, allocations: 119.4 kB / 0.8898 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.179e-05/0.01996, allocations: 250.5 kB / 0.89 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.738e-05/0.02002, allocations: 238.4 kB / 0.8902 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.136e-05/0.0201, allocations: 238.4 kB / 0.8904 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/0.02041, allocations: 0.5685 MB / 0.891 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.02052, allocations: 265.4 kB / 0.8913 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.004e-05/0.02058, allocations: 134.9 kB / 0.8914 GB, free: 9.66 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.02061, allocations: 119.2 kB / 0.8915 GB, free: 9.543 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.581e-05/0.02067, allocations: 156.6 kB / 0.8916 GB, free: 9.379 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.914e-06/0.02067, allocations: 4 kB / 0.8916 GB, free: 9.375 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 7.628e-05/0.02075, allocations: 33.69 kB / 0.8917 GB, free: 9.336 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/0.02081, allocations: 170.6 kB / 0.8918 GB, free: 9.156 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.02095, allocations: 203.7 kB / 0.892 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.02097, allocations: 25.7 kB / 0.8921 GB, free: 8.91 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.54e-05/0.02103, allocations: 138.9 kB / 0.8922 GB, free: 8.77 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-06/0.02103, allocations: 0 / 0.8922 GB, free: 8.77 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.02107, allocations: 23.36 kB / 0.8922 GB, free: 8.738 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.02123, allocations: 0.4962 MB / 0.8927 GB, free: 8.23 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.825e-05/0.02125, allocations: 3.984 kB / 0.8927 GB, free: 8.227 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.384e-05/0.02126, allocations: 4 kB / 0.8927 GB, free: 8.223 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.997e-05/0.0213, allocations: 15.72 kB / 0.8927 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.02131, allocations: 64 / 0.8927 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001267/0.02143, allocations: 49.66 kB / 0.8928 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.02145, allocations: 4 kB / 0.8928 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/0.02147, allocations: 7.938 kB / 0.8928 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.02148, allocations: 0 / 0.8928 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.685e-06/0.02148, allocations: 3.984 kB / 0.8928 GB, free: 8.133 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.02149, allocations: 7.922 kB / 0.8928 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.803e-05/0.02151, allocations: 0 / 0.8928 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.02152, allocations: 4 kB / 0.8928 GB, free: 8.121 MB / 0.8542 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 0.0001155/0.02164, allocations: 279.8 kB / 0.8931 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.55e-05/0.02171, allocations: 152.8 kB / 0.8932 GB, free: 7.68 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.058e-05/0.02177, allocations: 156.6 kB / 0.8934 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.857e-05/0.02185, allocations: 272.1 kB / 0.8936 GB, free: 7.246 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.963e-05/0.02193, allocations: 264.1 kB / 0.8939 GB, free: 6.98 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-05/0.02201, allocations: 272 kB / 0.8941 GB, free: 6.707 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.02227, allocations: 492.5 kB / 0.8946 GB, free: 6.191 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-05/0.02232, allocations: 153 kB / 0.8947 GB, free: 6.035 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-05/0.02237, allocations: 148.9 kB / 0.8949 GB, free: 5.883 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.821e-05/0.02244, allocations: 264.1 kB / 0.8951 GB, free: 5.617 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.827e-05/0.02252, allocations: 272 kB / 0.8954 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.949e-05/0.0226, allocations: 272.1 kB / 0.8957 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.033e-05/0.02268, allocations: 272 kB / 0.8959 GB, free: 4.797 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.02286, allocations: 451.9 kB / 0.8963 GB, free: 4.328 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.794e-05/0.02291, allocations: 152.8 kB / 0.8965 GB, free: 4.172 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003345/0.02325, allocations: 268.1 kB / 0.8968 GB, free: 3.902 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.02335, allocations: 148.8 kB / 0.8969 GB, free: 3.75 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.956e-05/0.02343, allocations: 264.1 kB / 0.8971 GB, free: 3.484 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.431e-05/0.02348, allocations: 148.9 kB / 0.8973 GB, free: 3.332 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.753e-05/0.02354, allocations: 149.1 kB / 0.8974 GB, free: 3.188 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.02354, allocations: 4 kB / 0.8974 GB, free: 3.184 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001006/0.02455, allocations: 295 kB / 0.8977 GB, free: 2.895 MB / 0.8542 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.00133/0.02588, allocations: 0.6434 MB / 0.8983 GB, free: 2.242 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.02598, allocations: 41.39 kB / 0.8984 GB, free: 2.191 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.02598, allocations: 4 kB / 0.8984 GB, free: 2.188 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.02599, allocations: 4.062 kB / 0.8984 GB, free: 2.184 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005494/0.02653, allocations: 0.714 MB / 0.8991 GB, free: 1.465 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003524/0.02689, allocations: 277.2 kB / 0.8994 GB, free: 1.164 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.103e-05/0.02693, allocations: 55.34 kB / 0.8994 GB, free: 1.09 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.677e-05/0.02694, allocations: 4 kB / 0.8994 GB, free: 1.086 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.612e-05/0.02701, allocations: 78.2 kB / 0.8995 GB, free: 1.008 MB / 0.8542 GB Notification: Performance of SimCode: time 9.22e-07/0.02701, allocations: 0 / 0.8995 GB, free: 1.008 MB / 0.8542 GB Notification: Performance of Templates: time 0.01403/0.04104, allocations: 7.37 MB / 0.9067 GB, free: 9.691 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.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.115696620196104]