Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009487/0.0009487, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001019/0.001019, allocations: 181 kB / 23.36 MB, free: 1.133 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.9002/0.9002, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.26/2.26, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.8387 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.073e-05, allocations: 6.25 kB / 0.8387 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002495/0.002516, allocations: 1.489 MB / 0.8401 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.004502/0.007018, allocations: 2.835 MB / 0.8429 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.718e-05/0.007055, allocations: 4 kB / 0.8429 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.42e-05/0.007079, allocations: 3.938 kB / 0.8429 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.903e-05/0.007148, allocations: 15.84 kB / 0.8429 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.002499/0.009647, allocations: 1.662 MB / 0.8446 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.359e-05/0.009711, allocations: 43.66 kB / 0.8446 GB, free: 8.051 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.133e-05/0.009742, allocations: 8 kB / 0.8446 GB, free: 8.043 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.198e-05/0.009774, allocations: 23.98 kB / 0.8446 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.016e-05/0.009794, allocations: 15.92 kB / 0.8446 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 8.696e-06/0.009803, allocations: 0 / 0.8446 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001424/0.01123, allocations: 1.497 MB / 0.8461 GB, free: 6.504 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.01124, allocations: 3.938 kB / 0.8461 GB, free: 6.5 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.055e-05/0.01126, allocations: 12 kB / 0.8461 GB, free: 6.488 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.01244, allocations: 1.286 MB / 0.8474 GB, free: 5.199 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.01245, allocations: 3.938 kB / 0.8474 GB, free: 5.195 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.62e-07/0.01245, allocations: 0 / 0.8474 GB, free: 5.195 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.045e-06/0.01245, allocations: 4 kB / 0.8474 GB, free: 5.191 MB / 0.8073 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.0004169/0.01287, allocations: 446.3 kB / 0.8478 GB, free: 4.73 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.639e-05/0.01289, allocations: 16.56 kB / 0.8478 GB, free: 4.715 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.01293, allocations: 80.22 kB / 0.8479 GB, free: 4.637 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.563e-05/0.01301, allocations: 193 kB / 0.8481 GB, free: 4.422 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.01305, allocations: 150.9 kB / 0.8482 GB, free: 4.273 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.01308, allocations: 150.9 kB / 0.8484 GB, free: 4.125 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.177e-05/0.01312, allocations: 109.5 kB / 0.8485 GB, free: 4.012 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.01314, allocations: 75.47 kB / 0.8485 GB, free: 3.938 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.083e-05/0.01317, allocations: 154.7 kB / 0.8487 GB, free: 3.785 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.525e-05/0.01321, allocations: 162.5 kB / 0.8489 GB, free: 3.625 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.932e-05/0.01324, allocations: 154.6 kB / 0.849 GB, free: 3.473 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001364/0.01337, allocations: 357.2 kB / 0.8493 GB, free: 3.109 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.868e-05/0.01343, allocations: 173.1 kB / 0.8495 GB, free: 2.93 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.167e-05/0.01345, allocations: 84.14 kB / 0.8496 GB, free: 2.844 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.01347, allocations: 75.28 kB / 0.8497 GB, free: 2.77 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.0135, allocations: 109.8 kB / 0.8498 GB, free: 2.652 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 6.41e-07/0.0135, allocations: 0 / 0.8498 GB, free: 2.652 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.238e-05/0.01354, allocations: 29.7 kB / 0.8498 GB, free: 2.617 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.01359, allocations: 130.6 kB / 0.8499 GB, free: 2.477 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.992e-05/0.01367, allocations: 144.4 kB / 0.8501 GB, free: 2.324 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.153e-06/0.01367, allocations: 29.7 kB / 0.8501 GB, free: 2.289 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.143e-05/0.01371, allocations: 92.12 kB / 0.8502 GB, free: 2.195 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.423e-06/0.01371, allocations: 0 / 0.8502 GB, free: 2.195 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.013e-05/0.01373, allocations: 13.72 kB / 0.8502 GB, free: 2.176 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.728e-05/0.01379, allocations: 318.8 kB / 0.8505 GB, free: 1.855 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.14e-05/0.01381, allocations: 4 kB / 0.8505 GB, free: 1.852 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.352e-06/0.01381, allocations: 0 / 0.8505 GB, free: 1.852 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.403e-05/0.01384, allocations: 12.92 kB / 0.8505 GB, free: 1.836 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.01384, allocations: 0 / 0.8505 GB, free: 1.836 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.985e-05/0.0139, allocations: 41.69 kB / 0.8505 GB, free: 1.789 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/0.01391, allocations: 8 kB / 0.8505 GB, free: 1.781 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.01392, allocations: 4 kB / 0.8506 GB, free: 1.777 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.01393, allocations: 0 / 0.8506 GB, free: 1.777 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.677e-06/0.01393, allocations: 4 kB / 0.8506 GB, free: 1.773 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.993e-06/0.01394, allocations: 0 / 0.8506 GB, free: 1.773 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.35e-05/0.01395, allocations: 7.891 kB / 0.8506 GB, free: 1.766 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.01395, allocations: 0 / 0.8506 GB, free: 1.766 MB / 0.8073 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 6.006e-05/0.01401, allocations: 193 kB / 0.8507 GB, free: 1.566 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.01405, allocations: 105 kB / 0.8508 GB, free: 1.457 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.38e-05/0.01408, allocations: 116.7 kB / 0.851 GB, free: 1.336 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.422e-05/0.01411, allocations: 176.3 kB / 0.8511 GB, free: 1.156 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.621e-05/0.01415, allocations: 188.2 kB / 0.8513 GB, free: 0.9648 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.671e-05/0.01419, allocations: 184.1 kB / 0.8515 GB, free: 0.7773 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.0143, allocations: 325.4 kB / 0.8518 GB, free: 444 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-05/0.01432, allocations: 104.9 kB / 0.8519 GB, free: 332 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.144e-05/0.01434, allocations: 105 kB / 0.852 GB, free: 220 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-05/0.01438, allocations: 180.3 kB / 0.8522 GB, free: 32 kB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-05/0.01442, allocations: 180.2 kB / 0.8523 GB, free: 15.85 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.231e-05/0.01446, allocations: 176.3 kB / 0.8525 GB, free: 15.67 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.665e-05/0.01449, allocations: 188.2 kB / 0.8527 GB, free: 15.48 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.836e-05/0.01457, allocations: 307.7 kB / 0.853 GB, free: 15.15 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.987e-05/0.0146, allocations: 120.9 kB / 0.8531 GB, free: 15.03 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.04e-05/0.01464, allocations: 176.3 kB / 0.8533 GB, free: 14.85 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.453e-05/0.01469, allocations: 108.9 kB / 0.8534 GB, free: 14.73 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.01473, allocations: 176.3 kB / 0.8535 GB, free: 14.55 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.01475, allocations: 109.2 kB / 0.8536 GB, free: 14.44 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.05e-05/0.01477, allocations: 27.64 kB / 0.8537 GB, free: 14.41 MB / 0.823 GB Notification: Performance of sort global known variables: time 4e-08/0.01477, allocations: 0 / 0.8537 GB, free: 14.41 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004319/0.0152, allocations: 299 kB / 0.8539 GB, free: 14.12 MB / 0.823 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.0006643/0.01587, allocations: 0.5822 MB / 0.8545 GB, free: 13.53 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 5.975e-05/0.01593, allocations: 42.48 kB / 0.8546 GB, free: 13.48 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.01593, allocations: 4 kB / 0.8546 GB, free: 13.48 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.01593, allocations: 0 / 0.8546 GB, free: 13.48 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.01612, allocations: 459.7 kB / 0.855 GB, free: 13.02 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000193/0.01631, allocations: 235.7 kB / 0.8552 GB, free: 12.77 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.849e-05/0.01634, allocations: 59.34 kB / 0.8553 GB, free: 12.69 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 8.776e-06/0.01635, allocations: 0 / 0.8553 GB, free: 12.69 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.775e-05/0.01639, allocations: 55.38 kB / 0.8553 GB, free: 12.63 MB / 0.823 GB Notification: Performance of SimCode: time 3.4e-07/0.01639, allocations: 4 kB / 0.8553 GB, free: 12.63 MB / 0.823 GB Notification: Performance of Templates: time 0.007585/0.02397, allocations: 7.333 MB / 0.8625 GB, free: 5.355 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.237492742948234]