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.InternalResistancesTwoUTubeNegative.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.0009491/0.0009491, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009408/0.0009408, allocations: 161 kB / 23.82 MB, free: 0.75 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.9049/0.9049, allocations: 177.2 MB / 204.2 MB, free: 5.586 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.685/1.685, 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.InternalResistancesTwoUTubeNegative,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.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,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.InternalResistancesTwoUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.7872 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.722e-05, allocations: 8.422 kB / 0.7872 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002684/0.002712, allocations: 1.5 MB / 0.7887 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004501/0.007212, allocations: 2.824 MB / 0.7914 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.89e-05/0.007261, allocations: 0 / 0.7914 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.535e-05/0.007297, allocations: 8.984 kB / 0.7914 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.548e-05/0.007372, allocations: 19.8 kB / 0.7915 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.004201/0.01157, allocations: 1.661 MB / 0.7931 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.01168, allocations: 43.69 kB / 0.7931 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.01172, allocations: 5.734 kB / 0.7931 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.743e-05/0.01177, allocations: 19.98 kB / 0.7931 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.568e-05/0.0118, allocations: 11.94 kB / 0.7932 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.01181, allocations: 0 / 0.7932 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002318/0.01413, allocations: 1.494 MB / 0.7946 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.842e-05/0.01415, allocations: 11.92 kB / 0.7946 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.124e-05/0.01418, allocations: 9.719 kB / 0.7946 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001921/0.0161, allocations: 1.278 MB / 0.7959 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.0161, allocations: 0 / 0.7959 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.222e-06/0.0161, allocations: 0 / 0.7959 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.01611, allocations: 0 / 0.7959 GB, free: 3.496 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.0007447/0.01685, allocations: 0.5695 MB / 0.7964 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.0169, allocations: 8.031 kB / 0.7965 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.485e-05/0.01697, allocations: 135.5 kB / 0.7966 GB, free: 2.754 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.01711, allocations: 234 kB / 0.7968 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.171e-05/0.01718, allocations: 238.8 kB / 0.797 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.41e-05/0.01726, allocations: 242.8 kB / 0.7973 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.202e-05/0.01733, allocations: 145.5 kB / 0.7974 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.138e-05/0.01737, allocations: 123.4 kB / 0.7975 GB, free: 1.758 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.296e-05/0.01744, allocations: 242.5 kB / 0.7977 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-05/0.01751, allocations: 238.4 kB / 0.798 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.935e-05/0.01758, allocations: 246.3 kB / 0.7982 GB, free: 1.043 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003156/0.0179, allocations: 0.5875 MB / 0.7988 GB, free: 432 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/0.01825, allocations: 261.9 kB / 0.799 GB, free: 156 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.019e-05/0.01829, allocations: 132.8 kB / 0.7992 GB, free: 20 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.85e-05/0.01834, allocations: 119.2 kB / 0.7993 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.273e-05/0.01839, allocations: 152.6 kB / 0.7994 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/0.01839, allocations: 0 / 0.7994 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of matching and sorting (n=0): time 7.791e-05/0.01847, allocations: 37.59 kB / 0.7995 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.03e-05/0.01854, allocations: 183.4 kB / 0.7996 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.01869, allocations: 185.9 kB / 0.7998 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.0187, allocations: 26.55 kB / 0.7998 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 6.341e-05/0.01877, allocations: 138.9 kB / 0.8 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/0.01877, allocations: 1.312 kB / 0.8 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.01881, allocations: 23.41 kB / 0.8 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.01895, allocations: 0.4923 MB / 0.8005 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.157e-05/0.01897, allocations: 4 kB / 0.8005 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.585e-05/0.01899, allocations: 6.797 kB / 0.8005 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.267e-05/0.01903, allocations: 19.62 kB / 0.8005 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01903, allocations: 4 kB / 0.8005 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001365/0.01917, allocations: 45.72 kB / 0.8005 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.01918, allocations: 6.188 kB / 0.8006 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.203e-05/0.01921, allocations: 7.938 kB / 0.8006 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.01922, allocations: 0 / 0.8006 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.564e-06/0.01923, allocations: 6.531 kB / 0.8006 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.413e-06/0.01923, allocations: 7.984 kB / 0.8006 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.39e-05/0.01926, allocations: 0 / 0.8006 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.01927, allocations: 0 / 0.8006 GB, free: 14.49 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.0001069/0.01937, allocations: 279.8 kB / 0.8008 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.758e-05/0.01944, allocations: 152.8 kB / 0.801 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.385e-05/0.0195, allocations: 152.7 kB / 0.8011 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.268e-05/0.01957, allocations: 269 kB / 0.8014 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.787e-05/0.01965, allocations: 280 kB / 0.8017 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.078e-05/0.01972, allocations: 265.2 kB / 0.8019 GB, free: 13.08 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.01994, allocations: 0.5 MB / 0.8024 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-05/0.01999, allocations: 148.9 kB / 0.8025 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.932e-05/0.02003, allocations: 149.9 kB / 0.8027 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.305e-05/0.0201, allocations: 276 kB / 0.8029 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.01e-05/0.02018, allocations: 264.1 kB / 0.8032 GB, free: 11.69 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.377e-05/0.02025, allocations: 273.1 kB / 0.8035 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.091e-05/0.02032, allocations: 264.1 kB / 0.8037 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.02049, allocations: 459.8 kB / 0.8041 GB, free: 10.67 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.515e-05/0.02055, allocations: 149.4 kB / 0.8043 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.396e-05/0.02064, allocations: 272.5 kB / 0.8046 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.77e-05/0.02073, allocations: 144.9 kB / 0.8047 GB, free: 10.1 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.717e-05/0.02081, allocations: 277.3 kB / 0.805 GB, free: 9.82 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.061e-05/0.02085, allocations: 148.9 kB / 0.8051 GB, free: 9.668 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 7.23e-05/0.02092, allocations: 143.1 kB / 0.8052 GB, free: 9.527 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8.1e-08/0.02092, allocations: 0.8125 kB / 0.8052 GB, free: 9.527 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0008978/0.02182, allocations: 299 kB / 0.8055 GB, free: 9.234 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.001186/0.023, allocations: 0.6336 MB / 0.8061 GB, free: 8.594 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003723/0.02338, allocations: 53.38 kB / 0.8062 GB, free: 8.531 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.02338, allocations: 0 / 0.8062 GB, free: 8.531 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 3.977e-06/0.02338, allocations: 3.938 kB / 0.8062 GB, free: 8.527 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004658/0.02385, allocations: 0.714 MB / 0.8069 GB, free: 7.809 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003499/0.0242, allocations: 273.2 kB / 0.8071 GB, free: 7.512 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.151e-05/0.02424, allocations: 63.28 kB / 0.8072 GB, free: 7.43 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.62e-05/0.02426, allocations: 4.062 kB / 0.8072 GB, free: 7.426 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.732e-05/0.02427, allocations: 8.5 kB / 0.8072 GB, free: 7.418 MB / 0.7605 GB Notification: Performance of SimCode: time 9.62e-07/0.02427, allocations: 0 / 0.8072 GB, free: 7.418 MB / 0.7605 GB Notification: Performance of Templates: time 0.009403/0.03368, allocations: 8.039 MB / 0.8151 GB, free: 15.43 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.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.823563732672483]