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.InternalResistancesTwoUTube.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.001844/0.001844, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002528/0.002528, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.628/1.628, allocations: 230.6 MB / 256 MB, free: 7.781 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.432/3.432, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 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.InternalResistancesTwoUTube,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.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,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.InternalResistancesTwoUTube") [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.003649/0.003649, allocations: 71.34 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4089, allocations: 176.1 MB / 1.326 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00297/0.4118, allocations: 1.448 MB / 1.327 GB, free: 436 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00474/0.4166, allocations: 2.666 MB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.428e-05/0.4166, allocations: 4 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.995e-05/0.4167, allocations: 7.922 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.108e-05/0.4167, allocations: 15.86 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0043/0.421, allocations: 1.636 MB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.4211, allocations: 43.73 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.832e-05/0.4212, allocations: 8 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.454e-05/0.4212, allocations: 19.92 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.28e-05/0.4212, allocations: 15.88 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.4213, allocations: 0 / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00251/0.4238, allocations: 1.49 MB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.479e-05/0.4238, allocations: 0 / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.09e-05/0.4238, allocations: 15.88 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00162/0.4254, allocations: 1.107 MB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4254, allocations: 0 / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.462e-06/0.4254, allocations: 0 / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.4254, allocations: 3.938 kB / 1.334 GB, free: 9.391 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.0006602/0.4261, allocations: 476 kB / 1.334 GB, free: 8.895 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.4261, allocations: 8.031 kB / 1.334 GB, free: 8.887 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.674e-05/0.4262, allocations: 88.17 kB / 1.334 GB, free: 8.801 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.4264, allocations: 189.8 kB / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.243e-05/0.4265, allocations: 150.9 kB / 1.335 GB, free: 8.441 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.397e-05/0.4266, allocations: 154.9 kB / 1.335 GB, free: 8.289 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.77e-05/0.4266, allocations: 113 kB / 1.335 GB, free: 8.172 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.887e-05/0.4267, allocations: 75.28 kB / 1.335 GB, free: 8.098 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.75e-05/0.4268, allocations: 154.5 kB / 1.335 GB, free: 7.945 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.525e-05/0.4268, allocations: 150.6 kB / 1.335 GB, free: 7.797 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.206e-05/0.4269, allocations: 154.6 kB / 1.336 GB, free: 7.645 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.4273, allocations: 409.6 kB / 1.336 GB, free: 7.215 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.4274, allocations: 177.1 kB / 1.336 GB, free: 7.031 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.745e-05/0.4274, allocations: 84.14 kB / 1.336 GB, free: 6.945 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.4275, allocations: 75.28 kB / 1.336 GB, free: 6.871 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.907e-05/0.4275, allocations: 113.8 kB / 1.336 GB, free: 6.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.4275, allocations: 0 / 1.336 GB, free: 6.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.907e-05/0.4276, allocations: 37.64 kB / 1.336 GB, free: 6.707 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.134e-05/0.4277, allocations: 134.6 kB / 1.337 GB, free: 6.562 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.4279, allocations: 139.3 kB / 1.337 GB, free: 6.418 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.4279, allocations: 25.7 kB / 1.337 GB, free: 6.387 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.157e-05/0.428, allocations: 92.08 kB / 1.337 GB, free: 6.293 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.51e-06/0.428, allocations: 4 kB / 1.337 GB, free: 6.289 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.782e-05/0.4281, allocations: 25.7 kB / 1.337 GB, free: 6.258 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.4283, allocations: 314.8 kB / 1.337 GB, free: 5.941 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.416e-05/0.4283, allocations: 4 kB / 1.337 GB, free: 5.938 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.776e-05/0.4283, allocations: 7.984 kB / 1.337 GB, free: 5.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.668e-05/0.4284, allocations: 16.86 kB / 1.337 GB, free: 5.91 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4284, allocations: 0 / 1.337 GB, free: 5.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001867/0.4286, allocations: 45.64 kB / 1.337 GB, free: 5.859 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.4286, allocations: 11.94 kB / 1.337 GB, free: 5.848 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.109e-05/0.4286, allocations: 4 kB / 1.337 GB, free: 5.844 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.4286, allocations: 0 / 1.337 GB, free: 5.844 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.418e-06/0.4286, allocations: 8.047 kB / 1.337 GB, free: 5.836 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.4287, allocations: 0 / 1.337 GB, free: 5.836 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.916e-05/0.4287, allocations: 3.953 kB / 1.337 GB, free: 5.832 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.4287, allocations: 0 / 1.337 GB, free: 5.832 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.0001631/0.4289, allocations: 189.1 kB / 1.337 GB, free: 5.637 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.429, allocations: 112.9 kB / 1.337 GB, free: 5.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.583e-05/0.4291, allocations: 108.7 kB / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001149/0.4292, allocations: 184.2 kB / 1.338 GB, free: 5.211 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001182/0.4293, allocations: 180.2 kB / 1.338 GB, free: 5.027 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001185/0.4294, allocations: 184.2 kB / 1.338 GB, free: 4.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003556/0.4298, allocations: 364.9 kB / 1.338 GB, free: 4.445 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.989e-05/0.4298, allocations: 112.9 kB / 1.339 GB, free: 4.328 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.491e-05/0.4299, allocations: 105 kB / 1.339 GB, free: 4.219 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001143/0.43, allocations: 176.3 kB / 1.339 GB, free: 4.039 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/0.4302, allocations: 192.1 kB / 1.339 GB, free: 3.844 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001038/0.4303, allocations: 176.3 kB / 1.339 GB, free: 3.664 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001153/0.4304, allocations: 184.2 kB / 1.339 GB, free: 3.477 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.4306, allocations: 311.8 kB / 1.34 GB, free: 3.148 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.874e-05/0.4307, allocations: 116.9 kB / 1.34 GB, free: 3.027 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.4309, allocations: 180.2 kB / 1.34 GB, free: 2.844 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.431, allocations: 104.9 kB / 1.34 GB, free: 2.734 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.4311, allocations: 188.2 kB / 1.34 GB, free: 2.543 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.19e-05/0.4312, allocations: 104.9 kB / 1.34 GB, free: 2.434 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001069/0.4313, allocations: 100.8 kB / 1.34 GB, free: 2.336 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4313, allocations: 0 / 1.34 GB, free: 2.336 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001357/0.4327, allocations: 295 kB / 1.341 GB, free: 2.047 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.001701/0.4344, allocations: 0.5593 MB / 1.341 GB, free: 1.48 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001448/0.4345, allocations: 33.7 kB / 1.341 GB, free: 1.441 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4345, allocations: 0 / 1.341 GB, free: 1.441 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.069e-05/0.4345, allocations: 8 kB / 1.341 GB, free: 1.434 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007215/0.4352, allocations: 463.6 kB / 1.342 GB, free: 0.9766 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00051/0.4358, allocations: 236.9 kB / 1.342 GB, free: 0.7148 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.4359, allocations: 67.41 kB / 1.342 GB, free: 0.6289 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.497e-05/0.4359, allocations: 7.984 kB / 1.342 GB, free: 0.6211 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.968e-05/0.4359, allocations: 7.438 kB / 1.342 GB, free: 0.6133 MB / 1.029 GB Notification: Performance of SimCode: time 4.4e-07/0.4359, allocations: 0 / 1.342 GB, free: 0.6133 MB / 1.029 GB Notification: Performance of Templates: time 0.01638/0.4523, allocations: 5.922 MB / 1.348 GB, free: 10.74 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.975301334634423]