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.0009715/0.0009715, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009654/0.0009654, allocations: 173 kB / 23.49 MB, free: 1.055 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.9147/0.9147, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.038/2.038, allocations: 429.5 MB / 0.6736 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 177] 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 1.513e-06/1.513e-06, allocations: 0 / 0.8783 GB, free: 6.543 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.571e-05/1.722e-05, allocations: 2.875 kB / 0.8783 GB, free: 6.539 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001691/0.001708, allocations: 1.505 MB / 0.8798 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003172/0.00488, allocations: 2.833 MB / 0.8825 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.707e-05/0.004917, allocations: 2.656 kB / 0.8825 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.906e-05/0.004936, allocations: 3.938 kB / 0.8825 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.272e-05/0.004989, allocations: 15.91 kB / 0.8826 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.002411/0.0074, allocations: 1.642 MB / 0.8842 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.273e-05/0.007473, allocations: 47.67 kB / 0.8842 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.61e-05/0.007509, allocations: 4 kB / 0.8842 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.582e-05/0.007545, allocations: 23.86 kB / 0.8842 GB, free: 488 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.064e-05/0.007565, allocations: 15.98 kB / 0.8842 GB, free: 472 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.007576, allocations: 0 / 0.8842 GB, free: 472 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001421/0.008997, allocations: 1.489 MB / 0.8857 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.00901, allocations: 7.922 kB / 0.8857 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.098e-05/0.009031, allocations: 8 kB / 0.8857 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.01017, allocations: 1.286 MB / 0.887 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.01017, allocations: 0 / 0.887 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.41e-07/0.01017, allocations: 8 kB / 0.887 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.01017, allocations: 0 / 0.887 GB, free: 13.66 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.0004451/0.01062, allocations: 0.5566 MB / 0.8875 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.01065, allocations: 8.031 kB / 0.8875 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.487e-05/0.01071, allocations: 128.1 kB / 0.8877 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.01082, allocations: 239.7 kB / 0.8879 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.07e-05/0.01087, allocations: 242.8 kB / 0.8881 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.302e-05/0.01092, allocations: 242.7 kB / 0.8883 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.278e-05/0.01097, allocations: 145.5 kB / 0.8885 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.011, allocations: 123.4 kB / 0.8886 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.87e-05/0.01105, allocations: 242.5 kB / 0.8888 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.835e-05/0.0111, allocations: 246.4 kB / 0.8891 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.844e-05/0.01114, allocations: 238.4 kB / 0.8893 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.01149, allocations: 0.5875 MB / 0.8899 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.842e-05/0.01157, allocations: 273.4 kB / 0.8901 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.945e-05/0.0116, allocations: 126.9 kB / 0.8902 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.01162, allocations: 119.2 kB / 0.8904 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.01166, allocations: 152.6 kB / 0.8905 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.01166, allocations: 4 kB / 0.8905 GB, free: 9.895 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 5.628e-05/0.01172, allocations: 25.7 kB / 0.8905 GB, free: 9.863 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.01177, allocations: 182.5 kB / 0.8907 GB, free: 9.672 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.01188, allocations: 200 kB / 0.8909 GB, free: 9.461 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.01189, allocations: 25.7 kB / 0.8909 GB, free: 9.43 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.598e-05/0.01193, allocations: 138.9 kB / 0.8911 GB, free: 9.289 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.01193, allocations: 0 / 0.8911 GB, free: 9.289 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.01196, allocations: 27.31 kB / 0.8911 GB, free: 9.254 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.829e-05/0.01206, allocations: 0.4923 MB / 0.8916 GB, free: 8.75 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.464e-05/0.01207, allocations: 4 kB / 0.8916 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.074e-05/0.01208, allocations: 0 / 0.8916 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.132e-05/0.01212, allocations: 19.69 kB / 0.8916 GB, free: 8.723 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.01212, allocations: 0 / 0.8916 GB, free: 8.723 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001012/0.01222, allocations: 49.58 kB / 0.8916 GB, free: 8.668 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.01223, allocations: 12.06 kB / 0.8916 GB, free: 8.656 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.01225, allocations: 64 / 0.8916 GB, free: 8.656 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.01226, allocations: 8 kB / 0.8917 GB, free: 8.648 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.943e-06/0.01226, allocations: 3.938 kB / 0.8917 GB, free: 8.645 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.01227, allocations: 0 / 0.8917 GB, free: 8.645 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.325e-05/0.01228, allocations: 0 / 0.8917 GB, free: 8.645 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.01228, allocations: 0 / 0.8917 GB, free: 8.645 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 8.3e-05/0.01237, allocations: 279.8 kB / 0.8919 GB, free: 8.359 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.01241, allocations: 152.8 kB / 0.8921 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.201e-05/0.01245, allocations: 156.6 kB / 0.8922 GB, free: 8.043 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.912e-05/0.01251, allocations: 272.1 kB / 0.8925 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-05/0.01257, allocations: 272 kB / 0.8927 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.196e-05/0.01262, allocations: 268 kB / 0.893 GB, free: 7.227 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.01277, allocations: 0.496 MB / 0.8935 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.992e-05/0.0128, allocations: 153 kB / 0.8936 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.885e-05/0.01283, allocations: 148.9 kB / 0.8938 GB, free: 6.379 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.158e-05/0.01288, allocations: 272 kB / 0.894 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.045e-05/0.01293, allocations: 264.1 kB / 0.8943 GB, free: 5.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.948e-05/0.01298, allocations: 276 kB / 0.8945 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-05/0.01303, allocations: 268 kB / 0.8948 GB, free: 5.293 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.01314, allocations: 451.9 kB / 0.8952 GB, free: 4.824 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.01317, allocations: 152.9 kB / 0.8954 GB, free: 4.668 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.187e-05/0.01323, allocations: 272.1 kB / 0.8956 GB, free: 4.395 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.289e-05/0.01329, allocations: 148.8 kB / 0.8958 GB, free: 4.242 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.01334, allocations: 272 kB / 0.896 GB, free: 3.969 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.01337, allocations: 148.8 kB / 0.8962 GB, free: 3.816 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.67e-05/0.01341, allocations: 143.2 kB / 0.8963 GB, free: 3.676 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01342, allocations: 0 / 0.8963 GB, free: 3.676 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000463/0.01388, allocations: 302.9 kB / 0.8966 GB, free: 3.379 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.0009003/0.01478, allocations: 0.6295 MB / 0.8972 GB, free: 2.738 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.478e-05/0.01486, allocations: 41.39 kB / 0.8973 GB, free: 2.688 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.01487, allocations: 8 kB / 0.8973 GB, free: 2.68 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.01487, allocations: 0 / 0.8973 GB, free: 2.68 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.01518, allocations: 0.7139 MB / 0.898 GB, free: 1.961 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002433/0.01542, allocations: 289.1 kB / 0.8982 GB, free: 1.648 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.901e-05/0.01545, allocations: 59.34 kB / 0.8983 GB, free: 1.57 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.056e-05/0.01546, allocations: 0 / 0.8983 GB, free: 1.57 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.179e-05/0.01547, allocations: 12.5 kB / 0.8983 GB, free: 1.559 MB / 0.8542 GB Notification: Performance of SimCode: time 8.22e-07/0.01547, allocations: 0 / 0.8983 GB, free: 1.559 MB / 0.8542 GB Notification: Performance of Templates: time 0.006841/0.02232, allocations: 5.981 MB / 0.9041 GB, free: 11.64 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.152350560063496]