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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008452/0.0008452, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0055/0.0055, allocations: 169.8 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.849/2.849, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003104, allocations: 12.44 kB / 0.9159 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2845, allocations: 162.2 MB / 1.074 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001397/0.2859, allocations: 1.16 MB / 1.075 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00397/0.2899, allocations: 2.903 MB / 1.078 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.699e-05/0.2899, allocations: 0 / 1.078 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.698e-05/0.29, allocations: 3.984 kB / 1.078 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.921e-05/0.29, allocations: 19.86 kB / 1.078 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003051/0.2931, allocations: 1.358 MB / 1.08 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.398e-05/0.2932, allocations: 43.73 kB / 1.08 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.651e-05/0.2932, allocations: 3.984 kB / 1.08 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.473e-05/0.2932, allocations: 11.94 kB / 1.08 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.889e-05/0.2933, allocations: 23.86 kB / 1.08 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.2933, allocations: 0 / 1.08 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001852/0.2951, allocations: 1.435 MB / 1.081 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.779e-06/0.2952, allocations: 0 / 1.081 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.726e-05/0.2952, allocations: 41.58 kB / 1.081 GB, free: 460 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.2965, allocations: 1.096 MB / 1.082 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2965, allocations: 0 / 1.082 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2965, allocations: 0 / 1.082 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.2965, allocations: 0 / 1.082 GB, free: 15.35 MB / 0.8419 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.0005364/0.2971, allocations: 0.5043 MB / 1.083 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.2971, allocations: 15.97 kB / 1.083 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.045e-05/0.2972, allocations: 84.12 kB / 1.083 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.2973, allocations: 255.5 kB / 1.083 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.239e-05/0.2974, allocations: 158.9 kB / 1.083 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.326e-05/0.2974, allocations: 150.9 kB / 1.083 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.749e-05/0.2975, allocations: 105.1 kB / 1.083 GB, free: 14 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.2975, allocations: 75.28 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.617e-05/0.2976, allocations: 154.6 kB / 1.084 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.313e-05/0.2976, allocations: 150.6 kB / 1.084 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.382e-05/0.2977, allocations: 154.5 kB / 1.084 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002589/0.298, allocations: 461.9 kB / 1.084 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.447e-05/0.298, allocations: 173.1 kB / 1.084 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.876e-05/0.2981, allocations: 88.08 kB / 1.085 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.2981, allocations: 75.28 kB / 1.085 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.2981, allocations: 113.8 kB / 1.085 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 2.424e-06/0.2982, allocations: 0 / 1.085 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 6.991e-05/0.2982, allocations: 37.55 kB / 1.085 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.2983, allocations: 130.7 kB / 1.085 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.2984, allocations: 131.1 kB / 1.085 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.2984, allocations: 29.64 kB / 1.085 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.22e-05/0.2985, allocations: 92.12 kB / 1.085 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.552e-06/0.2985, allocations: 0 / 1.085 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/0.2985, allocations: 9.719 kB / 1.085 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.2986, allocations: 322.8 kB / 1.085 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.921e-05/0.2986, allocations: 0 / 1.085 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.615e-05/0.2987, allocations: 12 kB / 1.085 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.463e-05/0.2987, allocations: 12.8 kB / 1.085 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2987, allocations: 4 kB / 1.085 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001192/0.2988, allocations: 57.56 kB / 1.086 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.2989, allocations: 4 kB / 1.086 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.2989, allocations: 4 kB / 1.086 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.2989, allocations: 0 / 1.086 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.2989, allocations: 0 / 1.086 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.2989, allocations: 0 / 1.086 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.2989, allocations: 64 / 1.086 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.2989, allocations: 8 kB / 1.086 GB, free: 11.61 MB / 0.8419 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 8.353e-05/0.299, allocations: 186.7 kB / 1.086 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.601e-05/0.2991, allocations: 116.8 kB / 1.086 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.008e-05/0.2991, allocations: 116.6 kB / 1.086 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.112e-05/0.2992, allocations: 180.3 kB / 1.086 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.352e-05/0.2993, allocations: 184.2 kB / 1.086 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.364e-05/0.2993, allocations: 176.4 kB / 1.086 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.2995, allocations: 425.2 kB / 1.087 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.062e-05/0.2996, allocations: 104.9 kB / 1.087 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.219e-05/0.2996, allocations: 101 kB / 1.087 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.241e-05/0.2997, allocations: 184.2 kB / 1.087 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.887e-05/0.2997, allocations: 180.3 kB / 1.087 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.368e-05/0.2998, allocations: 184.2 kB / 1.088 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.922e-05/0.2998, allocations: 184.2 kB / 1.088 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.3, allocations: 307.7 kB / 1.088 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.624e-05/0.3, allocations: 190 kB / 1.088 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.446e-05/0.3001, allocations: 184.2 kB / 1.088 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.067e-05/0.3002, allocations: 109 kB / 1.089 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.218e-05/0.3002, allocations: 180.2 kB / 1.089 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.3003, allocations: 101 kB / 1.089 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.54e-05/0.3003, allocations: 101.3 kB / 1.089 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3003, allocations: 0 / 1.089 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006447/0.301, allocations: 287.8 kB / 1.089 GB, free: 7.684 MB / 0.8419 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.0009472/0.3019, allocations: 0.5131 MB / 1.09 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.661e-05/0.302, allocations: 41.62 kB / 1.09 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3021, allocations: 4 kB / 1.09 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.056e-06/0.3021, allocations: 3.938 kB / 1.09 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.3025, allocations: 0.5302 MB / 1.09 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002637/0.3027, allocations: 255.6 kB / 1.09 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.303, allocations: 0.6809 MB / 1.091 GB, free: 5.59 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.284e-05/0.303, allocations: 0 / 1.091 GB, free: 5.59 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.307e-05/0.303, allocations: 11.44 kB / 1.091 GB, free: 5.578 MB / 0.8419 GB Notification: Performance of SimCode: time 2.81e-07/0.303, allocations: 3.938 kB / 1.091 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of Templates: time 0.008822/0.3118, allocations: 5.471 MB / 1.096 GB, free: 152 kB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) 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) Reference file matches