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.001482/0.001482, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001075/0.001075, allocations: 162.7 kB / 24.87 MB, free: 9.285 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.9506/0.9506, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.713/1.713, allocations: 359 MB / 0.6063 GB, free: 10.9 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.303e-06/1.303e-06, allocations: 0 / 0.7884 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.832e-05/1.963e-05, allocations: 4.719 kB / 0.7884 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001941/0.001961, allocations: 1.505 MB / 0.7899 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002985/0.004946, allocations: 2.769 MB / 0.7926 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.965e-05/0.004996, allocations: 0 / 0.7926 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.054e-05/0.005016, allocations: 7.938 kB / 0.7926 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.647e-05/0.005073, allocations: 21.19 kB / 0.7926 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002743/0.007816, allocations: 1.642 MB / 0.7942 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.025e-05/0.007896, allocations: 49.48 kB / 0.7943 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.592e-05/0.007932, allocations: 7.984 kB / 0.7943 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.567e-05/0.007968, allocations: 15.97 kB / 0.7943 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.086e-05/0.007988, allocations: 11.94 kB / 0.7943 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.008, allocations: 4 kB / 0.7943 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001851/0.009851, allocations: 1.497 MB / 0.7958 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.009866, allocations: 7.938 kB / 0.7958 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.26e-05/0.009888, allocations: 8 kB / 0.7958 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001377/0.01127, allocations: 1.282 MB / 0.797 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.01127, allocations: 3.938 kB / 0.797 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.032e-06/0.01127, allocations: 0 / 0.797 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.01127, allocations: 0 / 0.797 GB, free: 3.324 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.0005199/0.01179, allocations: 0.5647 MB / 0.7976 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.01182, allocations: 11.97 kB / 0.7976 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.058e-05/0.01187, allocations: 132.6 kB / 0.7977 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.01198, allocations: 231.8 kB / 0.7979 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.491e-05/0.01203, allocations: 244.6 kB / 0.7982 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.967e-05/0.01208, allocations: 238.8 kB / 0.7984 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.496e-05/0.01214, allocations: 149.4 kB / 0.7985 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.01217, allocations: 119.4 kB / 0.7987 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.027e-05/0.01222, allocations: 246.5 kB / 0.7989 GB, free: 1.344 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.944e-05/0.01227, allocations: 240.4 kB / 0.7991 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.825e-05/0.01231, allocations: 242.3 kB / 0.7994 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/0.01252, allocations: 0.5647 MB / 0.7999 GB, free: 288 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.465e-05/0.01259, allocations: 265.4 kB / 0.8002 GB, free: 8 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.297e-05/0.01263, allocations: 134.9 kB / 0.8003 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.01266, allocations: 119.8 kB / 0.8004 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.0127, allocations: 156.6 kB / 0.8005 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.0127, allocations: 0.9062 kB / 0.8006 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of matching and sorting (n=0): time 5.432e-05/0.01275, allocations: 37.59 kB / 0.8006 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.01281, allocations: 171.4 kB / 0.8007 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.31e-05/0.0129, allocations: 192 kB / 0.8009 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 9.058e-06/0.01291, allocations: 27.05 kB / 0.801 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 4.39e-05/0.01295, allocations: 142.8 kB / 0.8011 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 1.152e-06/0.01295, allocations: 0 / 0.8011 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.01298, allocations: 23.41 kB / 0.8011 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.01308, allocations: 0.4928 MB / 0.8016 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.223e-05/0.0131, allocations: 2.719 kB / 0.8016 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.957e-06/0.01311, allocations: 4 kB / 0.8016 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.994e-05/0.01314, allocations: 23.61 kB / 0.8016 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.01314, allocations: 0 / 0.8016 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.418e-05/0.01322, allocations: 45.66 kB / 0.8017 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.01323, allocations: 7.984 kB / 0.8017 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.01325, allocations: 4 kB / 0.8017 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.614e-06/0.01326, allocations: 2.688 kB / 0.8017 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.01326, allocations: 0 / 0.8017 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.01326, allocations: 3.938 kB / 0.8017 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.405e-05/0.01327, allocations: 64 / 0.8017 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.01328, allocations: 8 kB / 0.8017 GB, free: 14.35 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.611e-05/0.01336, allocations: 275.7 kB / 0.802 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.595e-05/0.0134, allocations: 156.8 kB / 0.8021 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.203e-05/0.01345, allocations: 157.6 kB / 0.8023 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.326e-05/0.0135, allocations: 268.1 kB / 0.8025 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001869/0.01369, allocations: 269.1 kB / 0.8028 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.281e-05/0.01374, allocations: 268 kB / 0.803 GB, free: 12.94 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.01389, allocations: 496.6 kB / 0.8035 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.263e-05/0.01392, allocations: 146 kB / 0.8036 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.115e-05/0.01396, allocations: 152.9 kB / 0.8038 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-05/0.01401, allocations: 272 kB / 0.804 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.162e-05/0.01406, allocations: 265.2 kB / 0.8043 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.293e-05/0.01411, allocations: 272 kB / 0.8046 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-05/0.01416, allocations: 264.1 kB / 0.8048 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.01428, allocations: 456.4 kB / 0.8052 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.123e-05/0.01432, allocations: 152.8 kB / 0.8054 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.025e-05/0.01438, allocations: 272.5 kB / 0.8056 GB, free: 10.13 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.152e-05/0.01443, allocations: 146.2 kB / 0.8058 GB, free: 9.984 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.01449, allocations: 272 kB / 0.806 GB, free: 9.711 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/0.01452, allocations: 152.9 kB / 0.8062 GB, free: 9.555 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 4.406e-05/0.01456, allocations: 146.1 kB / 0.8063 GB, free: 9.414 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.01456, allocations: 0 / 0.8063 GB, free: 9.414 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005624/0.01513, allocations: 295 kB / 0.8066 GB, free: 9.125 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.0008317/0.01596, allocations: 0.6421 MB / 0.8072 GB, free: 8.477 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 7.879e-05/0.01604, allocations: 49.39 kB / 0.8073 GB, free: 8.418 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01604, allocations: 0 / 0.8073 GB, free: 8.418 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 3.427e-06/0.01604, allocations: 3.938 kB / 0.8073 GB, free: 8.414 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.01636, allocations: 0.7179 MB / 0.808 GB, free: 7.691 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000229/0.01659, allocations: 269.2 kB / 0.8083 GB, free: 7.398 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.123e-05/0.01662, allocations: 63.34 kB / 0.8083 GB, free: 7.316 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.269e-05/0.01663, allocations: 4 kB / 0.8083 GB, free: 7.312 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.01668, allocations: 74.2 kB / 0.8084 GB, free: 7.238 MB / 0.7605 GB Notification: Performance of SimCode: time 8.52e-07/0.01668, allocations: 0 / 0.8084 GB, free: 7.238 MB / 0.7605 GB Notification: Performance of Templates: time 0.008729/0.02541, allocations: 7.351 MB / 0.8156 GB, free: 15.94 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.992037637159228]