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.001458/0.001458, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001565/0.001565, allocations: 161 kB / 23.82 MB, free: 0.7539 MB / 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.9052/0.9052, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.703/1.703, allocations: 359 MB / 0.6052 GB, free: 11.02 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.793e-06/1.793e-06, allocations: 0 / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.046e-05/3.225e-05, allocations: 4.844 kB / 0.7872 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00271/0.002743, allocations: 1.493 MB / 0.7887 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004332/0.007074, allocations: 2.836 MB / 0.7914 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.605e-05/0.00711, allocations: 0 / 0.7914 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.7e-05/0.007137, allocations: 0 / 0.7914 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.413e-05/0.007212, allocations: 26.88 kB / 0.7915 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003456/0.01067, allocations: 1.654 MB / 0.7931 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.914e-05/0.01076, allocations: 47.67 kB / 0.7931 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.49e-05/0.01079, allocations: 0.5625 kB / 0.7931 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.555e-05/0.01084, allocations: 21.66 kB / 0.7931 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.579e-05/0.01086, allocations: 11.94 kB / 0.7932 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.01088, allocations: 4 kB / 0.7932 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002147/0.01302, allocations: 1.491 MB / 0.7946 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.01304, allocations: 11.94 kB / 0.7946 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.424e-05/0.01306, allocations: 7.938 kB / 0.7946 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001615/0.01468, allocations: 1.278 MB / 0.7959 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.01468, allocations: 0 / 0.7959 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.312e-06/0.01468, allocations: 0 / 0.7959 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.01469, allocations: 0.5312 kB / 0.7959 GB, free: 3.539 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.0005485/0.01524, allocations: 0.5581 MB / 0.7964 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.01528, allocations: 12.03 kB / 0.7964 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.448e-05/0.01534, allocations: 124.1 kB / 0.7966 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.01548, allocations: 252.4 kB / 0.7968 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.208e-05/0.01554, allocations: 238.8 kB / 0.797 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.992e-05/0.01561, allocations: 239.3 kB / 0.7973 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.096e-05/0.01568, allocations: 153.4 kB / 0.7974 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.222e-05/0.01571, allocations: 120.2 kB / 0.7975 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.529e-05/0.01578, allocations: 242.5 kB / 0.7977 GB, free: 1.559 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.454e-05/0.01584, allocations: 239.2 kB / 0.798 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.052e-05/0.0159, allocations: 238.4 kB / 0.7982 GB, free: 1.09 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002898/0.01619, allocations: 0.5912 MB / 0.7988 GB, free: 480 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.827e-05/0.01629, allocations: 269.4 kB / 0.799 GB, free: 196 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.101e-05/0.01633, allocations: 126.9 kB / 0.7992 GB, free: 64 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.74e-05/0.01638, allocations: 123.2 kB / 0.7993 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.006e-05/0.01643, allocations: 152.6 kB / 0.7994 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.01643, allocations: 0 / 0.7994 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of matching and sorting (n=0): time 7.763e-05/0.01651, allocations: 33.66 kB / 0.7994 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.01657, allocations: 174.5 kB / 0.7996 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.01673, allocations: 195.8 kB / 0.7998 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.01674, allocations: 29.64 kB / 0.7998 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.0168, allocations: 136.2 kB / 0.8 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-06/0.0168, allocations: 0 / 0.8 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.01684, allocations: 23.42 kB / 0.8 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.01697, allocations: 0.4972 MB / 0.8005 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.749e-05/0.01699, allocations: 0 / 0.8005 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.392e-05/0.017, allocations: 4 kB / 0.8005 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.515e-05/0.01704, allocations: 12.81 kB / 0.8005 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.01704, allocations: 0 / 0.8005 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001336/0.01717, allocations: 53.64 kB / 0.8005 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.01719, allocations: 5.031 kB / 0.8005 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/0.01721, allocations: 4 kB / 0.8005 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.01722, allocations: 4 kB / 0.8005 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.833e-06/0.01723, allocations: 13.12 kB / 0.8006 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.01723, allocations: 0 / 0.8006 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.349e-05/0.01726, allocations: 7.938 kB / 0.8006 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.01726, allocations: 1.781 kB / 0.8006 GB, free: 14.53 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 9.928e-05/0.01736, allocations: 275.8 kB / 0.8008 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-05/0.01743, allocations: 152.8 kB / 0.801 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.859e-05/0.01748, allocations: 160.6 kB / 0.8011 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-05/0.01756, allocations: 268.7 kB / 0.8014 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.03e-05/0.01763, allocations: 272 kB / 0.8016 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.249e-05/0.0177, allocations: 272.7 kB / 0.8019 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.01792, allocations: 0.5 MB / 0.8024 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.135e-05/0.01796, allocations: 149.9 kB / 0.8025 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.795e-05/0.018, allocations: 144.9 kB / 0.8027 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.507e-05/0.01808, allocations: 268.7 kB / 0.8029 GB, free: 12 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-05/0.01815, allocations: 272 kB / 0.8032 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.788e-05/0.01822, allocations: 268.1 kB / 0.8034 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.915e-05/0.01829, allocations: 276 kB / 0.8037 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.01843, allocations: 447.9 kB / 0.8041 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 8.816e-05/0.01852, allocations: 156.8 kB / 0.8043 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.344e-05/0.0186, allocations: 264.1 kB / 0.8045 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.089e-05/0.01869, allocations: 156.8 kB / 0.8047 GB, free: 10.13 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.372e-05/0.01877, allocations: 268 kB / 0.8049 GB, free: 9.859 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.095e-05/0.01881, allocations: 148.9 kB / 0.8051 GB, free: 9.707 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 6.696e-05/0.01888, allocations: 145.4 kB / 0.8052 GB, free: 9.566 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1e-07/0.01888, allocations: 7.938 kB / 0.8052 GB, free: 9.559 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006903/0.01957, allocations: 291 kB / 0.8055 GB, free: 9.273 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.001025/0.02059, allocations: 0.6311 MB / 0.8061 GB, free: 8.633 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 9.995e-05/0.02069, allocations: 49.39 kB / 0.8062 GB, free: 8.574 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.02069, allocations: 0 / 0.8062 GB, free: 8.574 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.02069, allocations: 0 / 0.8062 GB, free: 8.574 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.02116, allocations: 0.7179 MB / 0.8069 GB, free: 7.852 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000317/0.02148, allocations: 289 kB / 0.8072 GB, free: 7.539 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.662e-05/0.02152, allocations: 55.34 kB / 0.8072 GB, free: 7.465 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.157e-05/0.02153, allocations: 0 / 0.8072 GB, free: 7.465 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.387e-05/0.02154, allocations: 12.5 kB / 0.8072 GB, free: 7.453 MB / 0.7605 GB Notification: Performance of SimCode: time 6.21e-07/0.02154, allocations: 0 / 0.8072 GB, free: 7.453 MB / 0.7605 GB Notification: Performance of Templates: time 0.01001/0.03155, allocations: 5.977 MB / 0.8131 GB, free: 1.527 MB / 0.7605 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: 5.036759104114026]