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.001423/0.001423, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001652/0.001652, allocations: 173 kB / 23.02 MB, free: 1.547 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.8898/0.8898, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.944/1.944, allocations: 429.5 MB / 0.6732 GB, free: 4.051 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 5.05e-06/5.05e-06, allocations: 3.984 kB / 0.8783 GB, free: 6.23 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.439e-05/4.944e-05, allocations: 4.844 kB / 0.8783 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00241/0.002459, allocations: 1.515 MB / 0.8798 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003753/0.006212, allocations: 2.834 MB / 0.8825 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.908e-05/0.006262, allocations: 0 / 0.8825 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.289e-05/0.006294, allocations: 3.938 kB / 0.8825 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.234e-05/0.006367, allocations: 20.89 kB / 0.8825 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.002727/0.009094, allocations: 1.652 MB / 0.8842 GB, free: 232 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.108e-05/0.009185, allocations: 51.61 kB / 0.8842 GB, free: 180 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.541e-05/0.009231, allocations: 0 / 0.8842 GB, free: 180 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.564e-05/0.009276, allocations: 15.98 kB / 0.8842 GB, free: 164 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.812e-05/0.009304, allocations: 15.92 kB / 0.8842 GB, free: 148 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.009319, allocations: 0 / 0.8842 GB, free: 148 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001576/0.0109, allocations: 1.493 MB / 0.8857 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.817e-05/0.01091, allocations: 11.98 kB / 0.8857 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.119e-05/0.01094, allocations: 11.94 kB / 0.8857 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.01237, allocations: 1.285 MB / 0.887 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.01237, allocations: 4 kB / 0.887 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.913e-06/0.01238, allocations: 0 / 0.887 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.01238, allocations: 0 / 0.887 GB, free: 13.34 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.0004919/0.01287, allocations: 0.5605 MB / 0.8875 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.01292, allocations: 8.031 kB / 0.8875 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.01299, allocations: 132 kB / 0.8877 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.01312, allocations: 235.8 kB / 0.8879 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.869e-05/0.01318, allocations: 242.8 kB / 0.8881 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.099e-05/0.01324, allocations: 242.8 kB / 0.8883 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.334e-05/0.01332, allocations: 145.5 kB / 0.8885 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.065e-05/0.01336, allocations: 119.4 kB / 0.8886 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.866e-05/0.01344, allocations: 242.5 kB / 0.8888 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-05/0.01352, allocations: 250.3 kB / 0.8891 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.12e-05/0.01359, allocations: 242.3 kB / 0.8893 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003051/0.0139, allocations: 0.5836 MB / 0.8899 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.014, allocations: 273.4 kB / 0.8901 GB, free: 9.98 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.834e-05/0.01404, allocations: 126.9 kB / 0.8903 GB, free: 9.852 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.01407, allocations: 119.2 kB / 0.8904 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.186e-05/0.01412, allocations: 156.6 kB / 0.8905 GB, free: 9.57 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.352e-06/0.01412, allocations: 4 kB / 0.8905 GB, free: 9.566 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 6.789e-05/0.01419, allocations: 29.64 kB / 0.8905 GB, free: 9.531 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/0.01425, allocations: 174.5 kB / 0.8907 GB, free: 9.348 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.01439, allocations: 197.9 kB / 0.8909 GB, free: 9.137 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.0144, allocations: 25.7 kB / 0.8909 GB, free: 9.105 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.837e-05/0.01446, allocations: 138.9 kB / 0.8911 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/0.01446, allocations: 0 / 0.8911 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.0145, allocations: 23.38 kB / 0.8911 GB, free: 8.934 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.01462, allocations: 0.4923 MB / 0.8916 GB, free: 8.43 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.771e-05/0.01463, allocations: 4 kB / 0.8916 GB, free: 8.426 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.19e-05/0.01465, allocations: 8 kB / 0.8916 GB, free: 8.418 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.004e-05/0.01469, allocations: 19.62 kB / 0.8916 GB, free: 8.395 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01469, allocations: 0 / 0.8916 GB, free: 8.395 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001295/0.01482, allocations: 45.64 kB / 0.8916 GB, free: 8.344 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.01483, allocations: 10.5 kB / 0.8916 GB, free: 8.336 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/0.01485, allocations: 4 kB / 0.8916 GB, free: 8.332 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.01487, allocations: 0 / 0.8916 GB, free: 8.332 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.12e-06/0.01487, allocations: 3.938 kB / 0.8917 GB, free: 8.328 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.01488, allocations: 0 / 0.8917 GB, free: 8.328 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.533e-05/0.0149, allocations: 0 / 0.8917 GB, free: 8.328 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.0149, allocations: 3.984 kB / 0.8917 GB, free: 8.324 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 9.295e-05/0.015, allocations: 283.8 kB / 0.8919 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/0.01505, allocations: 156.8 kB / 0.8921 GB, free: 7.875 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.399e-05/0.0151, allocations: 152.7 kB / 0.8922 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-05/0.01516, allocations: 268.1 kB / 0.8925 GB, free: 7.449 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-05/0.01522, allocations: 276 kB / 0.8927 GB, free: 7.172 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002783/0.0155, allocations: 268.1 kB / 0.893 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.01567, allocations: 0.4998 MB / 0.8935 GB, free: 6.359 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.774e-05/0.01571, allocations: 153 kB / 0.8936 GB, free: 6.203 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.398e-05/0.01574, allocations: 148.8 kB / 0.8938 GB, free: 6.051 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.207e-05/0.01581, allocations: 268 kB / 0.894 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.143e-05/0.01587, allocations: 272.1 kB / 0.8943 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.733e-05/0.01592, allocations: 276 kB / 0.8946 GB, free: 5.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.714e-05/0.01598, allocations: 264.1 kB / 0.8948 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.01612, allocations: 451.9 kB / 0.8952 GB, free: 4.496 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.203e-05/0.01616, allocations: 148.9 kB / 0.8954 GB, free: 4.344 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.95e-05/0.01623, allocations: 276 kB / 0.8956 GB, free: 4.066 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.685e-05/0.01629, allocations: 144.9 kB / 0.8958 GB, free: 3.918 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.265e-05/0.01636, allocations: 276 kB / 0.896 GB, free: 3.641 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-05/0.01639, allocations: 144.9 kB / 0.8962 GB, free: 3.492 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.306e-05/0.01645, allocations: 143.2 kB / 0.8963 GB, free: 3.352 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01645, allocations: 4 kB / 0.8963 GB, free: 3.348 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004609/0.01691, allocations: 299 kB / 0.8966 GB, free: 3.055 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.0008426/0.01775, allocations: 0.6252 MB / 0.8972 GB, free: 2.418 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001057/0.01786, allocations: 45.38 kB / 0.8973 GB, free: 2.363 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.01786, allocations: 8.062 kB / 0.8973 GB, free: 2.355 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.485e-06/0.01786, allocations: 7.938 kB / 0.8973 GB, free: 2.348 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.01822, allocations: 0.7062 MB / 0.898 GB, free: 1.637 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003139/0.01854, allocations: 281.1 kB / 0.8982 GB, free: 1.332 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.611e-05/0.01857, allocations: 55.36 kB / 0.8983 GB, free: 1.258 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.485e-05/0.01859, allocations: 3.984 kB / 0.8983 GB, free: 1.254 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.601e-05/0.0186, allocations: 16.5 kB / 0.8983 GB, free: 1.238 MB / 0.8542 GB Notification: Performance of SimCode: time 9.32e-07/0.01861, allocations: 0 / 0.8983 GB, free: 1.238 MB / 0.8542 GB Notification: Performance of Templates: time 0.009686/0.02829, allocations: 8.038 MB / 0.9062 GB, free: 9.254 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.362831880804151]