Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.0009532/0.0009531, allocations: 92.55 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001273, allocations: 177.1 kB / 16.92 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.63/1.63, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.698/2.698, allocations: 390.9 MB / 0.667 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003871, allocations: 16 kB / 0.8167 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8519/0.8524, allocations: 142.4 MB / 0.9558 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001504/0.8539, allocations: 1.156 MB / 0.9569 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004375/0.8583, allocations: 2.887 MB / 0.9597 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.677e-05/0.8584, allocations: 0 / 0.9597 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.581e-05/0.8584, allocations: 0 / 0.9597 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.243e-05/0.8585, allocations: 18.66 kB / 0.9597 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003445/0.8619, allocations: 1.361 MB / 0.9611 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.162e-05/0.862, allocations: 41.61 kB / 0.9611 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.8621, allocations: 6.75 kB / 0.9611 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.495e-05/0.8621, allocations: 10.81 kB / 0.9611 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.977e-05/0.8622, allocations: 14.81 kB / 0.9611 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.8622, allocations: 1.375 kB / 0.9611 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002172/0.8644, allocations: 1.429 MB / 0.9625 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.8644, allocations: 8.891 kB / 0.9625 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.761e-05/0.8644, allocations: 45.27 kB / 0.9626 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.8655, allocations: 0.7535 MB / 0.9633 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.8656, allocations: 1.375 kB / 0.9633 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8656, allocations: 0 / 0.9633 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.8656, allocations: 4 kB / 0.9633 GB, free: 2.34 MB / 0.7169 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.0005274/0.8661, allocations: 0.5121 MB / 0.9638 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.8662, allocations: 9.812 kB / 0.9638 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.8662, allocations: 82.47 kB / 0.9639 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.8663, allocations: 252.5 kB / 0.9642 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.8664, allocations: 150.9 kB / 0.9643 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/0.8664, allocations: 156.2 kB / 0.9644 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.519e-05/0.8664, allocations: 110.3 kB / 0.9646 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.8665, allocations: 75.28 kB / 0.9646 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.8665, allocations: 154.5 kB / 0.9648 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.8665, allocations: 155.6 kB / 0.9649 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.386e-05/0.8665, allocations: 154.5 kB / 0.9651 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.8667, allocations: 461.4 kB / 0.9655 GB, free: 40 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.8669, allocations: 170.3 kB / 0.9657 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.056e-05/0.8669, allocations: 81.52 kB / 0.9657 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.8669, allocations: 75.28 kB / 0.9658 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.867, allocations: 119 kB / 0.9659 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.867, allocations: 0 / 0.9659 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.329e-05/0.8671, allocations: 36.2 kB / 0.966 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.8671, allocations: 126.7 kB / 0.9661 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.8673, allocations: 132.4 kB / 0.9662 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.8673, allocations: 25.7 kB / 0.9662 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.215e-05/0.8673, allocations: 98.38 kB / 0.9663 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.8674, allocations: 4 kB / 0.9663 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.419e-05/0.8674, allocations: 16.12 kB / 0.9664 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.8675, allocations: 316.2 kB / 0.9667 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.357e-05/0.8675, allocations: 2.406 kB / 0.9667 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.369e-05/0.8675, allocations: 3.688 kB / 0.9667 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.382e-05/0.8676, allocations: 21.91 kB / 0.9667 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8676, allocations: 0 / 0.9667 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000126/0.8677, allocations: 47.58 kB / 0.9667 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.8678, allocations: 5.156 kB / 0.9667 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/0.8678, allocations: 6.5 kB / 0.9667 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.8678, allocations: 3.984 kB / 0.9667 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.8678, allocations: 1.219 kB / 0.9667 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.8678, allocations: 0 / 0.9667 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.372e-05/0.8679, allocations: 5.031 kB / 0.9667 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.8679, allocations: 1.062 kB / 0.9667 GB, free: 14.75 MB / 0.7325 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.929e-05/0.868, allocations: 183.5 kB / 0.9669 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.285e-05/0.868, allocations: 115.5 kB / 0.967 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.772e-05/0.8681, allocations: 117.9 kB / 0.9671 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.028e-05/0.8682, allocations: 185.6 kB / 0.9673 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.387e-05/0.8682, allocations: 177.6 kB / 0.9675 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.884e-05/0.8683, allocations: 177.6 kB / 0.9677 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.8685, allocations: 410.8 kB / 0.9681 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-05/0.8686, allocations: 118 kB / 0.9682 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.744e-05/0.8686, allocations: 110 kB / 0.9683 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.532e-05/0.8687, allocations: 185.6 kB / 0.9684 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.363e-05/0.8687, allocations: 177.2 kB / 0.9686 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.642e-05/0.8688, allocations: 185.3 kB / 0.9688 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.8e-05/0.8689, allocations: 177.4 kB / 0.969 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.869, allocations: 316.8 kB / 0.9693 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.445e-05/0.8691, allocations: 187 kB / 0.9694 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.615e-05/0.8692, allocations: 182.5 kB / 0.9696 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.927e-05/0.8693, allocations: 105 kB / 0.9697 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.317e-05/0.8693, allocations: 185.2 kB / 0.9699 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/0.8694, allocations: 110.3 kB / 0.97 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.812e-05/0.8694, allocations: 97.64 kB / 0.9701 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8695, allocations: 0 / 0.9701 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008697/0.8703, allocations: 280.3 kB / 0.9704 GB, free: 11.07 MB / 0.7325 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.001134/0.8715, allocations: 0.5169 MB / 0.9709 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.462e-05/0.8716, allocations: 41.8 kB / 0.9709 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8716, allocations: 0 / 0.9709 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.8716, allocations: 0 / 0.9709 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.872, allocations: 0.538 MB / 0.9714 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/0.8724, allocations: 286.8 kB / 0.9717 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.8727, allocations: 0.6848 MB / 0.9724 GB, free: 9.199 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.205e-05/0.8727, allocations: 9.75 kB / 0.9724 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of SimCode: time 2e-07/0.8727, allocations: 0 / 0.9724 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of Templates: time 0.01065/0.8834, allocations: 4.613 MB / 0.9769 GB, free: 6.867 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches