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.InternalResistancesOneUTube.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.001771/0.001771, 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.00212/0.00212, allocations: 215.4 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.328/3.328, allocations: 0.4892 GB / 0.7951 GB, free: 35.54 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [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.002143/0.002143, allocations: 72.23 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4296/0.4318, allocations: 176.1 MB / 1.326 GB, free: 1.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003443/0.4352, allocations: 1.436 MB / 1.328 GB, free: 404 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005119/0.4403, allocations: 2.642 MB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.41e-05/0.4404, allocations: 0 / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.701e-05/0.4404, allocations: 7.938 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.336e-05/0.4405, allocations: 11.86 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004577/0.4451, allocations: 1.618 MB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.4452, allocations: 43.69 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.422e-05/0.4452, allocations: 7.969 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.805e-05/0.4453, allocations: 11.94 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.122e-05/0.4453, allocations: 15.88 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.4453, allocations: 4 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002386/0.4477, allocations: 1.447 MB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.4477, allocations: 4 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.4478, allocations: 15.88 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001559/0.4493, allocations: 1.083 MB / 1.335 GB, free: 9.477 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4493, allocations: 0 / 1.335 GB, free: 9.477 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.475e-06/0.4493, allocations: 0 / 1.335 GB, free: 9.477 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.4493, allocations: 0 / 1.335 GB, free: 9.477 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.0006625/0.45, allocations: 468.1 kB / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.45, allocations: 8.031 kB / 1.335 GB, free: 8.98 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.867e-05/0.4501, allocations: 84.17 kB / 1.335 GB, free: 8.898 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.4503, allocations: 191.5 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.079e-05/0.4504, allocations: 150.9 kB / 1.335 GB, free: 8.539 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.565e-05/0.4505, allocations: 158.9 kB / 1.336 GB, free: 8.383 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.811e-05/0.4506, allocations: 105.1 kB / 1.336 GB, free: 8.273 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.831e-05/0.4506, allocations: 75.28 kB / 1.336 GB, free: 8.199 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.427e-05/0.4507, allocations: 154.5 kB / 1.336 GB, free: 8.047 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.208e-05/0.4508, allocations: 150.6 kB / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.606e-05/0.4508, allocations: 158.6 kB / 1.336 GB, free: 7.742 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.4512, allocations: 413.5 kB / 1.337 GB, free: 7.309 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.4513, allocations: 169.1 kB / 1.337 GB, free: 7.133 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.622e-05/0.4514, allocations: 92.08 kB / 1.337 GB, free: 7.039 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.49e-05/0.4514, allocations: 75.28 kB / 1.337 GB, free: 6.965 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.452e-05/0.4515, allocations: 109.8 kB / 1.337 GB, free: 6.848 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.4515, allocations: 0 / 1.337 GB, free: 6.848 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.878e-05/0.4516, allocations: 41.53 kB / 1.337 GB, free: 6.801 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/0.4517, allocations: 126.7 kB / 1.337 GB, free: 6.664 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.4518, allocations: 133.8 kB / 1.337 GB, free: 6.523 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.4519, allocations: 25.7 kB / 1.337 GB, free: 6.492 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.246e-05/0.4519, allocations: 88.14 kB / 1.337 GB, free: 6.402 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-06/0.4519, allocations: 0 / 1.337 GB, free: 6.402 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/0.452, allocations: 17.72 kB / 1.337 GB, free: 6.379 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.4521, allocations: 326.9 kB / 1.338 GB, free: 6.051 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/0.4522, allocations: 4 kB / 1.338 GB, free: 6.047 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.459e-05/0.4522, allocations: 7.938 kB / 1.338 GB, free: 6.039 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.338e-05/0.4522, allocations: 16.86 kB / 1.338 GB, free: 6.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4522, allocations: 0 / 1.338 GB, free: 6.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001304/0.4523, allocations: 45.64 kB / 1.338 GB, free: 5.969 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.4524, allocations: 12.97 kB / 1.338 GB, free: 5.957 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.4524, allocations: 4 kB / 1.338 GB, free: 5.953 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.4524, allocations: 0 / 1.338 GB, free: 5.953 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-07/0.4524, allocations: 0 / 1.338 GB, free: 5.953 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.4524, allocations: 0 / 1.338 GB, free: 5.953 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.913e-05/0.4524, allocations: 4 kB / 1.338 GB, free: 5.949 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.4524, allocations: 0 / 1.338 GB, free: 5.949 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.0001432/0.4526, allocations: 197.1 kB / 1.338 GB, free: 5.746 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.05e-05/0.4527, allocations: 116.9 kB / 1.338 GB, free: 5.625 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.522e-05/0.4527, allocations: 108.8 kB / 1.338 GB, free: 5.504 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-05/0.4528, allocations: 180.2 kB / 1.338 GB, free: 5.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.841e-05/0.4529, allocations: 184.3 kB / 1.339 GB, free: 5.133 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001281/0.453, allocations: 180.2 kB / 1.339 GB, free: 4.949 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.4533, allocations: 364.8 kB / 1.339 GB, free: 4.555 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.717e-05/0.4534, allocations: 101 kB / 1.339 GB, free: 4.449 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.456e-05/0.4534, allocations: 104.9 kB / 1.339 GB, free: 4.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.824e-05/0.4535, allocations: 180.3 kB / 1.339 GB, free: 4.156 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/0.4536, allocations: 192.1 kB / 1.34 GB, free: 3.961 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001037/0.4537, allocations: 180.2 kB / 1.34 GB, free: 3.777 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.702e-05/0.4538, allocations: 180.3 kB / 1.34 GB, free: 3.594 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.454, allocations: 307.7 kB / 1.34 GB, free: 3.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.28e-05/0.4541, allocations: 120.9 kB / 1.34 GB, free: 3.145 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.4542, allocations: 180.2 kB / 1.341 GB, free: 2.961 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.33e-05/0.4543, allocations: 108.9 kB / 1.341 GB, free: 2.848 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.623e-05/0.4544, allocations: 180.2 kB / 1.341 GB, free: 2.664 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.098e-05/0.4544, allocations: 101 kB / 1.341 GB, free: 2.559 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.533e-05/0.4545, allocations: 108.8 kB / 1.341 GB, free: 2.453 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4545, allocations: 4 kB / 1.341 GB, free: 2.449 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007291/0.4552, allocations: 287 kB / 1.341 GB, free: 2.168 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.001087/0.4563, allocations: 0.5442 MB / 1.342 GB, free: 1.617 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001232/0.4565, allocations: 37.64 kB / 1.342 GB, free: 1.574 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4565, allocations: 0 / 1.342 GB, free: 1.574 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.4565, allocations: 0 / 1.342 GB, free: 1.574 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000503/0.457, allocations: 467.7 kB / 1.342 GB, free: 1.113 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003879/0.4573, allocations: 268.6 kB / 1.343 GB, free: 0.8164 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.731e-05/0.4574, allocations: 67.34 kB / 1.343 GB, free: 0.7305 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.584e-05/0.4574, allocations: 7.438 kB / 1.343 GB, free: 0.7227 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4574, allocations: 0 / 1.343 GB, free: 0.7227 MB / 1.029 GB Notification: Performance of Templates: time 0.008568/0.466, allocations: 4.818 MB / 1.347 GB, free: 11.91 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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: 13.65035265404731]