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.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.001554/0.001554, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001766/0.001766, allocations: 189.5 kB / 22.23 MB, free: 5.137 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.483/1.483, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.244/3.244, allocations: 496 MB / 0.7835 GB, free: 33.61 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-maint.12.x/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.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: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 64.97 kB / 1.138 GB, free: 33.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4062, allocations: 173.6 MB / 1.307 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002727/0.4089, allocations: 1.465 MB / 1.309 GB, free: 324 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005011/0.4139, allocations: 2.933 MB / 1.312 GB, free: 13.37 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.795e-05/0.414, allocations: 0 / 1.312 GB, free: 13.37 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.345e-05/0.414, allocations: 3.938 kB / 1.312 GB, free: 13.36 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.201e-05/0.4141, allocations: 19.84 kB / 1.312 GB, free: 13.34 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004254/0.4184, allocations: 1.655 MB / 1.313 GB, free: 11.7 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.4185, allocations: 43.67 kB / 1.313 GB, free: 11.66 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/0.4185, allocations: 8 kB / 1.313 GB, free: 11.65 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.883e-05/0.4185, allocations: 15.92 kB / 1.313 GB, free: 11.63 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.305e-05/0.4186, allocations: 19.88 kB / 1.313 GB, free: 11.61 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.4186, allocations: 0 / 1.313 GB, free: 11.61 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002736/0.4213, allocations: 1.735 MB / 1.315 GB, free: 9.875 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.4213, allocations: 11.97 kB / 1.315 GB, free: 9.863 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.4214, allocations: 15.88 kB / 1.315 GB, free: 9.848 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.4231, allocations: 1.134 MB / 1.316 GB, free: 8.711 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.968e-06/0.4232, allocations: 4 kB / 1.316 GB, free: 8.707 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.815e-06/0.4232, allocations: 3.938 kB / 1.316 GB, free: 8.703 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.036e-06/0.4232, allocations: 0 / 1.316 GB, free: 8.703 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.0006913/0.4239, allocations: 460.2 kB / 1.317 GB, free: 8.223 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.4239, allocations: 12.86 kB / 1.317 GB, free: 8.211 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.455e-05/0.424, allocations: 80.17 kB / 1.317 GB, free: 8.133 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.4241, allocations: 207.5 kB / 1.317 GB, free: 7.906 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.987e-05/0.4242, allocations: 154.9 kB / 1.317 GB, free: 7.754 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.974e-05/0.4243, allocations: 150.9 kB / 1.317 GB, free: 7.605 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.734e-05/0.4244, allocations: 109 kB / 1.317 GB, free: 7.492 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.602e-05/0.4244, allocations: 75.28 kB / 1.317 GB, free: 7.418 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.815e-05/0.4245, allocations: 154.6 kB / 1.318 GB, free: 7.266 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.401e-05/0.4245, allocations: 150.6 kB / 1.318 GB, free: 7.117 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.521e-05/0.4246, allocations: 158.5 kB / 1.318 GB, free: 6.961 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003458/0.4249, allocations: 437 kB / 1.318 GB, free: 6.492 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.987e-05/0.425, allocations: 169.1 kB / 1.318 GB, free: 6.316 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.878e-05/0.4251, allocations: 80.14 kB / 1.319 GB, free: 6.234 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.063e-05/0.4251, allocations: 79.28 kB / 1.319 GB, free: 6.156 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.644e-05/0.4252, allocations: 113.8 kB / 1.319 GB, free: 6.035 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.4252, allocations: 0 / 1.319 GB, free: 6.035 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 7.941e-05/0.4253, allocations: 33.62 kB / 1.319 GB, free: 5.996 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.68e-05/0.4253, allocations: 126.7 kB / 1.319 GB, free: 5.859 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.4255, allocations: 140.3 kB / 1.319 GB, free: 5.715 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.4255, allocations: 29.7 kB / 1.319 GB, free: 5.68 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.895e-05/0.4256, allocations: 92.14 kB / 1.319 GB, free: 5.586 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-06/0.4256, allocations: 0 / 1.319 GB, free: 5.586 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.4256, allocations: 17.7 kB / 1.319 GB, free: 5.562 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.4258, allocations: 314.8 kB / 1.319 GB, free: 5.246 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.524e-05/0.4258, allocations: 4 kB / 1.319 GB, free: 5.242 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.661e-05/0.4258, allocations: 4 kB / 1.319 GB, free: 5.238 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.199e-05/0.4259, allocations: 24.78 kB / 1.319 GB, free: 5.211 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4259, allocations: 64 / 1.319 GB, free: 5.211 MB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001368/0.426, allocations: 57.62 kB / 1.319 GB, free: 5.148 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.426, allocations: 8 kB / 1.32 GB, free: 5.141 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.308e-05/0.426, allocations: 4 kB / 1.32 GB, free: 5.137 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.4261, allocations: 0 / 1.32 GB, free: 5.137 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.4261, allocations: 0 / 1.32 GB, free: 5.137 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.4261, allocations: 0 / 1.32 GB, free: 5.137 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.478e-05/0.4261, allocations: 3.938 kB / 1.32 GB, free: 5.133 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.4261, allocations: 3.984 kB / 1.32 GB, free: 5.129 MB / 1.014 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.0001268/0.4262, allocations: 199.6 kB / 1.32 GB, free: 4.926 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.329e-05/0.4263, allocations: 120.8 kB / 1.32 GB, free: 4.801 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.055e-05/0.4264, allocations: 104.8 kB / 1.32 GB, free: 4.691 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.281e-05/0.4264, allocations: 176.3 kB / 1.32 GB, free: 4.512 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.69e-05/0.4265, allocations: 192.2 kB / 1.32 GB, free: 4.316 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.73e-05/0.4266, allocations: 180.2 kB / 1.32 GB, free: 4.133 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.4269, allocations: 392.3 kB / 1.321 GB, free: 3.699 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.332e-05/0.4269, allocations: 104.9 kB / 1.321 GB, free: 3.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.34e-05/0.427, allocations: 108.9 kB / 1.321 GB, free: 3.477 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.215e-05/0.4271, allocations: 184.2 kB / 1.321 GB, free: 3.289 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.953e-05/0.4271, allocations: 180.3 kB / 1.321 GB, free: 3.105 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.973e-05/0.4272, allocations: 180.2 kB / 1.322 GB, free: 2.922 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.786e-05/0.4273, allocations: 180.3 kB / 1.322 GB, free: 2.738 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.4275, allocations: 311.7 kB / 1.322 GB, free: 2.41 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.288e-05/0.4275, allocations: 108.9 kB / 1.322 GB, free: 2.297 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.327e-05/0.4276, allocations: 180.2 kB / 1.322 GB, free: 2.113 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.457e-05/0.4277, allocations: 109 kB / 1.322 GB, free: 2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.539e-05/0.4278, allocations: 184.2 kB / 1.323 GB, free: 1.812 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.312e-05/0.4279, allocations: 105 kB / 1.323 GB, free: 1.703 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.006e-05/0.4279, allocations: 95.27 kB / 1.323 GB, free: 1.609 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.4279, allocations: 4 kB / 1.323 GB, free: 1.605 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007724/0.4287, allocations: 283 kB / 1.323 GB, free: 1.328 MB / 1.014 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.001095/0.4298, allocations: 0.5434 MB / 1.324 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000124/0.4299, allocations: 41.69 kB / 1.324 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4299, allocations: 0 / 1.324 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.988e-06/0.4299, allocations: 3.938 kB / 1.324 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/0.4304, allocations: 471.7 kB / 1.324 GB, free: 268 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003788/0.4308, allocations: 236.6 kB / 1.324 GB, free: 0 / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.4311, allocations: 0.6846 MB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.611e-05/0.4311, allocations: 4 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.64e-05/0.4311, allocations: 11.44 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.4311, allocations: 0 / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of Templates: time 0.01089/0.442, allocations: 5.641 MB / 1.33 GB, free: 9.684 MB / 1.029 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.656647742725909]