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.00147/0.00147, allocations: 88.39 kB / 20.23 MB, free: 4.168 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.001591/0.001591, allocations: 161.3 kB / 23.54 MB, free: 0.8633 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 1.538/1.538, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 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.906/2.906, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 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.693e-06/1.693e-06, allocations: 0 / 0.8109 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.971e-05/4.14e-05, allocations: 4.703 kB / 0.8109 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003531/0.003572, allocations: 1.445 MB / 0.8123 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00634/0.009912, allocations: 2.677 MB / 0.8149 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.506e-05/0.009977, allocations: 0 / 0.8149 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.786e-05/0.01002, allocations: 7.922 kB / 0.8149 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.01013, allocations: 15.8 kB / 0.8149 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.005819/0.01595, allocations: 1.639 MB / 0.8165 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.01609, allocations: 48.17 kB / 0.8166 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.117e-05/0.01614, allocations: 12.5 kB / 0.8166 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.271e-05/0.0162, allocations: 15.98 kB / 0.8166 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.215e-05/0.01623, allocations: 13.28 kB / 0.8166 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.01625, allocations: 4 kB / 0.8166 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003432/0.01968, allocations: 1.486 MB / 0.8181 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.078e-05/0.0197, allocations: 4.594 kB / 0.8181 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.403e-05/0.01975, allocations: 12.59 kB / 0.8181 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002823/0.02257, allocations: 1.278 MB / 0.8194 GB, free: 9.387 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.02258, allocations: 0.6562 kB / 0.8194 GB, free: 9.387 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.763e-06/0.02258, allocations: 0 / 0.8194 GB, free: 9.387 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.02259, allocations: 7.312 kB / 0.8194 GB, free: 9.383 MB / 0.7761 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.001075/0.02366, allocations: 464.1 kB / 0.8198 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.317e-05/0.02372, allocations: 16.02 kB / 0.8198 GB, free: 8.883 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.02384, allocations: 80.17 kB / 0.8199 GB, free: 8.805 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.02406, allocations: 204.8 kB / 0.8201 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.286e-05/0.02415, allocations: 150.9 kB / 0.8202 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.482e-05/0.02425, allocations: 150.9 kB / 0.8204 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.663e-05/0.02434, allocations: 105.5 kB / 0.8205 GB, free: 8.172 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.878e-05/0.02439, allocations: 79.47 kB / 0.8206 GB, free: 8.094 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.02449, allocations: 156.9 kB / 0.8207 GB, free: 7.941 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.143e-05/0.02458, allocations: 150.6 kB / 0.8208 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.138e-05/0.02468, allocations: 154.5 kB / 0.821 GB, free: 7.641 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000455/0.02513, allocations: 425.6 kB / 0.8214 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.02526, allocations: 165.1 kB / 0.8216 GB, free: 7.023 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.306e-05/0.02532, allocations: 80.14 kB / 0.8216 GB, free: 6.941 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.73e-05/0.02536, allocations: 76.22 kB / 0.8217 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.495e-05/0.02544, allocations: 109.8 kB / 0.8218 GB, free: 6.75 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.02544, allocations: 1.125 kB / 0.8218 GB, free: 6.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 0.0001072/0.02555, allocations: 41.59 kB / 0.8219 GB, free: 6.703 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.048e-05/0.02564, allocations: 130.6 kB / 0.822 GB, free: 6.562 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005173/0.02616, allocations: 132.7 kB / 0.8221 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.02618, allocations: 25.7 kB / 0.8221 GB, free: 6.395 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.011e-05/0.02627, allocations: 96.12 kB / 0.8222 GB, free: 6.297 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.567e-06/0.02628, allocations: 1.031 kB / 0.8222 GB, free: 6.297 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.389e-05/0.02633, allocations: 13.72 kB / 0.8222 GB, free: 6.277 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002196/0.02655, allocations: 322.8 kB / 0.8225 GB, free: 5.953 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.96e-05/0.02659, allocations: 8.969 kB / 0.8226 GB, free: 5.945 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.131e-05/0.02661, allocations: 4 kB / 0.8226 GB, free: 5.941 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.107e-05/0.02666, allocations: 14.92 kB / 0.8226 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.02666, allocations: 3.938 kB / 0.8226 GB, free: 5.922 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002128/0.02688, allocations: 53.64 kB / 0.8226 GB, free: 5.863 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.0269, allocations: 4 kB / 0.8226 GB, free: 5.859 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.732e-05/0.02692, allocations: 4 kB / 0.8226 GB, free: 5.855 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.872e-05/0.02695, allocations: 6.094 kB / 0.8226 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.232e-06/0.02695, allocations: 0 / 0.8226 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.02696, allocations: 0 / 0.8226 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.962e-05/0.027, allocations: 7.938 kB / 0.8226 GB, free: 5.844 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.02701, allocations: 0 / 0.8226 GB, free: 5.844 MB / 0.7761 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.0001632/0.02717, allocations: 185.1 kB / 0.8228 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.945e-05/0.02727, allocations: 114.4 kB / 0.8229 GB, free: 5.535 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.507e-05/0.02736, allocations: 116.7 kB / 0.823 GB, free: 5.418 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000122/0.02748, allocations: 180.2 kB / 0.8232 GB, free: 5.234 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001237/0.0276, allocations: 184.2 kB / 0.8234 GB, free: 5.047 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001131/0.02771, allocations: 181.9 kB / 0.8236 GB, free: 4.863 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/0.02803, allocations: 368.8 kB / 0.8239 GB, free: 4.465 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-05/0.0281, allocations: 101 kB / 0.824 GB, free: 4.359 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.52e-05/0.02816, allocations: 101 kB / 0.8241 GB, free: 4.254 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000123/0.02828, allocations: 184.7 kB / 0.8243 GB, free: 4.066 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/0.02839, allocations: 180.3 kB / 0.8245 GB, free: 3.883 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001176/0.02851, allocations: 196.3 kB / 0.8246 GB, free: 3.684 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001179/0.02863, allocations: 180.2 kB / 0.8248 GB, free: 3.5 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.02887, allocations: 311.7 kB / 0.8251 GB, free: 3.172 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.341e-05/0.02896, allocations: 108.9 kB / 0.8252 GB, free: 3.059 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.0291, allocations: 184.2 kB / 0.8254 GB, free: 2.871 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.02921, allocations: 105.3 kB / 0.8255 GB, free: 2.762 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.02934, allocations: 188.1 kB / 0.8257 GB, free: 2.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.872e-05/0.02941, allocations: 105 kB / 0.8258 GB, free: 2.461 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.964e-05/0.02951, allocations: 101.1 kB / 0.8259 GB, free: 2.363 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.013e-06/0.02952, allocations: 0 / 0.8259 GB, free: 2.363 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001223/0.03074, allocations: 299 kB / 0.8262 GB, free: 2.07 MB / 0.7761 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.001854/0.03259, allocations: 0.589 MB / 0.8267 GB, free: 1.469 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001245/0.03272, allocations: 37.7 kB / 0.8268 GB, free: 1.426 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.03272, allocations: 0 / 0.8268 GB, free: 1.426 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.46e-06/0.03273, allocations: 3.938 kB / 0.8268 GB, free: 1.422 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005516/0.03328, allocations: 470.4 kB / 0.8272 GB, free: 0.9609 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004775/0.03376, allocations: 231.6 kB / 0.8274 GB, free: 0.707 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.487e-05/0.03385, allocations: 63.34 kB / 0.8275 GB, free: 0.625 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.32e-05/0.03387, allocations: 3.938 kB / 0.8275 GB, free: 0.6211 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.354e-05/0.03391, allocations: 12.5 kB / 0.8275 GB, free: 0.6094 MB / 0.7761 GB Notification: Performance of SimCode: time 7.02e-07/0.03391, allocations: 0 / 0.8275 GB, free: 0.6094 MB / 0.7761 GB Notification: Performance of Templates: time 0.01472/0.04863, allocations: 5.957 MB / 0.8333 GB, free: 10.71 MB / 0.7917 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.523918941966258]