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.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.00143/0.00143, 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.001823/0.001823, allocations: 185 kB / 24.09 MB, free: 420 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.896/0.896, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.663/1.663, allocations: 359 MB / 0.6055 GB, free: 10.89 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.7877 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.362e-05/1.486e-05, allocations: 8.219 kB / 0.7877 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001635/0.001649, allocations: 1.488 MB / 0.7891 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002835/0.004485, allocations: 2.774 MB / 0.7918 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.696e-05/0.004512, allocations: 0 / 0.7918 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.197e-05/0.004534, allocations: 3.938 kB / 0.7918 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.738e-05/0.004581, allocations: 19.84 kB / 0.7918 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002173/0.006754, allocations: 1.645 MB / 0.7935 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.942e-05/0.006814, allocations: 47.62 kB / 0.7935 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.591e-05/0.006839, allocations: 4.891 kB / 0.7935 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.245e-05/0.006872, allocations: 23.92 kB / 0.7935 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 1.777e-05/0.00689, allocations: 12.78 kB / 0.7935 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.876e-06/0.006899, allocations: 0 / 0.7935 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.008299, allocations: 1.494 MB / 0.795 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.026e-05/0.008309, allocations: 7.984 kB / 0.795 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.729e-05/0.008327, allocations: 16.66 kB / 0.795 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0009814/0.009308, allocations: 1.278 MB / 0.7963 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.00931, allocations: 0.875 kB / 0.7963 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.62e-07/0.00931, allocations: 0 / 0.7963 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.825e-06/0.009313, allocations: 4 kB / 0.7963 GB, free: 3.301 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.0004712/0.009784, allocations: 0.5662 MB / 0.7968 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.009813, allocations: 8.031 kB / 0.7968 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/0.009855, allocations: 128.1 kB / 0.797 GB, free: 2.566 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.284e-05/0.009937, allocations: 235.8 kB / 0.7972 GB, free: 2.309 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.468e-05/0.009982, allocations: 239.8 kB / 0.7974 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.902e-05/0.01003, allocations: 246.7 kB / 0.7976 GB, free: 1.832 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.713e-05/0.01008, allocations: 148.8 kB / 0.7978 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.0101, allocations: 123.4 kB / 0.7979 GB, free: 1.562 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.573e-05/0.01015, allocations: 246.4 kB / 0.7981 GB, free: 1.32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.467e-05/0.01019, allocations: 242.4 kB / 0.7984 GB, free: 1.082 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.356e-05/0.01024, allocations: 238.4 kB / 0.7986 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001799/0.01042, allocations: 0.5686 MB / 0.7992 GB, free: 260 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.933e-05/0.0105, allocations: 265.4 kB / 0.7994 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.605e-05/0.01052, allocations: 126.9 kB / 0.7995 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.01054, allocations: 119.2 kB / 0.7996 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.01058, allocations: 157.1 kB / 0.7998 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.01058, allocations: 0.5312 kB / 0.7998 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of matching and sorting (n=0): time 4.271e-05/0.01062, allocations: 33.66 kB / 0.7998 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.01066, allocations: 176.1 kB / 0.8 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000331/0.01099, allocations: 204 kB / 0.8002 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.144e-06/0.011, allocations: 25.7 kB / 0.8002 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 3.942e-05/0.01104, allocations: 134.9 kB / 0.8003 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 1.383e-06/0.01104, allocations: 0.625 kB / 0.8003 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.381e-05/0.01106, allocations: 28.77 kB / 0.8004 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.942e-05/0.01115, allocations: 0.4884 MB / 0.8008 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.12e-05/0.01116, allocations: 4 kB / 0.8008 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.306e-06/0.01117, allocations: 4 kB / 0.8009 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.395e-05/0.0112, allocations: 12.5 kB / 0.8009 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.0112, allocations: 0 / 0.8009 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.15e-05/0.01127, allocations: 58.3 kB / 0.8009 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 9.779e-06/0.01128, allocations: 8 kB / 0.8009 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.01129, allocations: 6.812 kB / 0.8009 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.003e-06/0.0113, allocations: 0 / 0.8009 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.325e-06/0.0113, allocations: 0 / 0.8009 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.0113, allocations: 3.938 kB / 0.8009 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.144e-05/0.01132, allocations: 0 / 0.8009 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-06/0.01132, allocations: 0 / 0.8009 GB, free: 14.33 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 7.221e-05/0.01139, allocations: 275.8 kB / 0.8012 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/0.01143, allocations: 159.2 kB / 0.8014 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.843e-05/0.01147, allocations: 152.6 kB / 0.8015 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-05/0.01152, allocations: 276.1 kB / 0.8018 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.723e-05/0.01157, allocations: 264.1 kB / 0.802 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.004e-05/0.01162, allocations: 275.9 kB / 0.8023 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.01176, allocations: 484.7 kB / 0.8027 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.798e-05/0.01178, allocations: 157.8 kB / 0.8029 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.669e-05/0.01181, allocations: 144.9 kB / 0.803 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.774e-05/0.01186, allocations: 272 kB / 0.8033 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.807e-05/0.01191, allocations: 273.1 kB / 0.8035 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-05/0.01195, allocations: 264.1 kB / 0.8038 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.838e-05/0.012, allocations: 272 kB / 0.8041 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.847e-05/0.0121, allocations: 452.9 kB / 0.8045 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 3.361e-05/0.01213, allocations: 152.8 kB / 0.8046 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.039e-05/0.01218, allocations: 268.1 kB / 0.8049 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.107e-05/0.01223, allocations: 157.9 kB / 0.805 GB, free: 9.953 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.01228, allocations: 264.1 kB / 0.8053 GB, free: 9.688 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.01231, allocations: 148.9 kB / 0.8054 GB, free: 9.535 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 3.957e-05/0.01235, allocations: 149.2 kB / 0.8056 GB, free: 9.391 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.01235, allocations: 0 / 0.8056 GB, free: 9.391 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004908/0.01284, allocations: 295 kB / 0.8059 GB, free: 9.102 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.0006385/0.01348, allocations: 0.6454 MB / 0.8065 GB, free: 8.445 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 6.557e-05/0.01354, allocations: 53.38 kB / 0.8065 GB, free: 8.383 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.01354, allocations: 0 / 0.8065 GB, free: 8.383 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.01355, allocations: 0 / 0.8065 GB, free: 8.383 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.01382, allocations: 0.7101 MB / 0.8072 GB, free: 7.668 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004228/0.01424, allocations: 277.2 kB / 0.8075 GB, free: 7.367 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.46e-05/0.01427, allocations: 55.42 kB / 0.8076 GB, free: 7.293 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 8.465e-06/0.01428, allocations: 4 kB / 0.8076 GB, free: 7.289 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.182e-05/0.01432, allocations: 78.19 kB / 0.8076 GB, free: 7.211 MB / 0.7605 GB Notification: Performance of SimCode: time 3.61e-07/0.01432, allocations: 0 / 0.8076 GB, free: 7.211 MB / 0.7605 GB Notification: Performance of Templates: time 0.007577/0.0219, allocations: 7.354 MB / 0.8148 GB, free: 15.91 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.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.81934400415048]