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.InternalResistancesOneUTubeNegative.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.001357/0.001357, 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.001654/0.001654, 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.9497/0.9497, allocations: 177.1 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.206/2.206, allocations: 438.8 MB / 0.6826 GB, free: 13.64 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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 0.8387 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/2.064e-05, allocations: 6.312 kB / 0.8387 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002622/0.002643, allocations: 1.49 MB / 0.8401 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003618/0.00626, allocations: 2.789 MB / 0.8429 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.027e-05/0.006291, allocations: 0 / 0.8429 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.176e-05/0.006312, allocations: 7.922 kB / 0.8429 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.95e-05/0.006362, allocations: 15.92 kB / 0.8429 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.002359/0.008721, allocations: 1.643 MB / 0.8445 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.458e-05/0.008785, allocations: 43.67 kB / 0.8445 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.111e-05/0.008816, allocations: 7.984 kB / 0.8445 GB, free: 8.133 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.448e-05/0.008851, allocations: 15.98 kB / 0.8445 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 1.818e-05/0.008869, allocations: 11.94 kB / 0.8446 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.839e-06/0.008879, allocations: 4 kB / 0.8446 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/0.01025, allocations: 1.462 MB / 0.846 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.899e-06/0.01026, allocations: 7.938 kB / 0.846 GB, free: 6.629 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.645e-05/0.01028, allocations: 11.94 kB / 0.846 GB, free: 6.617 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.01134, allocations: 1.258 MB / 0.8472 GB, free: 5.355 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.01134, allocations: 4 kB / 0.8472 GB, free: 5.352 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.11e-07/0.01134, allocations: 0 / 0.8472 GB, free: 5.352 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.01135, allocations: 0 / 0.8472 GB, free: 5.352 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.0003824/0.01173, allocations: 438.3 kB / 0.8477 GB, free: 4.898 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.733e-05/0.01176, allocations: 12.62 kB / 0.8477 GB, free: 4.887 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.01179, allocations: 76.22 kB / 0.8477 GB, free: 4.812 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.561e-05/0.01188, allocations: 193 kB / 0.8479 GB, free: 4.598 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/0.01191, allocations: 150.9 kB / 0.8481 GB, free: 4.449 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.01195, allocations: 162.9 kB / 0.8482 GB, free: 4.289 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.492e-05/0.01199, allocations: 105.5 kB / 0.8483 GB, free: 4.18 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.01201, allocations: 75.47 kB / 0.8484 GB, free: 4.105 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.01204, allocations: 158.6 kB / 0.8486 GB, free: 3.949 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.031e-05/0.01207, allocations: 150.6 kB / 0.8487 GB, free: 3.801 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.206e-05/0.0121, allocations: 162.5 kB / 0.8489 GB, free: 3.641 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001419/0.01224, allocations: 353.3 kB / 0.8492 GB, free: 3.281 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.803e-05/0.0123, allocations: 169.1 kB / 0.8493 GB, free: 3.105 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.921e-05/0.01232, allocations: 84.14 kB / 0.8494 GB, free: 3.02 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.01234, allocations: 79.28 kB / 0.8495 GB, free: 2.941 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.01237, allocations: 109.8 kB / 0.8496 GB, free: 2.824 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.01237, allocations: 0 / 0.8496 GB, free: 2.824 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.219e-05/0.01241, allocations: 33.69 kB / 0.8496 GB, free: 2.785 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.01246, allocations: 126.7 kB / 0.8498 GB, free: 2.648 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.051e-05/0.01254, allocations: 144.6 kB / 0.8499 GB, free: 2.496 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.083e-06/0.01254, allocations: 25.7 kB / 0.8499 GB, free: 2.465 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.456e-05/0.01257, allocations: 88.06 kB / 0.85 GB, free: 2.375 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.052e-06/0.01257, allocations: 4 kB / 0.85 GB, free: 2.371 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.048e-05/0.01259, allocations: 9.719 kB / 0.85 GB, free: 2.355 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.375e-05/0.01266, allocations: 322.8 kB / 0.8503 GB, free: 2.031 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-06/0.01267, allocations: 0 / 0.8503 GB, free: 2.031 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.183e-06/0.01268, allocations: 8 kB / 0.8503 GB, free: 2.023 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.402e-05/0.0127, allocations: 8.859 kB / 0.8503 GB, free: 2.012 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01271, allocations: 0 / 0.8503 GB, free: 2.012 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.832e-05/0.01276, allocations: 37.69 kB / 0.8504 GB, free: 1.969 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.01277, allocations: 4 kB / 0.8504 GB, free: 1.965 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.01279, allocations: 0 / 0.8504 GB, free: 1.965 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.0128, allocations: 0 / 0.8504 GB, free: 1.965 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.188e-06/0.0128, allocations: 7.938 kB / 0.8504 GB, free: 1.957 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-06/0.0128, allocations: 0 / 0.8504 GB, free: 1.957 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.291e-05/0.01281, allocations: 3.938 kB / 0.8504 GB, free: 1.953 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.01282, allocations: 3.984 kB / 0.8504 GB, free: 1.949 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 7.087e-05/0.01289, allocations: 193.2 kB / 0.8506 GB, free: 1.75 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.01292, allocations: 105 kB / 0.8507 GB, free: 1.641 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.225e-05/0.01295, allocations: 112.8 kB / 0.8508 GB, free: 1.523 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-05/0.01299, allocations: 184.2 kB / 0.851 GB, free: 1.336 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.228e-05/0.01305, allocations: 176.3 kB / 0.8511 GB, free: 1.156 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.519e-05/0.01308, allocations: 188.1 kB / 0.8513 GB, free: 0.9648 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.01319, allocations: 321.4 kB / 0.8516 GB, free: 0.625 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.102e-05/0.01322, allocations: 116.9 kB / 0.8517 GB, free: 0.5039 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.022e-05/0.01324, allocations: 105 kB / 0.8518 GB, free: 404 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001079/0.01334, allocations: 176.3 kB / 0.852 GB, free: 220 kB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.561e-05/0.01338, allocations: 192.2 kB / 0.8522 GB, free: 20 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.386e-05/0.01342, allocations: 180.2 kB / 0.8524 GB, free: 15.84 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.382e-05/0.01346, allocations: 180.2 kB / 0.8525 GB, free: 15.65 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.655e-05/0.01353, allocations: 307.8 kB / 0.8528 GB, free: 15.33 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.858e-05/0.01356, allocations: 116.9 kB / 0.8529 GB, free: 15.21 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.0136, allocations: 176.3 kB / 0.8531 GB, free: 15.03 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.39e-05/0.01364, allocations: 104.9 kB / 0.8532 GB, free: 14.92 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.01368, allocations: 180.3 kB / 0.8534 GB, free: 14.73 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.0137, allocations: 101 kB / 0.8535 GB, free: 14.63 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.129e-05/0.01372, allocations: 27.33 kB / 0.8535 GB, free: 14.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.01372, allocations: 4 kB / 0.8535 GB, free: 14.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0005421/0.01426, allocations: 302.9 kB / 0.8538 GB, free: 14.3 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.0006563/0.01492, allocations: 0.5618 MB / 0.8543 GB, free: 13.73 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 6.037e-05/0.01498, allocations: 38.5 kB / 0.8544 GB, free: 13.69 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01498, allocations: 0 / 0.8544 GB, free: 13.69 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.91e-07/0.01498, allocations: 0 / 0.8544 GB, free: 13.69 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.01517, allocations: 467.7 kB / 0.8548 GB, free: 13.23 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001959/0.01537, allocations: 227.7 kB / 0.855 GB, free: 12.98 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.444e-05/0.01539, allocations: 55.34 kB / 0.8551 GB, free: 12.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 9.157e-06/0.0154, allocations: 4 kB / 0.8551 GB, free: 12.9 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/0.01544, allocations: 59.36 kB / 0.8552 GB, free: 12.84 MB / 0.823 GB Notification: Performance of SimCode: time 3.71e-07/0.01544, allocations: 0 / 0.8552 GB, free: 12.84 MB / 0.823 GB Notification: Performance of Templates: time 0.008568/0.02401, allocations: 7.142 MB / 0.8621 GB, free: 5.754 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.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.161078329663724]