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.0009053/0.0009053, allocations: 80.75 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.0009357/0.0009357, 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.9182/0.9182, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.303/2.303, allocations: 438.8 MB / 0.6827 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] 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.102e-06/1.102e-06, allocations: 0 / 0.8387 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.324e-05/1.434e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001723/0.001737, allocations: 1.54 MB / 0.8402 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003155/0.004892, allocations: 2.827 MB / 0.843 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.671e-05/0.004929, allocations: 0 / 0.843 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.024e-05/0.004949, allocations: 7.922 kB / 0.843 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.329e-05/0.005012, allocations: 19.8 kB / 0.843 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.002392/0.007405, allocations: 1.564 MB / 0.8446 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.11e-05/0.007476, allocations: 51.59 kB / 0.8446 GB, free: 7.98 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.118e-05/0.007507, allocations: 4 kB / 0.8446 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.908e-05/0.007546, allocations: 23.98 kB / 0.8446 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 1.986e-05/0.007566, allocations: 15.92 kB / 0.8446 GB, free: 7.938 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 8.596e-06/0.007574, allocations: 0 / 0.8446 GB, free: 7.938 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001727/0.009301, allocations: 1.587 MB / 0.8462 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.009316, allocations: 3.984 kB / 0.8462 GB, free: 6.344 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.009346, allocations: 15.94 kB / 0.8462 GB, free: 6.328 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.01059, allocations: 1.29 MB / 0.8475 GB, free: 5.035 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.01059, allocations: 0 / 0.8475 GB, free: 5.035 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.81e-07/0.01059, allocations: 0 / 0.8475 GB, free: 5.035 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.0106, allocations: 4 kB / 0.8475 GB, free: 5.031 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.0003742/0.01097, allocations: 446.2 kB / 0.8479 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.646e-05/0.011, allocations: 12.62 kB / 0.8479 GB, free: 4.559 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.415e-05/0.01103, allocations: 76.22 kB / 0.848 GB, free: 4.484 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.01134, allocations: 206.7 kB / 0.8482 GB, free: 4.258 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.241e-05/0.01137, allocations: 150.9 kB / 0.8483 GB, free: 4.109 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.0114, allocations: 150.9 kB / 0.8485 GB, free: 3.961 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.847e-05/0.01144, allocations: 105.5 kB / 0.8486 GB, free: 3.852 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.01146, allocations: 75.47 kB / 0.8486 GB, free: 3.777 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.01149, allocations: 158.6 kB / 0.8488 GB, free: 3.621 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.207e-05/0.01152, allocations: 154.5 kB / 0.8489 GB, free: 3.469 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.925e-05/0.01155, allocations: 158.6 kB / 0.8491 GB, free: 3.312 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/0.01168, allocations: 353.3 kB / 0.8494 GB, free: 2.953 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.541e-05/0.01174, allocations: 173.1 kB / 0.8496 GB, free: 2.773 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.993e-05/0.01176, allocations: 84.14 kB / 0.8497 GB, free: 2.688 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.01177, allocations: 79.22 kB / 0.8497 GB, free: 2.609 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.0118, allocations: 113.8 kB / 0.8499 GB, free: 2.488 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.01181, allocations: 0 / 0.8499 GB, free: 2.488 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.11e-05/0.01186, allocations: 25.7 kB / 0.8499 GB, free: 2.457 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.01189, allocations: 130.7 kB / 0.85 GB, free: 2.316 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.507e-05/0.01196, allocations: 137.4 kB / 0.8501 GB, free: 2.172 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.043e-06/0.01197, allocations: 29.7 kB / 0.8502 GB, free: 2.137 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.619e-05/0.012, allocations: 92.11 kB / 0.8503 GB, free: 2.043 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.022e-06/0.012, allocations: 0 / 0.8503 GB, free: 2.043 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.242e-05/0.01202, allocations: 21.7 kB / 0.8503 GB, free: 2.016 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.264e-05/0.01208, allocations: 314.8 kB / 0.8506 GB, free: 1.699 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.035e-05/0.01209, allocations: 4 kB / 0.8506 GB, free: 1.695 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.534e-06/0.0121, allocations: 3.938 kB / 0.8506 GB, free: 1.691 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.527e-05/0.01213, allocations: 12.84 kB / 0.8506 GB, free: 1.676 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.01213, allocations: 0 / 0.8506 GB, free: 1.676 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.767e-05/0.01219, allocations: 41.77 kB / 0.8506 GB, free: 1.629 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.0122, allocations: 7.984 kB / 0.8506 GB, free: 1.621 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.01221, allocations: 4.062 kB / 0.8506 GB, free: 1.617 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.01222, allocations: 0 / 0.8506 GB, free: 1.617 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.994e-06/0.01222, allocations: 4 kB / 0.8506 GB, free: 1.613 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-06/0.01222, allocations: 0 / 0.8506 GB, free: 1.613 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.35e-05/0.01224, allocations: 7.891 kB / 0.8507 GB, free: 1.605 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.01224, allocations: 0 / 0.8507 GB, free: 1.605 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 5.544e-05/0.0123, allocations: 185.1 kB / 0.8508 GB, free: 1.414 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.01233, allocations: 105 kB / 0.8509 GB, free: 1.305 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.413e-05/0.01236, allocations: 120.8 kB / 0.851 GB, free: 1.18 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.31e-05/0.0124, allocations: 180.2 kB / 0.8512 GB, free: 0.9961 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-05/0.01243, allocations: 184.2 kB / 0.8514 GB, free: 0.8086 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.384e-05/0.01246, allocations: 184.2 kB / 0.8516 GB, free: 0.6211 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.01258, allocations: 329.4 kB / 0.8519 GB, free: 280 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.986e-05/0.0126, allocations: 104.9 kB / 0.852 GB, free: 168 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.978e-05/0.01262, allocations: 104.9 kB / 0.8521 GB, free: 56 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.637e-05/0.01266, allocations: 184.2 kB / 0.8523 GB, free: 15.87 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.374e-05/0.0127, allocations: 184.2 kB / 0.8524 GB, free: 15.68 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.32e-05/0.01273, allocations: 176.3 kB / 0.8526 GB, free: 15.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-05/0.01277, allocations: 180.3 kB / 0.8528 GB, free: 15.32 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.522e-05/0.01284, allocations: 307.7 kB / 0.8531 GB, free: 14.99 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.963e-05/0.01287, allocations: 112.9 kB / 0.8532 GB, free: 14.88 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.01291, allocations: 184.3 kB / 0.8534 GB, free: 14.69 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.513e-05/0.01296, allocations: 105 kB / 0.8535 GB, free: 14.58 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.01299, allocations: 184.2 kB / 0.8536 GB, free: 14.39 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.01301, allocations: 101.3 kB / 0.8537 GB, free: 14.29 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.006e-05/0.01303, allocations: 24.83 kB / 0.8538 GB, free: 14.26 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.01303, allocations: 0 / 0.8538 GB, free: 14.26 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004165/0.01345, allocations: 299 kB / 0.854 GB, free: 13.96 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.0006859/0.01414, allocations: 0.5822 MB / 0.8546 GB, free: 13.38 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 6.076e-05/0.0142, allocations: 46.42 kB / 0.8546 GB, free: 13.32 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.0142, allocations: 4 kB / 0.8547 GB, free: 13.32 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.61e-07/0.0142, allocations: 0 / 0.8547 GB, free: 13.32 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.0144, allocations: 467.7 kB / 0.8551 GB, free: 12.86 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004122/0.01481, allocations: 227.8 kB / 0.8553 GB, free: 12.61 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.691e-05/0.01484, allocations: 55.34 kB / 0.8554 GB, free: 12.53 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 8.366e-06/0.01485, allocations: 4 kB / 0.8554 GB, free: 12.53 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.824e-05/0.01488, allocations: 55.36 kB / 0.8554 GB, free: 12.47 MB / 0.823 GB Notification: Performance of SimCode: time 3.71e-07/0.01488, allocations: 0 / 0.8554 GB, free: 12.47 MB / 0.823 GB Notification: Performance of Templates: time 0.008066/0.02295, allocations: 7.341 MB / 0.8626 GB, free: 5.191 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 -s gbode -gbm=radauIIA3 -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.0847266390919685]