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.InternalResistancesOneUTubeNegative.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.InternalResistancesOneUTubeNegative,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.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,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.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 108 kB / 15.61 MB, free: 152 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.001789/0.001789, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.418/1.418, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.392/2.392, allocations: 390.2 MB / 0.6646 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 59.91 kB / 0.8126 GB, free: 14.4 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9241/0.9253, allocations: 140.4 MB / 0.9496 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.00392/0.9293, allocations: 1.425 MB / 0.951 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007658/0.937, allocations: 2.844 MB / 0.9538 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.419e-05/0.9372, allocations: 1.688 kB / 0.9538 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.958e-05/0.9373, allocations: 3.938 kB / 0.9538 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.9374, allocations: 17.56 kB / 0.9538 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008012/0.9455, allocations: 1.558 MB / 0.9553 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00017/0.9457, allocations: 45.36 kB / 0.9554 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.553e-05/0.9458, allocations: 2.469 kB / 0.9554 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.121e-05/0.9458, allocations: 16.17 kB / 0.9554 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.813e-05/0.9459, allocations: 14.23 kB / 0.9554 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.9459, allocations: 1.094 kB / 0.9554 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0052/0.9511, allocations: 1.42 MB / 0.9568 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.174e-05/0.9512, allocations: 9.703 kB / 0.9568 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.549e-05/0.9513, allocations: 23.03 kB / 0.9568 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003782/0.9551, allocations: 1.071 MB / 0.9579 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.9552, allocations: 0 / 0.9579 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of FrontEnd: time 5.17e-06/0.9552, allocations: 5 kB / 0.9579 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.9552, allocations: 0 / 0.9579 GB, free: 3.215 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.001207/0.9564, allocations: 0.5094 MB / 0.9584 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.371e-05/0.9565, allocations: 13.86 kB / 0.9584 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.489e-05/0.9566, allocations: 86.28 kB / 0.9585 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.9568, allocations: 249 kB / 0.9587 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.8e-05/0.9568, allocations: 156.1 kB / 0.9589 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.239e-05/0.9569, allocations: 150.9 kB / 0.959 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.782e-05/0.957, allocations: 105.9 kB / 0.9591 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.957, allocations: 79.97 kB / 0.9592 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.114e-05/0.9571, allocations: 150.6 kB / 0.9593 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.2e-05/0.9571, allocations: 155.5 kB / 0.9595 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.519e-05/0.9572, allocations: 151.6 kB / 0.9596 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.9575, allocations: 460.5 kB / 0.9601 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.234e-05/0.9576, allocations: 171 kB / 0.9602 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.752e-05/0.9576, allocations: 88.08 kB / 0.9603 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.9576, allocations: 80.39 kB / 0.9604 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.9577, allocations: 113.8 kB / 0.9605 GB, free: 472 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.883e-06/0.9577, allocations: 1.062 kB / 0.9605 GB, free: 472 kB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001219/0.9578, allocations: 31.77 kB / 0.9605 GB, free: 436 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.9579, allocations: 127.8 kB / 0.9607 GB, free: 296 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.9581, allocations: 131.2 kB / 0.9608 GB, free: 176 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.9581, allocations: 29.7 kB / 0.9608 GB, free: 140 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.706e-05/0.9582, allocations: 87.39 kB / 0.9609 GB, free: 52 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.487e-06/0.9582, allocations: 0 / 0.9609 GB, free: 52 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.184e-05/0.9583, allocations: 22.36 kB / 0.9609 GB, free: 28 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002187/0.9585, allocations: 312.5 kB / 0.9612 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.494e-05/0.9586, allocations: 11.22 kB / 0.9612 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.991e-05/0.9586, allocations: 10.92 kB / 0.9612 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.894e-05/0.9587, allocations: 10.05 kB / 0.9612 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.9587, allocations: 8.031 kB / 0.9612 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002355/0.959, allocations: 51.05 kB / 0.9613 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.959, allocations: 5.469 kB / 0.9613 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.798e-05/0.9591, allocations: 2.375 kB / 0.9613 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.878e-05/0.9591, allocations: 3.984 kB / 0.9613 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.446e-06/0.9591, allocations: 0.8438 kB / 0.9613 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.9591, allocations: 0 / 0.9613 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.409e-05/0.9592, allocations: 0.7188 kB / 0.9613 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.9592, allocations: 1.719 kB / 0.9613 GB, free: 15.64 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 0.0001966/0.9594, allocations: 191.3 kB / 0.9615 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.9596, allocations: 115 kB / 0.9616 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.9597, allocations: 115.2 kB / 0.9617 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001084/0.9598, allocations: 185.5 kB / 0.9619 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001066/0.9599, allocations: 180.3 kB / 0.9621 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001096/0.9601, allocations: 185.6 kB / 0.9622 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004017/0.9605, allocations: 415.3 kB / 0.9626 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.215e-05/0.9606, allocations: 110 kB / 0.9627 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.994e-05/0.9607, allocations: 106 kB / 0.9628 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00011/0.9608, allocations: 177.4 kB / 0.963 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001108/0.9609, allocations: 181.3 kB / 0.9632 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001151/0.9611, allocations: 185.4 kB / 0.9634 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001193/0.9612, allocations: 177.3 kB / 0.9635 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.9615, allocations: 305.2 kB / 0.9638 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.9616, allocations: 195 kB / 0.964 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.9618, allocations: 182.2 kB / 0.9642 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.9619, allocations: 106 kB / 0.9643 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.9621, allocations: 181.3 kB / 0.9645 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.835e-05/0.9621, allocations: 102 kB / 0.9646 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001275/0.9623, allocations: 102.1 kB / 0.9646 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.3e-07/0.9623, allocations: 0 / 0.9646 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001863/0.9642, allocations: 273.4 kB / 0.9649 GB, free: 11.96 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.002516/0.9667, allocations: 0.5276 MB / 0.9654 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001705/0.9669, allocations: 40.92 kB / 0.9655 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.9669, allocations: 1.469 kB / 0.9655 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.28e-06/0.9669, allocations: 0 / 0.9655 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007373/0.9677, allocations: 475.3 kB / 0.9659 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006297/0.9683, allocations: 237.3 kB / 0.9661 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/0.9688, allocations: 0.6843 MB / 0.9668 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.725e-05/0.9689, allocations: 5.141 kB / 0.9668 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.9689, allocations: 8.594 kB / 0.9668 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of SimCode: time 8.71e-07/0.9689, allocations: 1.375 kB / 0.9668 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of Templates: time 0.02253/0.9915, allocations: 5.462 MB / 0.9722 GB, free: 7.426 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,Rgb,Rgg,RCondGro,x Variables in the result:RCondGro,Rb,Rgb,Rgg,cpMed,eTub,hSeg,kFil,kMed,kSoi,kTub,m_flow_nominal,muMed,rBor,rTub,sha,time,x