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.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.001953/0.001953, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.00241/0.00241, allocations: 161.7 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.53/1.53, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.931/2.931, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.InternalResistancesTwoUTubeNegative,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.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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.9815 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.591e-05/3.79e-05, allocations: 9.172 kB / 0.9815 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003183/0.003221, allocations: 1.441 MB / 0.9829 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005599/0.008819, allocations: 2.676 MB / 0.9856 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.507e-05/0.008884, allocations: 0 / 0.9856 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.94e-05/0.008904, allocations: 3.938 kB / 0.9856 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.735e-05/0.008991, allocations: 19.8 kB / 0.9856 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00533/0.01432, allocations: 1.651 MB / 0.9872 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.01444, allocations: 43.69 kB / 0.9872 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.155e-05/0.01449, allocations: 7.984 kB / 0.9872 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.802e-05/0.01455, allocations: 19.98 kB / 0.9873 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.151e-05/0.01458, allocations: 7.938 kB / 0.9873 GB, free: 6 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.0146, allocations: 7.938 kB / 0.9873 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003147/0.01774, allocations: 1.493 MB / 0.9887 GB, free: 4.496 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.322e-05/0.01777, allocations: 8 kB / 0.9887 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.0178, allocations: 11.94 kB / 0.9888 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002443/0.02024, allocations: 1.27 MB / 0.99 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.02025, allocations: 0 / 0.99 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.332e-06/0.02025, allocations: 0 / 0.99 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.02026, allocations: 0 / 0.99 GB, free: 3.203 MB / 0.9356 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.0008508/0.02111, allocations: 476 kB / 0.9904 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.02115, allocations: 12.03 kB / 0.9905 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.455e-05/0.02124, allocations: 80.16 kB / 0.9905 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.02144, allocations: 197 kB / 0.9907 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-05/0.02151, allocations: 158.9 kB / 0.9909 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.858e-05/0.0216, allocations: 150.9 kB / 0.991 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.492e-05/0.02169, allocations: 101.5 kB / 0.9911 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.894e-05/0.02173, allocations: 79.47 kB / 0.9912 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.219e-05/0.02182, allocations: 158.7 kB / 0.9913 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.191e-05/0.0219, allocations: 154.6 kB / 0.9915 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.947e-05/0.02199, allocations: 154.5 kB / 0.9916 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.02236, allocations: 417.6 kB / 0.992 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.02247, allocations: 165.1 kB / 0.9922 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.408e-05/0.02252, allocations: 80.14 kB / 0.9923 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.999e-05/0.02257, allocations: 79.28 kB / 0.9923 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.7e-05/0.02263, allocations: 109.8 kB / 0.9924 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/0.02264, allocations: 0 / 0.9924 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 9.529e-05/0.02273, allocations: 37.59 kB / 0.9925 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.316e-05/0.02282, allocations: 130.6 kB / 0.9926 GB, free: 388 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.02302, allocations: 143.7 kB / 0.9927 GB, free: 236 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.02304, allocations: 25.7 kB / 0.9928 GB, free: 204 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.876e-05/0.02311, allocations: 92.14 kB / 0.9929 GB, free: 108 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.175e-06/0.02311, allocations: 0 / 0.9929 GB, free: 108 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.02315, allocations: 13.72 kB / 0.9929 GB, free: 88 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002162/0.02337, allocations: 322.8 kB / 0.9932 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.156e-05/0.0234, allocations: 8 kB / 0.9932 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.958e-05/0.02342, allocations: 8 kB / 0.9932 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.967e-05/0.02347, allocations: 12.92 kB / 0.9932 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.02347, allocations: 0 / 0.9932 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001575/0.02363, allocations: 61.58 kB / 0.9933 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.02364, allocations: 4 kB / 0.9933 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.556e-05/0.02367, allocations: 4 kB / 0.9933 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.02369, allocations: 3.938 kB / 0.9933 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.02369, allocations: 0 / 0.9933 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.0237, allocations: 3.938 kB / 0.9933 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.09e-05/0.02373, allocations: 8.062 kB / 0.9933 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.02374, allocations: 3.984 kB / 0.9933 GB, free: 15.64 MB / 0.9512 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.0001423/0.02388, allocations: 189.1 kB / 0.9935 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.828e-05/0.02397, allocations: 108.9 kB / 0.9936 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.883e-05/0.02405, allocations: 108.8 kB / 0.9937 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001033/0.02415, allocations: 188.1 kB / 0.9939 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001/0.02425, allocations: 184.2 kB / 0.994 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001034/0.02435, allocations: 180.2 kB / 0.9942 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.02465, allocations: 364.8 kB / 0.9946 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.384e-05/0.02471, allocations: 105 kB / 0.9947 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.984e-05/0.02477, allocations: 105 kB / 0.9948 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.298e-05/0.02486, allocations: 184.2 kB / 0.9949 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.02497, allocations: 184.3 kB / 0.9951 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.867e-05/0.02507, allocations: 180.2 kB / 0.9953 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.973e-05/0.02517, allocations: 184.2 kB / 0.9955 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.02538, allocations: 307.7 kB / 0.9957 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.182e-05/0.02546, allocations: 112.9 kB / 0.9959 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.02556, allocations: 184.2 kB / 0.996 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.02567, allocations: 101 kB / 0.9961 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.02578, allocations: 184.2 kB / 0.9963 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.005e-05/0.02584, allocations: 113.2 kB / 0.9964 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.525e-05/0.02592, allocations: 103.2 kB / 0.9965 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8.1e-08/0.02592, allocations: 0 / 0.9965 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001013/0.02693, allocations: 295 kB / 0.9968 GB, free: 11.87 MB / 0.9512 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.00152/0.02845, allocations: 0.5908 MB / 0.9974 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001249/0.02858, allocations: 41.7 kB / 0.9974 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.02858, allocations: 4 kB / 0.9974 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.435e-06/0.02858, allocations: 0 / 0.9974 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005091/0.02909, allocations: 474.4 kB / 0.9979 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004208/0.02951, allocations: 223.8 kB / 0.9981 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.637e-05/0.02959, allocations: 71.59 kB / 0.9981 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.092e-05/0.02961, allocations: 12.03 kB / 0.9982 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.272e-05/0.02963, allocations: 12.5 kB / 0.9982 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of SimCode: time 6.12e-07/0.02964, allocations: 0 / 0.9982 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of Templates: time 0.01361/0.04324, allocations: 5.896 MB / 1.004 GB, free: 4.551 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,Rgb,Rgg1,Rgg2,RCondGro,x Variables in the result:RCondGro,Rb,Rgb,Rgg1,Rgg2,cpMed,eTub,hSeg,kFil,kMed,kSoi,kTub,m_flow_nominal,muMed,rBor,rTub,sha,time,x [Calling sys.exit(0), Time elapsed: 8.856498420238495]