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.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.001563/0.001563, allocations: 110 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.001894/0.001894, allocations: 192.7 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.773/1.773, 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-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.321/3.321, allocations: 0.4893 GB / 0.7884 GB, free: 33.09 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-master/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_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 0.002011/0.002011, allocations: 62.78 kB / 1.145 GB, free: 30.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4088, allocations: 174.9 MB / 1.316 GB, free: 9.656 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002814/0.4116, allocations: 1.472 MB / 1.318 GB, free: 8.176 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005036/0.4166, allocations: 2.937 MB / 1.32 GB, free: 5.223 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.707e-05/0.4167, allocations: 0 / 1.32 GB, free: 5.223 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.427e-05/0.4167, allocations: 3.938 kB / 1.32 GB, free: 5.219 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.76e-05/0.4168, allocations: 19.84 kB / 1.32 GB, free: 5.199 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004341/0.4211, allocations: 1.651 MB / 1.322 GB, free: 3.574 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.4212, allocations: 43.73 kB / 1.322 GB, free: 3.531 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.332e-05/0.4213, allocations: 4 kB / 1.322 GB, free: 3.527 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.67e-05/0.4213, allocations: 19.91 kB / 1.322 GB, free: 3.508 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.164e-05/0.4213, allocations: 23.88 kB / 1.322 GB, free: 3.484 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.4213, allocations: 4 kB / 1.322 GB, free: 3.48 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002666/0.424, allocations: 1.731 MB / 1.324 GB, free: 1.746 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/0.424, allocations: 7.938 kB / 1.324 GB, free: 1.738 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.378e-05/0.4241, allocations: 19.86 kB / 1.324 GB, free: 1.719 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.4257, allocations: 1.134 MB / 1.325 GB, free: 0.582 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4257, allocations: 0 / 1.325 GB, free: 0.582 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4257, allocations: 0 / 1.325 GB, free: 0.582 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.4257, allocations: 0 / 1.325 GB, free: 0.582 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.0006897/0.4264, allocations: 468.1 kB / 1.325 GB, free: 96 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.4265, allocations: 8.031 kB / 1.325 GB, free: 88 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.384e-05/0.4266, allocations: 84.22 kB / 1.325 GB, free: 4 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.4268, allocations: 193.7 kB / 1.326 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.989e-05/0.4269, allocations: 162.8 kB / 1.326 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.292e-05/0.4269, allocations: 150.9 kB / 1.326 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.127e-05/0.427, allocations: 113.1 kB / 1.326 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.415e-05/0.4271, allocations: 75.28 kB / 1.326 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.58e-05/0.4272, allocations: 150.6 kB / 1.326 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-05/0.4272, allocations: 150.6 kB / 1.326 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.776e-05/0.4273, allocations: 150.6 kB / 1.327 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003488/0.4277, allocations: 444.9 kB / 1.327 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.4278, allocations: 169.1 kB / 1.327 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.314e-05/0.4278, allocations: 84.14 kB / 1.327 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.4279, allocations: 75.28 kB / 1.327 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.887e-05/0.4279, allocations: 113.8 kB / 1.327 GB, free: 13.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 2.745e-06/0.4279, allocations: 3.984 kB / 1.327 GB, free: 13.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001107/0.428, allocations: 33.64 kB / 1.327 GB, free: 13.87 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.4281, allocations: 126.7 kB / 1.328 GB, free: 13.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.4283, allocations: 143.7 kB / 1.328 GB, free: 13.58 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.4283, allocations: 25.7 kB / 1.328 GB, free: 13.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.435e-05/0.4284, allocations: 92.12 kB / 1.328 GB, free: 13.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.4284, allocations: 0 / 1.328 GB, free: 13.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.4284, allocations: 21.72 kB / 1.328 GB, free: 13.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.4286, allocations: 322.8 kB / 1.328 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.516e-05/0.4286, allocations: 7.938 kB / 1.328 GB, free: 13.1 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.953e-05/0.4286, allocations: 0 / 1.328 GB, free: 13.1 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.773e-05/0.4287, allocations: 16.86 kB / 1.328 GB, free: 13.08 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4287, allocations: 0 / 1.328 GB, free: 13.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001489/0.4288, allocations: 61.52 kB / 1.328 GB, free: 13.01 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.4288, allocations: 4 kB / 1.328 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.4289, allocations: 4 kB / 1.328 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.4289, allocations: 4.062 kB / 1.328 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.4289, allocations: 0 / 1.328 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.4289, allocations: 0 / 1.328 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.608e-05/0.4289, allocations: 3.938 kB / 1.328 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.4289, allocations: 4 kB / 1.328 GB, free: 12.99 MB / 1.029 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.0001264/0.429, allocations: 185.7 kB / 1.328 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.051e-05/0.4291, allocations: 116.9 kB / 1.329 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.383e-05/0.4292, allocations: 112.7 kB / 1.329 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.809e-05/0.4293, allocations: 180.3 kB / 1.329 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.172e-05/0.4293, allocations: 180.2 kB / 1.329 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.042e-05/0.4294, allocations: 184.3 kB / 1.329 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.4297, allocations: 388.3 kB / 1.33 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.205e-05/0.4297, allocations: 108.9 kB / 1.33 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.597e-05/0.4298, allocations: 105 kB / 1.33 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.116e-05/0.4299, allocations: 192.1 kB / 1.33 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.159e-05/0.43, allocations: 180.2 kB / 1.33 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.9e-05/0.43, allocations: 176.3 kB / 1.33 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.117e-05/0.4301, allocations: 180.2 kB / 1.33 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.4303, allocations: 319.7 kB / 1.331 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.463e-05/0.4304, allocations: 108.9 kB / 1.331 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.4305, allocations: 180.3 kB / 1.331 GB, free: 9.977 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.249e-05/0.4306, allocations: 104.9 kB / 1.331 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.4307, allocations: 176.3 kB / 1.331 GB, free: 9.688 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.967e-05/0.4308, allocations: 112.9 kB / 1.331 GB, free: 9.57 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.199e-05/0.4308, allocations: 103.3 kB / 1.332 GB, free: 9.469 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4308, allocations: 0 / 1.332 GB, free: 9.469 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008265/0.4317, allocations: 287 kB / 1.332 GB, free: 9.188 MB / 1.029 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.001207/0.4329, allocations: 0.5323 MB / 1.332 GB, free: 8.645 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001135/0.433, allocations: 37.7 kB / 1.332 GB, free: 8.602 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.433, allocations: 0 / 1.332 GB, free: 8.602 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.433, allocations: 0 / 1.332 GB, free: 8.602 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000481/0.4335, allocations: 476.6 kB / 1.333 GB, free: 8.133 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003784/0.4339, allocations: 240.7 kB / 1.333 GB, free: 7.867 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.4342, allocations: 0.6846 MB / 1.334 GB, free: 7.156 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.449e-05/0.4342, allocations: 0 / 1.334 GB, free: 7.156 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.314e-05/0.4342, allocations: 11.44 kB / 1.334 GB, free: 7.145 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4342, allocations: 0 / 1.334 GB, free: 7.145 MB / 1.029 GB Notification: Performance of Templates: time 0.01098/0.4452, allocations: 5.66 MB / 1.339 GB, free: 1.535 MB / 1.029 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.062513611279428]