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.000928/0.000928, 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.0008913/0.0008913, allocations: 169 kB / 23.02 MB, free: 1.551 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.8787/0.8787, 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 2.009/2.009, allocations: 429.5 MB / 0.6732 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.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 1.072e-06/1.072e-06, allocations: 0 / 0.8783 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.412e-05/1.519e-05, allocations: 2.312 kB / 0.8783 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001604/0.001619, allocations: 1.515 MB / 0.8798 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003086/0.004704, allocations: 2.837 MB / 0.8825 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.985e-05/0.004734, allocations: 1.656 kB / 0.8825 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.16e-05/0.004756, allocations: 3.938 kB / 0.8825 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.222e-05/0.004808, allocations: 23.78 kB / 0.8826 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.002294/0.007102, allocations: 1.652 MB / 0.8842 GB, free: 32 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.879e-05/0.007181, allocations: 47.66 kB / 0.8842 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 2.977e-05/0.007211, allocations: 0 / 0.8842 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.361e-05/0.007244, allocations: 23.92 kB / 0.8842 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 1.97e-05/0.007264, allocations: 15.94 kB / 0.8842 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.007275, allocations: 0 / 0.8842 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.008673, allocations: 1.493 MB / 0.8857 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.008686, allocations: 7.984 kB / 0.8857 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.235e-05/0.008709, allocations: 11.94 kB / 0.8857 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.01011, allocations: 1.282 MB / 0.887 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.01011, allocations: 0 / 0.887 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.41e-07/0.01011, allocations: 0 / 0.887 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.01012, allocations: 0 / 0.887 GB, free: 13.14 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.0005163/0.01063, allocations: 0.5644 MB / 0.8875 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.01067, allocations: 12.03 kB / 0.8875 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.684e-05/0.01073, allocations: 124.1 kB / 0.8877 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.01084, allocations: 243.7 kB / 0.8879 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.27e-05/0.01091, allocations: 238.8 kB / 0.8881 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-05/0.01097, allocations: 238.8 kB / 0.8883 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.997e-05/0.01103, allocations: 145.5 kB / 0.8885 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.916e-05/0.01106, allocations: 127.3 kB / 0.8886 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.988e-05/0.01112, allocations: 246.5 kB / 0.8888 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.943e-05/0.01118, allocations: 238.4 kB / 0.8891 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.016e-05/0.01124, allocations: 242.4 kB / 0.8893 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002862/0.01152, allocations: 0.5991 MB / 0.8899 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.977e-05/0.01162, allocations: 265.4 kB / 0.8901 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.675e-05/0.01166, allocations: 126.9 kB / 0.8903 GB, free: 9.652 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.01169, allocations: 119.2 kB / 0.8904 GB, free: 9.535 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.01174, allocations: 156.6 kB / 0.8905 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.01174, allocations: 0 / 0.8905 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 6.401e-05/0.0118, allocations: 33.64 kB / 0.8906 GB, free: 9.332 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.01186, allocations: 174.5 kB / 0.8907 GB, free: 9.148 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.012, allocations: 200.2 kB / 0.8909 GB, free: 8.938 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.01201, allocations: 25.7 kB / 0.8909 GB, free: 8.906 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/0.01206, allocations: 138.9 kB / 0.8911 GB, free: 8.766 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-06/0.01207, allocations: 0 / 0.8911 GB, free: 8.766 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.0121, allocations: 27.36 kB / 0.8911 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.01223, allocations: 0.4924 MB / 0.8916 GB, free: 8.227 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/0.01225, allocations: 0 / 0.8916 GB, free: 8.227 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.316e-05/0.01226, allocations: 4 kB / 0.8916 GB, free: 8.223 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.569e-05/0.01229, allocations: 15.67 kB / 0.8916 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.0123, allocations: 0 / 0.8916 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001218/0.01242, allocations: 53.66 kB / 0.8916 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.01243, allocations: 4 kB / 0.8916 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/0.01245, allocations: 12.06 kB / 0.8917 GB, free: 8.129 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.01247, allocations: 0 / 0.8917 GB, free: 8.129 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.6e-06/0.01247, allocations: 3.938 kB / 0.8917 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.01248, allocations: 0 / 0.8917 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.672e-05/0.01249, allocations: 0 / 0.8917 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.01251, allocations: 7.984 kB / 0.8917 GB, free: 8.117 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.519e-05/0.0126, allocations: 271.8 kB / 0.8919 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-05/0.01266, allocations: 156.8 kB / 0.8921 GB, free: 7.68 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.315e-05/0.01271, allocations: 156.7 kB / 0.8922 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.571e-05/0.01278, allocations: 264.1 kB / 0.8925 GB, free: 7.254 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.966e-05/0.01285, allocations: 279.9 kB / 0.8927 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.736e-05/0.01292, allocations: 268.1 kB / 0.893 GB, free: 6.703 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.01311, allocations: 0.5037 MB / 0.8935 GB, free: 6.156 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.225e-05/0.01316, allocations: 149 kB / 0.8936 GB, free: 6.004 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.49e-05/0.01319, allocations: 144.9 kB / 0.8938 GB, free: 5.855 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.34e-05/0.01325, allocations: 272 kB / 0.894 GB, free: 5.582 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.253e-05/0.01332, allocations: 268.1 kB / 0.8943 GB, free: 5.312 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.984e-05/0.01338, allocations: 268 kB / 0.8945 GB, free: 5.043 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.396e-05/0.01344, allocations: 272.1 kB / 0.8948 GB, free: 4.77 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.01358, allocations: 451.8 kB / 0.8952 GB, free: 4.301 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.01362, allocations: 148.9 kB / 0.8954 GB, free: 4.148 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.329e-05/0.0137, allocations: 272 kB / 0.8956 GB, free: 3.875 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.692e-05/0.01377, allocations: 152.9 kB / 0.8958 GB, free: 3.719 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/0.01384, allocations: 272 kB / 0.896 GB, free: 3.445 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-05/0.01388, allocations: 148.8 kB / 0.8962 GB, free: 3.293 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.291e-05/0.01393, allocations: 139.2 kB / 0.8963 GB, free: 3.156 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01393, allocations: 0 / 0.8963 GB, free: 3.156 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005833/0.01451, allocations: 295 kB / 0.8966 GB, free: 2.867 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.0008681/0.01538, allocations: 0.6338 MB / 0.8972 GB, free: 2.219 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.921e-05/0.01547, allocations: 45.39 kB / 0.8973 GB, free: 2.164 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.01547, allocations: 4 kB / 0.8973 GB, free: 2.16 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.374e-06/0.01548, allocations: 3.938 kB / 0.8973 GB, free: 2.156 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.01587, allocations: 0.714 MB / 0.898 GB, free: 1.438 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000275/0.01615, allocations: 277.2 kB / 0.8982 GB, free: 1.137 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.695e-05/0.01618, allocations: 59.34 kB / 0.8983 GB, free: 1.059 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.129e-05/0.0162, allocations: 0 / 0.8983 GB, free: 1.059 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.363e-05/0.01621, allocations: 16.44 kB / 0.8983 GB, free: 1.043 MB / 0.8542 GB Notification: Performance of SimCode: time 3.51e-07/0.01621, allocations: 0 / 0.8983 GB, free: 1.043 MB / 0.8542 GB Notification: Performance of Templates: time 0.008306/0.02451, allocations: 5.975 MB / 0.9041 GB, free: 11.12 MB / 0.8698 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 -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.43666586605832]