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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 189.4 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.19/3.19, allocations: 496 MB / 0.7835 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002058/0.002058, allocations: 68.58 kB / 1.138 GB, free: 33.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4099, allocations: 173.6 MB / 1.307 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00351/0.4134, allocations: 1.471 MB / 1.309 GB, free: 284 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005399/0.4188, allocations: 2.937 MB / 1.312 GB, free: 13.32 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.965e-05/0.4188, allocations: 0 / 1.312 GB, free: 13.32 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.642e-05/0.4189, allocations: 7.922 kB / 1.312 GB, free: 13.32 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.057e-05/0.4189, allocations: 15.86 kB / 1.312 GB, free: 13.3 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004306/0.4232, allocations: 1.648 MB / 1.313 GB, free: 11.67 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.87e-05/0.4233, allocations: 39.69 kB / 1.313 GB, free: 11.63 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.7e-05/0.4234, allocations: 11.98 kB / 1.313 GB, free: 11.62 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.145e-05/0.4234, allocations: 19.92 kB / 1.313 GB, free: 11.6 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.132e-05/0.4235, allocations: 19.88 kB / 1.313 GB, free: 11.58 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.988e-06/0.4235, allocations: 0 / 1.313 GB, free: 11.58 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00282/0.4263, allocations: 1.743 MB / 1.315 GB, free: 9.832 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.4263, allocations: 0 / 1.315 GB, free: 9.832 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.124e-05/0.4263, allocations: 15.88 kB / 1.315 GB, free: 9.816 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.4281, allocations: 1.142 MB / 1.316 GB, free: 8.672 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4281, allocations: 0 / 1.316 GB, free: 8.672 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4281, allocations: 0 / 1.316 GB, free: 8.672 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.4281, allocations: 7.938 kB / 1.316 GB, free: 8.664 MB / 1.014 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.000679/0.4288, allocations: 458.4 kB / 1.317 GB, free: 8.188 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.4288, allocations: 8.922 kB / 1.317 GB, free: 8.18 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.034e-05/0.4289, allocations: 84.17 kB / 1.317 GB, free: 8.098 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.4291, allocations: 199.7 kB / 1.317 GB, free: 7.879 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.936e-05/0.4291, allocations: 154.9 kB / 1.317 GB, free: 7.727 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.267e-05/0.4292, allocations: 158.9 kB / 1.317 GB, free: 7.57 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.488e-05/0.4293, allocations: 105.1 kB / 1.317 GB, free: 7.461 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.038e-05/0.4293, allocations: 79.28 kB / 1.317 GB, free: 7.383 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.62e-05/0.4294, allocations: 150.6 kB / 1.318 GB, free: 7.234 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.025e-05/0.4295, allocations: 150.6 kB / 1.318 GB, free: 7.086 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.478e-05/0.4295, allocations: 150.6 kB / 1.318 GB, free: 6.938 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.4299, allocations: 441 kB / 1.318 GB, free: 6.465 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.43, allocations: 173.1 kB / 1.318 GB, free: 6.285 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.828e-05/0.43, allocations: 80.14 kB / 1.319 GB, free: 6.203 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.504e-05/0.4301, allocations: 83.27 kB / 1.319 GB, free: 6.121 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.811e-05/0.4301, allocations: 117.8 kB / 1.319 GB, free: 5.996 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.4301, allocations: 0 / 1.319 GB, free: 5.996 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 9.257e-05/0.4302, allocations: 33.64 kB / 1.319 GB, free: 5.957 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/0.4303, allocations: 126.7 kB / 1.319 GB, free: 5.82 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.4305, allocations: 133.8 kB / 1.319 GB, free: 5.68 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.4305, allocations: 25.7 kB / 1.319 GB, free: 5.648 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.456e-05/0.4306, allocations: 96.12 kB / 1.319 GB, free: 5.551 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.4306, allocations: 0 / 1.319 GB, free: 5.551 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.4306, allocations: 21.7 kB / 1.319 GB, free: 5.523 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.4308, allocations: 318.8 kB / 1.319 GB, free: 5.203 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.251e-05/0.4308, allocations: 0 / 1.319 GB, free: 5.203 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.664e-05/0.4308, allocations: 11.98 kB / 1.319 GB, free: 5.191 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.241e-05/0.4308, allocations: 16.92 kB / 1.319 GB, free: 5.172 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4308, allocations: 0 / 1.319 GB, free: 5.172 MB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001386/0.431, allocations: 57.53 kB / 1.319 GB, free: 5.109 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.431, allocations: 4 kB / 1.32 GB, free: 5.105 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.117e-05/0.431, allocations: 8.062 kB / 1.32 GB, free: 5.098 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.431, allocations: 0 / 1.32 GB, free: 5.098 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.817e-06/0.431, allocations: 3.984 kB / 1.32 GB, free: 5.094 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.431, allocations: 0 / 1.32 GB, free: 5.094 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.707e-05/0.4311, allocations: 7.938 kB / 1.32 GB, free: 5.086 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.4311, allocations: 4 kB / 1.32 GB, free: 5.082 MB / 1.014 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.0001204/0.4312, allocations: 185.9 kB / 1.32 GB, free: 4.891 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.787e-05/0.4313, allocations: 112.9 kB / 1.32 GB, free: 4.773 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.574e-05/0.4313, allocations: 112.7 kB / 1.32 GB, free: 4.656 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.253e-05/0.4314, allocations: 188.2 kB / 1.32 GB, free: 4.465 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.206e-05/0.4315, allocations: 188.1 kB / 1.32 GB, free: 4.273 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.959e-05/0.4316, allocations: 176.3 kB / 1.32 GB, free: 4.094 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/0.4319, allocations: 384.3 kB / 1.321 GB, free: 3.668 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-05/0.4319, allocations: 112.9 kB / 1.321 GB, free: 3.551 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.065e-05/0.432, allocations: 109 kB / 1.321 GB, free: 3.438 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.824e-05/0.4321, allocations: 184.2 kB / 1.321 GB, free: 3.25 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.823e-05/0.4322, allocations: 176.3 kB / 1.321 GB, free: 3.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.667e-05/0.4322, allocations: 176.3 kB / 1.322 GB, free: 2.891 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.381e-05/0.4323, allocations: 180.2 kB / 1.322 GB, free: 2.707 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.4325, allocations: 319.7 kB / 1.322 GB, free: 2.371 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.4325, allocations: 104.9 kB / 1.322 GB, free: 2.262 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.4327, allocations: 180.3 kB / 1.322 GB, free: 2.078 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.869e-05/0.4328, allocations: 108.9 kB / 1.322 GB, free: 1.965 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.984e-05/0.4329, allocations: 184.3 kB / 1.323 GB, free: 1.777 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-05/0.433, allocations: 108.9 kB / 1.323 GB, free: 1.664 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.653e-05/0.433, allocations: 101.3 kB / 1.323 GB, free: 1.566 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.433, allocations: 0 / 1.323 GB, free: 1.566 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008117/0.4339, allocations: 283 kB / 1.323 GB, free: 1.289 MB / 1.014 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.001105/0.435, allocations: 0.5363 MB / 1.324 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.4351, allocations: 41.69 kB / 1.324 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4351, allocations: 0 / 1.324 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.4351, allocations: 0 / 1.324 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/0.4356, allocations: 468.4 kB / 1.324 GB, free: 240 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003967/0.4359, allocations: 244.6 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.4363, allocations: 0.6807 MB / 1.325 GB, free: 15.26 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.485e-05/0.4363, allocations: 0 / 1.325 GB, free: 15.26 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.324e-05/0.4363, allocations: 11.44 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4363, allocations: 0 / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of Templates: time 0.01104/0.4474, allocations: 5.653 MB / 1.33 GB, free: 9.645 MB / 1.029 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: 9.498985289596021]