Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000906/0.000906, allocations: 81.95 kB / 20.68 MB, free: 3.816 MB / 18.57 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.0009128/0.0009128, allocations: 185.3 kB / 24.09 MB, free: 416 kB / 18.57 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 0.861/0.861, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.666/1.666, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.295e-06/2.295e-06, allocations: 0 / 0.7877 GB, free: 10.98 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.83e-05, allocations: 3.406 kB / 0.7877 GB, free: 10.98 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00313/0.003158, allocations: 1.483 MB / 0.7891 GB, free: 9.5 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00427/0.007427, allocations: 2.726 MB / 0.7918 GB, free: 6.766 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.566e-05/0.007483, allocations: 0 / 0.7918 GB, free: 6.766 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.552e-05/0.007509, allocations: 8.891 kB / 0.7918 GB, free: 6.758 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.036e-05/0.007579, allocations: 15.86 kB / 0.7918 GB, free: 6.742 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003858/0.01144, allocations: 1.623 MB / 0.7934 GB, free: 5.145 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.01155, allocations: 43.67 kB / 0.7934 GB, free: 5.102 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.01159, allocations: 7.969 kB / 0.7934 GB, free: 5.094 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.929e-05/0.01164, allocations: 20.47 kB / 0.7934 GB, free: 5.074 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.553e-05/0.01166, allocations: 14.53 kB / 0.7935 GB, free: 5.062 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.01168, allocations: 0 / 0.7935 GB, free: 5.062 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002305/0.01398, allocations: 1.462 MB / 0.7949 GB, free: 3.598 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.014, allocations: 4 kB / 0.7949 GB, free: 3.594 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.01402, allocations: 11.94 kB / 0.7949 GB, free: 3.582 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.01577, allocations: 1.251 MB / 0.7961 GB, free: 2.328 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.01577, allocations: 1.688 kB / 0.7961 GB, free: 2.328 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.764e-06/0.01577, allocations: 0 / 0.7961 GB, free: 2.328 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.01578, allocations: 0 / 0.7961 GB, free: 2.328 MB / 0.698 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.000591/0.01637, allocations: 0.5566 MB / 0.7967 GB, free: 1.734 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.01641, allocations: 16.52 kB / 0.7967 GB, free: 1.719 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.684e-05/0.01647, allocations: 124.7 kB / 0.7968 GB, free: 1.598 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.01658, allocations: 247.6 kB / 0.797 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.541e-05/0.01664, allocations: 240.4 kB / 0.7973 GB, free: 1.094 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.857e-05/0.0167, allocations: 238.8 kB / 0.7975 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.612e-05/0.01677, allocations: 145.5 kB / 0.7976 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.0168, allocations: 119.4 kB / 0.7977 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.633e-05/0.01686, allocations: 247.3 kB / 0.798 GB, free: 360 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.795e-05/0.01691, allocations: 238.4 kB / 0.7982 GB, free: 120 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.723e-05/0.01699, allocations: 242.9 kB / 0.7984 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002526/0.01724, allocations: 0.5686 MB / 0.799 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.661e-05/0.01733, allocations: 266.5 kB / 0.7993 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.467e-05/0.01737, allocations: 126.9 kB / 0.7994 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.0174, allocations: 127.2 kB / 0.7995 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.01745, allocations: 153.2 kB / 0.7996 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.01745, allocations: 0.9062 kB / 0.7996 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 0.0002114/0.01766, allocations: 33.64 kB / 0.7997 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.01771, allocations: 170.6 kB / 0.7998 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.01784, allocations: 203.3 kB / 0.8 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.01785, allocations: 25.7 kB / 0.8001 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.246e-05/0.0179, allocations: 138.8 kB / 0.8002 GB, free: 14 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.262e-06/0.0179, allocations: 0 / 0.8002 GB, free: 14 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.01794, allocations: 27.36 kB / 0.8002 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.01809, allocations: 496.1 kB / 0.8007 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.737e-05/0.0181, allocations: 8.031 kB / 0.8007 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.708e-06/0.01811, allocations: 0 / 0.8007 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.478e-05/0.01816, allocations: 15.69 kB / 0.8007 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.01816, allocations: 3.938 kB / 0.8007 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001013/0.01826, allocations: 42.89 kB / 0.8008 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.01828, allocations: 10.03 kB / 0.8008 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/0.0183, allocations: 3.984 kB / 0.8008 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.01831, allocations: 5 kB / 0.8008 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.478e-06/0.01831, allocations: 0 / 0.8008 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.01832, allocations: 5.062 kB / 0.8008 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.688e-05/0.01834, allocations: 7.891 kB / 0.8008 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.01835, allocations: 0 / 0.8008 GB, free: 13.36 MB / 0.7136 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.0001126/0.01846, allocations: 280.9 kB / 0.8011 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.979e-05/0.01852, allocations: 148.8 kB / 0.8012 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.844e-05/0.01858, allocations: 156.7 kB / 0.8013 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.837e-05/0.01865, allocations: 265.2 kB / 0.8016 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-05/0.01873, allocations: 272 kB / 0.8019 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-05/0.01881, allocations: 268 kB / 0.8021 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.01902, allocations: 0.4889 MB / 0.8026 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.999e-05/0.01906, allocations: 148.9 kB / 0.8027 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.15e-05/0.0191, allocations: 144.9 kB / 0.8029 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.686e-05/0.01918, allocations: 272 kB / 0.8031 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.74e-05/0.01925, allocations: 268.1 kB / 0.8034 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.09e-05/0.01932, allocations: 272 kB / 0.8036 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.661e-05/0.01939, allocations: 272.1 kB / 0.8039 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.01953, allocations: 451.9 kB / 0.8043 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/0.01958, allocations: 160.8 kB / 0.8045 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.852e-05/0.01965, allocations: 268 kB / 0.8047 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.566e-05/0.01972, allocations: 152.9 kB / 0.8049 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.552e-05/0.01979, allocations: 268 kB / 0.8051 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/0.01982, allocations: 144.9 kB / 0.8053 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.58e-05/0.01988, allocations: 147.1 kB / 0.8054 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01988, allocations: 0 / 0.8054 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006976/0.02058, allocations: 291 kB / 0.8057 GB, free: 8.133 MB / 0.7136 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.0009478/0.02152, allocations: 0.6142 MB / 0.8063 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.901e-05/0.02161, allocations: 45.38 kB / 0.8063 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.02162, allocations: 0 / 0.8063 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.484e-06/0.02162, allocations: 7.938 kB / 0.8064 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007218/0.02234, allocations: 0.7178 MB / 0.8071 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/0.02263, allocations: 265.3 kB / 0.8073 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.098e-05/0.02267, allocations: 63.34 kB / 0.8074 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.274e-05/0.02268, allocations: 4 kB / 0.8074 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.715e-05/0.02274, allocations: 78.19 kB / 0.8074 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of SimCode: time 6.92e-07/0.02274, allocations: 0 / 0.8074 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of Templates: time 0.01182/0.03456, allocations: 7.168 MB / 0.8144 GB, free: 15.15 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.81804852373898]