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.001557/0.001557, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.00177/0.00177, allocations: 169 kB / 24.28 MB, free: 280 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.9282/0.9282, allocations: 177.2 MB / 204.6 MB, free: 5.594 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.709/1.709, allocations: 359 MB / 0.6055 GB, free: 11.01 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 1.833e-06/1.833e-06, allocations: 3.938 kB / 0.7872 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.721e-05, allocations: 9.125 kB / 0.7872 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00295/0.002977, allocations: 1.481 MB / 0.7886 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004754/0.007731, allocations: 2.783 MB / 0.7914 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.995e-05/0.007781, allocations: 4.562 kB / 0.7914 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.709e-05/0.007808, allocations: 7.922 kB / 0.7914 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.258e-05/0.00787, allocations: 8.562 kB / 0.7914 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00428/0.01215, allocations: 1.624 MB / 0.793 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.815e-05/0.01225, allocations: 44.2 kB / 0.793 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.199e-05/0.01229, allocations: 4.531 kB / 0.793 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.682e-05/0.01234, allocations: 23.91 kB / 0.793 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.042e-05/0.01237, allocations: 8.906 kB / 0.7931 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.01238, allocations: 4 kB / 0.7931 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002317/0.0147, allocations: 1.459 MB / 0.7945 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.01472, allocations: 4.469 kB / 0.7945 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.046e-05/0.01475, allocations: 9.375 kB / 0.7945 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001858/0.0166, allocations: 1.251 MB / 0.7957 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.01661, allocations: 0 / 0.7957 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.092e-06/0.01661, allocations: 0 / 0.7957 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.01662, allocations: 1.156 kB / 0.7957 GB, free: 3.996 MB / 0.7448 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.0004562/0.01707, allocations: 0.557 MB / 0.7963 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.01711, allocations: 8.031 kB / 0.7963 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.054e-05/0.01717, allocations: 128.9 kB / 0.7964 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.01728, allocations: 241.6 kB / 0.7966 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.972e-05/0.01733, allocations: 239.7 kB / 0.7968 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.047e-05/0.01738, allocations: 242.8 kB / 0.7971 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.528e-05/0.01743, allocations: 149.4 kB / 0.7972 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.01746, allocations: 120.7 kB / 0.7973 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/0.01751, allocations: 242.5 kB / 0.7976 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.606e-05/0.01755, allocations: 238.4 kB / 0.7978 GB, free: 1.793 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.74e-05/0.0176, allocations: 243.3 kB / 0.798 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002118/0.01781, allocations: 0.5837 MB / 0.7986 GB, free: 0.9375 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.824e-05/0.01789, allocations: 271.7 kB / 0.7989 GB, free: 0.6602 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.256e-05/0.01792, allocations: 130.9 kB / 0.799 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.01795, allocations: 123.2 kB / 0.7991 GB, free: 416 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.01799, allocations: 152.6 kB / 0.7992 GB, free: 252 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 7.32e-07/0.01799, allocations: 0 / 0.7992 GB, free: 252 kB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.99e-05/0.01805, allocations: 33.69 kB / 0.7993 GB, free: 212 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.01811, allocations: 178 kB / 0.7994 GB, free: 24 kB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.01824, allocations: 204.2 kB / 0.7996 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.01825, allocations: 25.7 kB / 0.7997 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.01831, allocations: 138.9 kB / 0.7998 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-06/0.01831, allocations: 3.984 kB / 0.7998 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.01834, allocations: 23.38 kB / 0.7998 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.667e-05/0.01843, allocations: 496.1 kB / 0.8003 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.509e-05/0.01845, allocations: 7.938 kB / 0.8003 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.879e-06/0.01846, allocations: 0 / 0.8003 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.246e-05/0.01849, allocations: 20.61 kB / 0.8003 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.01849, allocations: 0 / 0.8003 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001034/0.0186, allocations: 45.64 kB / 0.8004 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.01861, allocations: 4.5 kB / 0.8004 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.01863, allocations: 4.562 kB / 0.8004 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.01864, allocations: 4.5 kB / 0.8004 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.553e-06/0.01864, allocations: 3.938 kB / 0.8004 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.01864, allocations: 1.344 kB / 0.8004 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.469e-05/0.01866, allocations: 3.938 kB / 0.8004 GB, free: 15 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.01867, allocations: 4 kB / 0.8004 GB, free: 15 MB / 0.7605 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.0001196/0.01878, allocations: 280.7 kB / 0.8007 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.01882, allocations: 152.8 kB / 0.8008 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.011e-05/0.01886, allocations: 157.2 kB / 0.801 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.896e-05/0.01891, allocations: 268.1 kB / 0.8012 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.312e-05/0.01897, allocations: 268.7 kB / 0.8015 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.405e-05/0.01902, allocations: 272 kB / 0.8017 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.01918, allocations: 0.498 MB / 0.8022 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.879e-05/0.01922, allocations: 156.8 kB / 0.8024 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.01932, allocations: 144.9 kB / 0.8025 GB, free: 12.74 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-05/0.01937, allocations: 264.1 kB / 0.8028 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.223e-05/0.01943, allocations: 272 kB / 0.803 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.208e-05/0.01948, allocations: 271.4 kB / 0.8033 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-05/0.01953, allocations: 272 kB / 0.8035 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.01963, allocations: 444 kB / 0.804 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 3.732e-05/0.01967, allocations: 156.8 kB / 0.8041 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.306e-05/0.01973, allocations: 272.1 kB / 0.8044 GB, free: 10.76 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.096e-05/0.01978, allocations: 148.8 kB / 0.8045 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.497e-05/0.01984, allocations: 272 kB / 0.8048 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.01987, allocations: 144.9 kB / 0.8049 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 4.695e-05/0.01991, allocations: 143.1 kB / 0.805 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.01991, allocations: 0.875 kB / 0.805 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004372/0.02035, allocations: 291 kB / 0.8053 GB, free: 9.762 MB / 0.7605 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.0007686/0.02112, allocations: 0.6225 MB / 0.8059 GB, free: 9.137 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 7.955e-05/0.0212, allocations: 37.39 kB / 0.806 GB, free: 9.09 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.0212, allocations: 128 / 0.806 GB, free: 9.09 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.0212, allocations: 8 kB / 0.806 GB, free: 9.082 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.02162, allocations: 0.714 MB / 0.8067 GB, free: 8.363 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002642/0.02188, allocations: 277.1 kB / 0.8069 GB, free: 8.062 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.217e-05/0.02191, allocations: 59.34 kB / 0.807 GB, free: 7.984 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.103e-05/0.02192, allocations: 3.938 kB / 0.807 GB, free: 7.98 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.212e-05/0.02194, allocations: 12.5 kB / 0.807 GB, free: 7.969 MB / 0.7605 GB Notification: Performance of SimCode: time 5.21e-07/0.02194, allocations: 0 / 0.807 GB, free: 7.969 MB / 0.7605 GB Notification: Performance of Templates: time 0.006645/0.02858, allocations: 5.81 MB / 0.8127 GB, free: 2.219 MB / 0.7605 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.91766949207522]