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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 106.6 kB / 16.27 MB, free: 6.406 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.001515/0.001515, allocations: 190.8 kB / 17.2 MB, free: 5.973 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.416/1.416, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.677/2.677, allocations: 482.4 MB / 0.7553 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 64.28 kB / 0.9246 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8342/0.8361, allocations: 162.2 MB / 1.083 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002659/0.8388, allocations: 1.435 MB / 1.084 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004642/0.8434, allocations: 2.895 MB / 1.087 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.333e-05/0.8435, allocations: 1.156 kB / 1.087 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.29e-05/0.8435, allocations: 5.438 kB / 1.087 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.429e-05/0.8436, allocations: 16.08 kB / 1.087 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004239/0.8479, allocations: 1.593 MB / 1.089 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.462e-05/0.848, allocations: 40.72 kB / 1.089 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.69e-05/0.848, allocations: 7.891 kB / 1.089 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.636e-05/0.8481, allocations: 17.98 kB / 1.089 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.992e-05/0.8481, allocations: 21.17 kB / 1.089 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.8481, allocations: 1.781 kB / 1.089 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00264/0.8508, allocations: 1.453 MB / 1.09 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.122e-05/0.8508, allocations: 21.42 kB / 1.09 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.946e-05/0.8509, allocations: 16.67 kB / 1.09 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001902/0.8528, allocations: 1.112 MB / 1.091 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.8528, allocations: 0.6562 kB / 1.091 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.305e-06/0.8528, allocations: 0 / 1.091 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.8528, allocations: 0 / 1.091 GB, free: 13.3 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.0007741/0.8536, allocations: 0.5157 MB / 1.092 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.8536, allocations: 13.44 kB / 1.092 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.039e-05/0.8537, allocations: 78.12 kB / 1.092 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.8539, allocations: 258.2 kB / 1.092 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.272e-05/0.854, allocations: 155.5 kB / 1.092 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.37e-05/0.8541, allocations: 156.4 kB / 1.093 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.5e-05/0.8541, allocations: 105.7 kB / 1.093 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.73e-05/0.8542, allocations: 75.28 kB / 1.093 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.128e-05/0.8543, allocations: 155.2 kB / 1.093 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.257e-05/0.8543, allocations: 152.4 kB / 1.093 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.578e-05/0.8544, allocations: 150.6 kB / 1.093 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.8547, allocations: 466.5 kB / 1.094 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.891e-05/0.8549, allocations: 170.2 kB / 1.094 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.056e-05/0.8549, allocations: 85.45 kB / 1.094 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.8549, allocations: 79.28 kB / 1.094 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.764e-05/0.855, allocations: 117.1 kB / 1.094 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.855, allocations: 0 / 1.094 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 8.118e-05/0.8551, allocations: 31.86 kB / 1.094 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.546e-05/0.8552, allocations: 127.8 kB / 1.094 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.8553, allocations: 142.2 kB / 1.094 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.8554, allocations: 25.7 kB / 1.094 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.336e-05/0.8554, allocations: 88.91 kB / 1.094 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.8554, allocations: 0 / 1.094 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.8555, allocations: 20.53 kB / 1.094 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.8556, allocations: 318.1 kB / 1.095 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.494e-05/0.8557, allocations: 5.125 kB / 1.095 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.108e-05/0.8557, allocations: 3.344 kB / 1.095 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.198e-05/0.8557, allocations: 24.25 kB / 1.095 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.8557, allocations: 0 / 1.095 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001447/0.8559, allocations: 57.56 kB / 1.095 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.8559, allocations: 5.688 kB / 1.095 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/0.8559, allocations: 7.609 kB / 1.095 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.856, allocations: 1.812 kB / 1.095 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.856, allocations: 0 / 1.095 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.856, allocations: 0.5625 kB / 1.095 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.268e-05/0.856, allocations: 4.688 kB / 1.095 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.856, allocations: 1.844 kB / 1.095 GB, free: 9.746 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 0.000116/0.8561, allocations: 187.2 kB / 1.095 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.586e-05/0.8562, allocations: 116.2 kB / 1.095 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.017e-05/0.8563, allocations: 113.9 kB / 1.095 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.992e-05/0.8564, allocations: 182.8 kB / 1.095 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.708e-05/0.8564, allocations: 180.3 kB / 1.096 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.798e-05/0.8565, allocations: 186.4 kB / 1.096 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.8568, allocations: 416.4 kB / 1.096 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.891e-05/0.8569, allocations: 111 kB / 1.096 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.162e-05/0.8569, allocations: 102.6 kB / 1.096 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-05/0.857, allocations: 177.9 kB / 1.097 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-05/0.8571, allocations: 186.3 kB / 1.097 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.873e-05/0.8572, allocations: 186.3 kB / 1.097 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.678e-05/0.8572, allocations: 182.3 kB / 1.097 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.8574, allocations: 306 kB / 1.097 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.8575, allocations: 189.4 kB / 1.098 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.716e-05/0.8576, allocations: 181.9 kB / 1.098 GB, free: 6.652 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.7e-05/0.8577, allocations: 106.9 kB / 1.098 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.569e-05/0.8578, allocations: 178.8 kB / 1.098 GB, free: 6.363 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-05/0.8579, allocations: 107 kB / 1.098 GB, free: 6.254 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.441e-05/0.8579, allocations: 100.2 kB / 1.098 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8579, allocations: 1.812 kB / 1.098 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009827/0.8589, allocations: 277.1 kB / 1.098 GB, free: 6.109 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.001247/0.8602, allocations: 0.5338 MB / 1.099 GB, free: 5.848 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001239/0.8603, allocations: 43.81 kB / 1.099 GB, free: 5.809 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8603, allocations: 0.5625 kB / 1.099 GB, free: 5.809 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.776e-06/0.8603, allocations: 4.562 kB / 1.099 GB, free: 5.805 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/0.8608, allocations: 469.8 kB / 1.099 GB, free: 5.348 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004007/0.8612, allocations: 274.7 kB / 1.1 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.8615, allocations: 0.6824 MB / 1.1 GB, free: 4.402 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.49e-05/0.8615, allocations: 8.75 kB / 1.1 GB, free: 4.395 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.8615, allocations: 0 / 1.1 GB, free: 4.395 MB / 0.8419 GB Notification: Performance of Templates: time 0.01085/0.8724, allocations: 4.77 MB / 1.105 GB, free: 3.91 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches