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.InternalResistancesOneUTube.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.001189/0.001189, allocations: 76.55 kB / 19.93 MB, free: 4.629 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.001307/0.001307, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9191/0.9191, allocations: 177.1 MB / 203.5 MB, free: 5.738 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 1.831/1.831, allocations: 389.1 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.1 (/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.InternalResistancesOneUTube,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.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,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.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 1.001 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.526e-05, allocations: 6.219 kB / 1.001 GB, free: 12.9 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001778/0.001803, allocations: 1.425 MB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0031/0.004903, allocations: 2.65 MB / 1.005 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.724e-05/0.00494, allocations: 0 / 1.005 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.946e-05/0.00496, allocations: 7.938 kB / 1.005 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.658e-05/0.005016, allocations: 15.8 kB / 1.005 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.00235/0.007367, allocations: 1.619 MB / 1.007 GB, free: 7.172 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.723e-05/0.007444, allocations: 39.73 kB / 1.007 GB, free: 7.133 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.751e-05/0.007481, allocations: 4 kB / 1.007 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.997e-05/0.007521, allocations: 19.92 kB / 1.007 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.061e-05/0.007542, allocations: 15.92 kB / 1.007 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.007556, allocations: 4 kB / 1.007 GB, free: 7.09 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.008949, allocations: 1.454 MB / 1.008 GB, free: 5.633 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.008961, allocations: 8 kB / 1.008 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.785e-05/0.008989, allocations: 23.86 kB / 1.008 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.01012, allocations: 1.232 MB / 1.009 GB, free: 4.367 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.01012, allocations: 0 / 1.009 GB, free: 4.367 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.352e-06/0.01012, allocations: 0 / 1.009 GB, free: 4.367 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.01013, allocations: 0 / 1.009 GB, free: 4.367 MB / 0.9636 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.0004366/0.01056, allocations: 472 kB / 1.01 GB, free: 3.875 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.0106, allocations: 8.031 kB / 1.01 GB, free: 3.867 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.588e-05/0.01064, allocations: 88.11 kB / 1.01 GB, free: 3.781 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.01075, allocations: 193 kB / 1.01 GB, free: 3.566 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.239e-05/0.01079, allocations: 158.9 kB / 1.01 GB, free: 3.41 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.179e-05/0.01083, allocations: 154.9 kB / 1.01 GB, free: 3.258 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.102e-05/0.01088, allocations: 101.5 kB / 1.01 GB, free: 3.152 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.01091, allocations: 79.45 kB / 1.011 GB, free: 3.074 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.415e-05/0.01095, allocations: 154.7 kB / 1.011 GB, free: 2.922 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.754e-05/0.01099, allocations: 150.6 kB / 1.011 GB, free: 2.773 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.015e-05/0.01103, allocations: 158.5 kB / 1.011 GB, free: 2.617 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.0114, allocations: 409.6 kB / 1.011 GB, free: 2.188 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.23e-05/0.01148, allocations: 165.2 kB / 1.012 GB, free: 2.016 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.891e-05/0.01151, allocations: 88.14 kB / 1.012 GB, free: 1.926 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.01153, allocations: 75.28 kB / 1.012 GB, free: 1.852 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.01156, allocations: 113.8 kB / 1.012 GB, free: 1.73 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.01156, allocations: 0 / 1.012 GB, free: 1.73 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 5.593e-05/0.01162, allocations: 45.56 kB / 1.012 GB, free: 1.68 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.01167, allocations: 130.6 kB / 1.012 GB, free: 1.539 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.01177, allocations: 131.3 kB / 1.012 GB, free: 1.402 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.238e-06/0.01178, allocations: 25.7 kB / 1.012 GB, free: 1.371 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.334e-05/0.01183, allocations: 92.14 kB / 1.012 GB, free: 1.277 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-06/0.01183, allocations: 0 / 1.012 GB, free: 1.277 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.01185, allocations: 13.72 kB / 1.012 GB, free: 1.258 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.742e-05/0.01193, allocations: 322.8 kB / 1.012 GB, free: 0.9336 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.057e-05/0.01195, allocations: 4 kB / 1.012 GB, free: 0.9297 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.428e-05/0.01197, allocations: 8 kB / 1.013 GB, free: 0.9219 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.838e-05/0.01199, allocations: 12.86 kB / 1.013 GB, free: 0.9062 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.012, allocations: 7.938 kB / 1.013 GB, free: 0.8984 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.279e-05/0.01209, allocations: 49.64 kB / 1.013 GB, free: 0.8438 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.0121, allocations: 4 kB / 1.013 GB, free: 0.8398 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.01212, allocations: 4 kB / 1.013 GB, free: 0.8359 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.01213, allocations: 3.938 kB / 1.013 GB, free: 0.832 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-07/0.01213, allocations: 3.938 kB / 1.013 GB, free: 0.8281 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.01213, allocations: 0 / 1.013 GB, free: 0.8281 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.144e-05/0.01214, allocations: 4 kB / 1.013 GB, free: 0.8242 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.01215, allocations: 4.062 kB / 1.013 GB, free: 0.8203 MB / 0.9636 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.277e-05/0.01222, allocations: 189.1 kB / 1.013 GB, free: 0.625 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.372e-05/0.01227, allocations: 108.9 kB / 1.013 GB, free: 0.5117 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.518e-05/0.0123, allocations: 112.8 kB / 1.013 GB, free: 404 kB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.247e-05/0.01234, allocations: 180.2 kB / 1.013 GB, free: 216 kB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.635e-05/0.01239, allocations: 188.2 kB / 1.013 GB, free: 20 kB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-05/0.01244, allocations: 176.3 kB / 1.014 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.01258, allocations: 368.8 kB / 1.014 GB, free: 15.44 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-05/0.0126, allocations: 101 kB / 1.014 GB, free: 15.34 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.285e-05/0.01263, allocations: 101 kB / 1.014 GB, free: 15.23 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.454e-05/0.01267, allocations: 192.2 kB / 1.014 GB, free: 15.04 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.339e-05/0.01271, allocations: 176.3 kB / 1.014 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.001e-05/0.01275, allocations: 180.2 kB / 1.015 GB, free: 14.67 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.866e-05/0.0128, allocations: 184.2 kB / 1.015 GB, free: 14.48 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.064e-05/0.01289, allocations: 311.8 kB / 1.015 GB, free: 14.16 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 3.145e-05/0.01292, allocations: 108.9 kB / 1.015 GB, free: 14.04 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.618e-05/0.01297, allocations: 180.2 kB / 1.015 GB, free: 13.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.729e-05/0.01303, allocations: 105.3 kB / 1.015 GB, free: 13.75 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.01308, allocations: 184.2 kB / 1.016 GB, free: 13.56 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.0131, allocations: 112.8 kB / 1.016 GB, free: 13.45 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 4.374e-05/0.01315, allocations: 101.5 kB / 1.016 GB, free: 13.35 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.01315, allocations: 4 kB / 1.016 GB, free: 13.34 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004234/0.01357, allocations: 287 kB / 1.016 GB, free: 13.06 MB / 0.9792 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.000761/0.01433, allocations: 0.5637 MB / 1.017 GB, free: 12.49 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 9.071e-05/0.01442, allocations: 45.62 kB / 1.017 GB, free: 12.44 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01442, allocations: 0 / 1.017 GB, free: 12.44 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 2.675e-06/0.01443, allocations: 3.938 kB / 1.017 GB, free: 12.43 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.01472, allocations: 471.8 kB / 1.017 GB, free: 11.97 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002809/0.015, allocations: 237.8 kB / 1.017 GB, free: 11.7 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.704e-05/0.01505, allocations: 67.33 kB / 1.017 GB, free: 11.62 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.479e-05/0.01506, allocations: 12.5 kB / 1.017 GB, free: 11.61 MB / 0.9792 GB Notification: Performance of SimCode: time 7.72e-07/0.01506, allocations: 0 / 1.017 GB, free: 11.61 MB / 0.9792 GB Notification: Performance of Templates: time 0.005851/0.02091, allocations: 4.878 MB / 1.022 GB, free: 6.73 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.150713074952364]