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.001671/0.001671, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001869/0.001869, allocations: 208.5 kB / 22.98 MB, free: 4.984 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.595/1.595, 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.437/3.437, allocations: 0.49 GB / 0.7959 GB, free: 35.47 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.00214/0.00214, allocations: 66.73 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.4221, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002951/0.425, allocations: 1.442 MB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004759/0.4298, allocations: 2.693 MB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.219e-05/0.4298, allocations: 0 / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.291e-05/0.4299, allocations: 3.938 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.651e-05/0.4299, allocations: 19.84 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004403/0.4344, allocations: 1.657 MB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.319e-05/0.4344, allocations: 43.73 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.541e-05/0.4345, allocations: 7.984 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.973e-05/0.4345, allocations: 11.94 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.341e-05/0.4346, allocations: 23.88 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.4346, allocations: 0 / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002395/0.437, allocations: 1.591 MB / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.437, allocations: 3.938 kB / 1.334 GB, free: 9.457 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.437, allocations: 19.91 kB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001661/0.4387, allocations: 1.114 MB / 1.336 GB, free: 8.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4387, allocations: 0 / 1.336 GB, free: 8.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4387, allocations: 0 / 1.336 GB, free: 8.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.4387, allocations: 0 / 1.336 GB, free: 8.32 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.0007217/0.4394, allocations: 476 kB / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.4394, allocations: 8.031 kB / 1.336 GB, free: 7.816 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.976e-05/0.4395, allocations: 84.17 kB / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.4397, allocations: 189.8 kB / 1.336 GB, free: 7.523 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.977e-05/0.4398, allocations: 150.9 kB / 1.336 GB, free: 7.375 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.411e-05/0.4398, allocations: 154.9 kB / 1.337 GB, free: 7.223 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.961e-05/0.4399, allocations: 109 kB / 1.337 GB, free: 7.109 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.004e-05/0.44, allocations: 75.28 kB / 1.337 GB, free: 7.035 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.745e-05/0.44, allocations: 158.5 kB / 1.337 GB, free: 6.879 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.586e-05/0.4401, allocations: 150.6 kB / 1.337 GB, free: 6.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.133e-05/0.4402, allocations: 154.6 kB / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003345/0.4405, allocations: 413.6 kB / 1.338 GB, free: 6.145 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.4406, allocations: 165.1 kB / 1.338 GB, free: 5.973 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.756e-05/0.4407, allocations: 88.12 kB / 1.338 GB, free: 5.883 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.42e-05/0.4407, allocations: 79.22 kB / 1.338 GB, free: 5.805 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.012e-05/0.4408, allocations: 105.8 kB / 1.338 GB, free: 5.691 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.4408, allocations: 0 / 1.338 GB, free: 5.691 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.756e-05/0.4409, allocations: 37.59 kB / 1.338 GB, free: 5.648 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.607e-05/0.4409, allocations: 134.7 kB / 1.338 GB, free: 5.504 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.4411, allocations: 136.3 kB / 1.338 GB, free: 5.363 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.4411, allocations: 25.7 kB / 1.338 GB, free: 5.332 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.978e-05/0.4412, allocations: 100.1 kB / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.4412, allocations: 0 / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.4412, allocations: 17.72 kB / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.4414, allocations: 318.8 kB / 1.339 GB, free: 4.887 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.444e-05/0.4414, allocations: 4 kB / 1.339 GB, free: 4.883 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.501e-05/0.4414, allocations: 11.94 kB / 1.339 GB, free: 4.871 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.192e-05/0.4415, allocations: 12.86 kB / 1.339 GB, free: 4.855 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.4415, allocations: 4 kB / 1.339 GB, free: 4.852 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001358/0.4416, allocations: 41.7 kB / 1.339 GB, free: 4.805 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.4416, allocations: 15.92 kB / 1.339 GB, free: 4.789 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.4417, allocations: 4.062 kB / 1.339 GB, free: 4.785 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.4417, allocations: 7.938 kB / 1.339 GB, free: 4.777 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.4417, allocations: 0 / 1.339 GB, free: 4.777 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.4417, allocations: 0 / 1.339 GB, free: 4.777 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.302e-05/0.4417, allocations: 3.953 kB / 1.339 GB, free: 4.773 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.4417, allocations: 0 / 1.339 GB, free: 4.773 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.0001211/0.4418, allocations: 185.1 kB / 1.339 GB, free: 4.582 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.918e-05/0.4419, allocations: 116.8 kB / 1.339 GB, free: 4.461 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.863e-05/0.442, allocations: 112.8 kB / 1.339 GB, free: 4.336 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-05/0.4421, allocations: 184.2 kB / 1.339 GB, free: 4.148 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.111e-05/0.4421, allocations: 180.3 kB / 1.34 GB, free: 3.965 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.954e-05/0.4422, allocations: 180.3 kB / 1.34 GB, free: 3.781 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.4425, allocations: 364.8 kB / 1.34 GB, free: 3.387 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.653e-05/0.4425, allocations: 109 kB / 1.34 GB, free: 3.273 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.886e-05/0.4426, allocations: 108.9 kB / 1.34 GB, free: 3.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.008e-05/0.4427, allocations: 176.3 kB / 1.34 GB, free: 2.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.143e-05/0.4427, allocations: 180.2 kB / 1.341 GB, free: 2.797 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.511e-05/0.4428, allocations: 188.1 kB / 1.341 GB, free: 2.605 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.889e-05/0.4429, allocations: 176.3 kB / 1.341 GB, free: 2.426 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.4431, allocations: 311.8 kB / 1.341 GB, free: 2.098 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.276e-05/0.4432, allocations: 112.9 kB / 1.341 GB, free: 1.98 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.4433, allocations: 192.2 kB / 1.342 GB, free: 1.785 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.785e-05/0.4434, allocations: 105 kB / 1.342 GB, free: 1.676 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.67e-05/0.4434, allocations: 184.2 kB / 1.342 GB, free: 1.488 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.271e-05/0.4435, allocations: 101 kB / 1.342 GB, free: 1.383 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.324e-05/0.4436, allocations: 96.67 kB / 1.342 GB, free: 1.289 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4436, allocations: 0 / 1.342 GB, free: 1.289 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008435/0.4444, allocations: 299 kB / 1.342 GB, free: 0.9961 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.001212/0.4456, allocations: 0.5594 MB / 1.343 GB, free: 440 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000112/0.4457, allocations: 41.64 kB / 1.343 GB, free: 392 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4457, allocations: 0 / 1.343 GB, free: 392 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.295e-06/0.4457, allocations: 352 / 1.343 GB, free: 392 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000491/0.4462, allocations: 467.7 kB / 1.343 GB, free: 15.92 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003649/0.4466, allocations: 244.5 kB / 1.344 GB, free: 15.65 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.896e-05/0.4467, allocations: 67.33 kB / 1.344 GB, free: 15.57 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.304e-05/0.4467, allocations: 0 / 1.344 GB, free: 15.57 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.726e-05/0.4467, allocations: 11.44 kB / 1.344 GB, free: 15.55 MB / 1.045 GB Notification: Performance of SimCode: time 4.21e-07/0.4467, allocations: 0 / 1.344 GB, free: 15.55 MB / 1.045 GB Notification: Performance of Templates: time 0.01126/0.4579, allocations: 5.923 MB / 1.349 GB, free: 9.676 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 -s cvode -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/jenkins1/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: 10.114629485993646]