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.00146/0.00146, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001736/0.001736, allocations: 214.6 kB / 22.99 MB, free: 4.945 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.557/1.557, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.256/3.256, allocations: 0.4892 GB / 0.7951 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 73.42 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4392/0.4414, allocations: 176.1 MB / 1.326 GB, free: 1.812 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003051/0.4444, allocations: 1.453 MB / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004995/0.4494, allocations: 2.677 MB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.967e-05/0.4495, allocations: 0 / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.515e-05/0.4495, allocations: 7.922 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.825e-05/0.4496, allocations: 11.88 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004586/0.4541, allocations: 1.645 MB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.4543, allocations: 39.73 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.236e-05/0.4543, allocations: 4 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.389e-05/0.4543, allocations: 15.92 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.384e-05/0.4544, allocations: 19.86 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.4544, allocations: 7.938 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002612/0.457, allocations: 1.486 MB / 1.334 GB, free: 10.44 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.457, allocations: 4 kB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.327e-05/0.4571, allocations: 15.88 kB / 1.334 GB, free: 10.42 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001741/0.4588, allocations: 1.103 MB / 1.335 GB, free: 9.312 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4588, allocations: 3.938 kB / 1.335 GB, free: 9.309 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4588, allocations: 0 / 1.335 GB, free: 9.309 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.4588, allocations: 0 / 1.335 GB, free: 9.309 MB / 1.029 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.0007116/0.4595, allocations: 470.1 kB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.4596, allocations: 15.97 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.032e-05/0.4597, allocations: 84.17 kB / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.4598, allocations: 193.8 kB / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-05/0.4599, allocations: 154.9 kB / 1.336 GB, free: 8.355 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.674e-05/0.46, allocations: 150.9 kB / 1.336 GB, free: 8.207 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.638e-05/0.4601, allocations: 109 kB / 1.336 GB, free: 8.094 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.839e-05/0.4601, allocations: 79.28 kB / 1.336 GB, free: 8.016 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.668e-05/0.4602, allocations: 154.5 kB / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-05/0.4603, allocations: 150.6 kB / 1.336 GB, free: 7.715 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.511e-05/0.4603, allocations: 150.6 kB / 1.336 GB, free: 7.566 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003306/0.4607, allocations: 413.6 kB / 1.337 GB, free: 7.133 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.4608, allocations: 173.1 kB / 1.337 GB, free: 6.953 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.844e-05/0.4608, allocations: 80.14 kB / 1.337 GB, free: 6.871 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.553e-05/0.4609, allocations: 79.28 kB / 1.337 GB, free: 6.793 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.326e-05/0.4609, allocations: 109.8 kB / 1.337 GB, free: 6.676 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.4609, allocations: 0 / 1.337 GB, free: 6.676 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.202e-05/0.461, allocations: 37.62 kB / 1.337 GB, free: 6.633 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.574e-05/0.4611, allocations: 138.6 kB / 1.337 GB, free: 6.484 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.4613, allocations: 135.5 kB / 1.337 GB, free: 6.344 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.4613, allocations: 25.7 kB / 1.337 GB, free: 6.312 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.773e-05/0.4613, allocations: 96.09 kB / 1.338 GB, free: 6.215 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.4613, allocations: 0 / 1.338 GB, free: 6.215 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.4614, allocations: 17.7 kB / 1.338 GB, free: 6.191 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.4615, allocations: 318.8 kB / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.463e-05/0.4615, allocations: 8 kB / 1.338 GB, free: 5.863 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.893e-05/0.4616, allocations: 8 kB / 1.338 GB, free: 5.855 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.635e-05/0.4616, allocations: 12.84 kB / 1.338 GB, free: 5.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4616, allocations: 0 / 1.338 GB, free: 5.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001355/0.4618, allocations: 45.7 kB / 1.338 GB, free: 5.789 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.4618, allocations: 7.938 kB / 1.338 GB, free: 5.781 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/0.4618, allocations: 7.938 kB / 1.338 GB, free: 5.773 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.4618, allocations: 0 / 1.338 GB, free: 5.773 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.508e-06/0.4618, allocations: 4.062 kB / 1.338 GB, free: 5.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.4618, allocations: 7.922 kB / 1.338 GB, free: 5.762 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.971e-05/0.4619, allocations: 16.02 kB / 1.338 GB, free: 5.746 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.4619, allocations: 0 / 1.338 GB, free: 5.746 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.0001376/0.462, allocations: 189.1 kB / 1.338 GB, free: 5.551 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.366e-05/0.4621, allocations: 108.9 kB / 1.338 GB, free: 5.438 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.341e-05/0.4621, allocations: 112.7 kB / 1.338 GB, free: 5.312 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-05/0.4622, allocations: 180.2 kB / 1.339 GB, free: 5.129 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.982e-05/0.4623, allocations: 184.3 kB / 1.339 GB, free: 4.941 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001051/0.4624, allocations: 184.2 kB / 1.339 GB, free: 4.754 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.4627, allocations: 360.9 kB / 1.339 GB, free: 4.363 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.364e-05/0.4628, allocations: 104.9 kB / 1.339 GB, free: 4.254 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-05/0.4628, allocations: 105 kB / 1.339 GB, free: 4.145 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.483e-05/0.4629, allocations: 188.2 kB / 1.34 GB, free: 3.953 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.463, allocations: 184.1 kB / 1.34 GB, free: 3.766 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.116e-05/0.4631, allocations: 176.3 kB / 1.34 GB, free: 3.586 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.705e-05/0.4632, allocations: 184.2 kB / 1.34 GB, free: 3.398 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.4634, allocations: 303.8 kB / 1.34 GB, free: 3.078 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.254e-05/0.4634, allocations: 116.9 kB / 1.341 GB, free: 2.957 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.4636, allocations: 184.2 kB / 1.341 GB, free: 2.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.805e-05/0.4637, allocations: 104.9 kB / 1.341 GB, free: 2.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.055e-05/0.4637, allocations: 180.2 kB / 1.341 GB, free: 2.477 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.777e-05/0.4638, allocations: 105 kB / 1.341 GB, free: 2.367 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.164e-05/0.4639, allocations: 105 kB / 1.341 GB, free: 2.266 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4639, allocations: 3.938 kB / 1.341 GB, free: 2.262 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009305/0.4648, allocations: 295 kB / 1.341 GB, free: 1.973 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.001148/0.466, allocations: 0.5548 MB / 1.342 GB, free: 1.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001233/0.4661, allocations: 41.7 kB / 1.342 GB, free: 1.363 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4661, allocations: 0 / 1.342 GB, free: 1.363 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.844e-06/0.4661, allocations: 0 / 1.342 GB, free: 1.363 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.4666, allocations: 465.6 kB / 1.342 GB, free: 0.9062 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004235/0.467, allocations: 268.2 kB / 1.343 GB, free: 0.6094 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.249e-05/0.4671, allocations: 63.34 kB / 1.343 GB, free: 0.5273 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.752e-05/0.4671, allocations: 11.44 kB / 1.343 GB, free: 0.5156 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/0.4671, allocations: 4.062 kB / 1.343 GB, free: 0.5117 MB / 1.029 GB Notification: Performance of Templates: time 0.00966/0.4767, allocations: 4.938 MB / 1.348 GB, free: 11.57 MB / 1.045 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/jenkins1/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,Rgb,Rgg1,Rgg2,time,x [Calling sys.exit(0), Time elapsed: 13.39859272679314]