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.001232/0.001232, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001151/0.001151, allocations: 195.8 kB / 16.14 MB, free: 6.645 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.547/1.547, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.78/2.78, allocations: 472.7 MB / 0.7447 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 69.25 kB / 0.9115 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3168, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002628/0.3195, allocations: 1.489 MB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004426/0.324, allocations: 2.966 MB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.779e-05/0.324, allocations: 0 / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/0.3241, allocations: 3.938 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.381e-05/0.3242, allocations: 19.84 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003449/0.3276, allocations: 1.378 MB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.088e-05/0.3277, allocations: 35.75 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.425e-05/0.3277, allocations: 7.984 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.386e-05/0.3278, allocations: 11.92 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.594e-05/0.3278, allocations: 19.88 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.3278, allocations: 4 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002057/0.3299, allocations: 1.427 MB / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.3299, allocations: 8 kB / 1.075 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.33, allocations: 19.86 kB / 1.075 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001338/0.3313, allocations: 1.1 MB / 1.076 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3313, allocations: 0 / 1.076 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.32e-07/0.3313, allocations: 0 / 1.076 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.3313, allocations: 0 / 1.076 GB, free: 2.277 MB / 0.8262 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.0005645/0.3319, allocations: 0.5146 MB / 1.076 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3319, allocations: 8.031 kB / 1.076 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.947e-05/0.332, allocations: 84.22 kB / 1.077 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.3322, allocations: 257.2 kB / 1.077 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.837e-05/0.3322, allocations: 150.9 kB / 1.077 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.055e-05/0.3323, allocations: 150.9 kB / 1.077 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.62e-05/0.3324, allocations: 109 kB / 1.077 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.3324, allocations: 75.28 kB / 1.077 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.774e-05/0.3325, allocations: 154.6 kB / 1.077 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.627e-05/0.3325, allocations: 154.6 kB / 1.078 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.11e-05/0.3326, allocations: 150.6 kB / 1.078 GB, free: 408 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/0.3329, allocations: 469.8 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.481e-05/0.333, allocations: 177.1 kB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.304e-05/0.3331, allocations: 84.14 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.3331, allocations: 75.28 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.433e-05/0.3331, allocations: 113.8 kB / 1.079 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.3332, allocations: 0 / 1.079 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 7.3e-05/0.3332, allocations: 29.7 kB / 1.079 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/0.3333, allocations: 130.6 kB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.3334, allocations: 137.7 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.3335, allocations: 25.7 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.699e-05/0.3335, allocations: 88.14 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.3335, allocations: 3.938 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.3336, allocations: 17.72 kB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3337, allocations: 322.8 kB / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.2e-05/0.3337, allocations: 4 kB / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.455e-05/0.3337, allocations: 4 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.678e-05/0.3338, allocations: 16.89 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3338, allocations: 0 / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001197/0.3339, allocations: 49.62 kB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3339, allocations: 5.406 kB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.334, allocations: 4 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.334, allocations: 0 / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.334, allocations: 0 / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.334, allocations: 0 / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.33e-05/0.334, allocations: 7.906 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.334, allocations: 3.938 kB / 1.079 GB, free: 14.53 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 9.022e-05/0.3341, allocations: 191.1 kB / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.3342, allocations: 112.9 kB / 1.08 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.884e-05/0.3343, allocations: 112.6 kB / 1.08 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.368e-05/0.3343, allocations: 180.2 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.447e-05/0.3344, allocations: 184.2 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.186e-05/0.3345, allocations: 184.2 kB / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.3347, allocations: 413.2 kB / 1.081 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-05/0.3347, allocations: 104.9 kB / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.246e-05/0.3348, allocations: 104.9 kB / 1.081 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.537e-05/0.3348, allocations: 184.2 kB / 1.081 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.818e-05/0.3349, allocations: 184.1 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.284e-05/0.335, allocations: 184.5 kB / 1.081 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.016e-05/0.3351, allocations: 176.3 kB / 1.082 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.3352, allocations: 319.7 kB / 1.082 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.006e-05/0.3353, allocations: 193.9 kB / 1.082 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.08e-05/0.3354, allocations: 180.3 kB / 1.082 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.633e-05/0.3354, allocations: 105 kB / 1.082 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.952e-05/0.3355, allocations: 180.2 kB / 1.082 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.345e-05/0.3356, allocations: 105 kB / 1.083 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.637e-05/0.3356, allocations: 101.1 kB / 1.083 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3356, allocations: 0 / 1.083 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007285/0.3364, allocations: 279.8 kB / 1.083 GB, free: 10.61 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.001072/0.3374, allocations: 0.5292 MB / 1.083 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.538e-05/0.3375, allocations: 41.64 kB / 1.084 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3376, allocations: 0 / 1.084 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.3376, allocations: 3.938 kB / 1.084 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.338, allocations: 0.5302 MB / 1.084 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.3383, allocations: 238.8 kB / 1.084 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.3386, allocations: 0.6848 MB / 1.085 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.382e-05/0.3386, allocations: 0 / 1.085 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.177e-05/0.3386, allocations: 7.438 kB / 1.085 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of SimCode: time 1.9e-07/0.3386, allocations: 0 / 1.085 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of Templates: time 0.008954/0.3476, allocations: 5.484 MB / 1.09 GB, free: 3.066 MB / 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