Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001293/0.001293, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001468/0.001468, allocations: 161 kB / 24.16 MB, free: 336 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.8793/0.8793, allocations: 177.2 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.74/1.74, allocations: 377.9 MB / 0.624 GB, free: 8.344 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.136e-06/3.136e-06, allocations: 3.984 kB / 0.7601 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/2.018e-05, allocations: 2.812 kB / 0.7601 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002138/0.002158, allocations: 1.503 MB / 0.7616 GB, free: 5 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002895/0.005053, allocations: 2.811 MB / 0.7643 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.488e-05/0.005088, allocations: 0 / 0.7643 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.009e-05/0.005108, allocations: 7.922 kB / 0.7643 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.244e-05/0.005161, allocations: 19.8 kB / 0.7644 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002498/0.007659, allocations: 1.668 MB / 0.766 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.682e-05/0.007726, allocations: 51.67 kB / 0.766 GB, free: 500 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.015e-05/0.007756, allocations: 11.97 kB / 0.7661 GB, free: 488 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.09e-05/0.007787, allocations: 15.98 kB / 0.7661 GB, free: 472 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 1.817e-05/0.007805, allocations: 17.2 kB / 0.7661 GB, free: 456 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.007814, allocations: 4 kB / 0.7661 GB, free: 452 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/0.009297, allocations: 1.494 MB / 0.7675 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.117e-05/0.009308, allocations: 4.562 kB / 0.7676 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.829e-05/0.009326, allocations: 8 kB / 0.7676 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.01052, allocations: 1.29 MB / 0.7688 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.01052, allocations: 4 kB / 0.7688 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.61e-07/0.01052, allocations: 0.9688 kB / 0.7688 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.615e-06/0.01052, allocations: 0 / 0.7688 GB, free: 13.64 MB / 0.7292 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.0004059/0.01093, allocations: 449.2 kB / 0.7693 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.447e-05/0.01095, allocations: 8.031 kB / 0.7693 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.01099, allocations: 88.2 kB / 0.7693 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.01e-05/0.01107, allocations: 185 kB / 0.7695 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/0.0111, allocations: 154.9 kB / 0.7697 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/0.01114, allocations: 158.9 kB / 0.7698 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.789e-05/0.01118, allocations: 101.5 kB / 0.7699 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.01119, allocations: 78.59 kB / 0.77 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.484e-05/0.01123, allocations: 158.7 kB / 0.7701 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.209e-05/0.01126, allocations: 154.5 kB / 0.7703 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.492e-05/0.0113, allocations: 150.6 kB / 0.7704 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000137/0.01143, allocations: 357.2 kB / 0.7708 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.68e-05/0.01149, allocations: 173.1 kB / 0.7709 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.929e-05/0.01151, allocations: 80.14 kB / 0.771 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.01153, allocations: 79.22 kB / 0.7711 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.01156, allocations: 111.3 kB / 0.7712 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 5.11e-07/0.01156, allocations: 0 / 0.7712 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 3.915e-05/0.0116, allocations: 29.7 kB / 0.7712 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.01164, allocations: 126.7 kB / 0.7713 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.656e-05/0.01171, allocations: 141.1 kB / 0.7715 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.705e-06/0.01172, allocations: 25.7 kB / 0.7715 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.634e-05/0.01175, allocations: 92.12 kB / 0.7716 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.172e-06/0.01175, allocations: 0.5938 kB / 0.7716 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-05/0.01177, allocations: 22.3 kB / 0.7716 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.093e-05/0.01184, allocations: 322.8 kB / 0.7719 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.548e-06/0.01185, allocations: 0.5938 kB / 0.7719 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.366e-06/0.01186, allocations: 12.44 kB / 0.7719 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.38e-05/0.01188, allocations: 8.859 kB / 0.7719 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.01189, allocations: 0.7188 kB / 0.7719 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.657e-05/0.01194, allocations: 38.88 kB / 0.772 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/0.01195, allocations: 8 kB / 0.772 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.01196, allocations: 0 / 0.772 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.01197, allocations: 0.6562 kB / 0.772 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.078e-06/0.01198, allocations: 3.938 kB / 0.772 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.01198, allocations: 1.281 kB / 0.772 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.216e-05/0.01199, allocations: 3.938 kB / 0.772 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.012, allocations: 4 kB / 0.772 GB, free: 10.23 MB / 0.7292 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 5.593e-05/0.01205, allocations: 183.6 kB / 0.7722 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.01209, allocations: 112.9 kB / 0.7723 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.346e-05/0.01212, allocations: 108.8 kB / 0.7724 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.579e-05/0.01216, allocations: 184.2 kB / 0.7726 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-05/0.01219, allocations: 176.3 kB / 0.7727 GB, free: 9.438 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.532e-05/0.01223, allocations: 180.2 kB / 0.7729 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.01234, allocations: 335.7 kB / 0.7732 GB, free: 8.902 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-05/0.01236, allocations: 101 kB / 0.7733 GB, free: 8.797 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.361e-05/0.01239, allocations: 113.1 kB / 0.7734 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.814e-05/0.01243, allocations: 184.3 kB / 0.7736 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.874e-05/0.01246, allocations: 184.2 kB / 0.7738 GB, free: 8.305 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-05/0.0125, allocations: 180.3 kB / 0.774 GB, free: 8.121 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.639e-05/0.01254, allocations: 176.3 kB / 0.7741 GB, free: 7.941 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.963e-05/0.01262, allocations: 313 kB / 0.7744 GB, free: 7.613 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.929e-05/0.01265, allocations: 112.9 kB / 0.7745 GB, free: 7.496 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.01269, allocations: 184.3 kB / 0.7747 GB, free: 7.309 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.343e-05/0.01273, allocations: 107.7 kB / 0.7748 GB, free: 7.199 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.01277, allocations: 184.2 kB / 0.775 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.01279, allocations: 105 kB / 0.7751 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.108e-05/0.01282, allocations: 22.56 kB / 0.7751 GB, free: 6.879 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.01282, allocations: 0 / 0.7751 GB, free: 6.879 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004505/0.01327, allocations: 295 kB / 0.7754 GB, free: 6.59 MB / 0.7292 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.0006615/0.01393, allocations: 0.579 MB / 0.776 GB, free: 6.008 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.099e-05/0.01399, allocations: 50.42 kB / 0.776 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01399, allocations: 0.625 kB / 0.776 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.01399, allocations: 1.969 kB / 0.776 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.01418, allocations: 467.7 kB / 0.7764 GB, free: 5.488 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000188/0.01437, allocations: 233.2 kB / 0.7767 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.473e-05/0.0144, allocations: 55.36 kB / 0.7767 GB, free: 5.16 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.554e-06/0.0144, allocations: 0 / 0.7767 GB, free: 5.16 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.01444, allocations: 60.48 kB / 0.7768 GB, free: 5.102 MB / 0.7292 GB Notification: Performance of SimCode: time 2.71e-07/0.01444, allocations: 0 / 0.7768 GB, free: 5.102 MB / 0.7292 GB Notification: Performance of Templates: time 0.007634/0.02208, allocations: 7.323 MB / 0.7839 GB, free: 13.93 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.837535023223609]