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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, 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.001701/0.001701, allocations: 195 kB / 16.53 MB, free: 6.664 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.505/1.505, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.497/2.497, allocations: 390.2 MB / 0.6647 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 63.89 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6883/0.6897, allocations: 140.3 MB / 0.9496 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00249/0.6922, allocations: 1.44 MB / 0.951 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003605/0.6959, allocations: 2.886 MB / 0.9539 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.471e-05/0.6959, allocations: 0 / 0.9539 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.678e-05/0.696, allocations: 7.922 kB / 0.9539 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.101e-05/0.6961, allocations: 18.08 kB / 0.9539 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003753/0.6998, allocations: 1.583 MB / 0.9554 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.993e-05/0.6999, allocations: 46.61 kB / 0.9555 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.168e-05/0.7, allocations: 2.406 kB / 0.9555 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.948e-05/0.7, allocations: 11.53 kB / 0.9555 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.322e-05/0.7, allocations: 23.48 kB / 0.9555 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.7001, allocations: 2.281 kB / 0.9555 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002159/0.7022, allocations: 1.461 MB / 0.9569 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.7023, allocations: 9.547 kB / 0.957 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.716e-05/0.7023, allocations: 15.22 kB / 0.957 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.7038, allocations: 1.106 MB / 0.958 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.7038, allocations: 5.281 kB / 0.9581 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.203e-06/0.7038, allocations: 3.938 kB / 0.9581 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.7038, allocations: 0 / 0.9581 GB, free: 3.227 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.0005736/0.7044, allocations: 0.5099 MB / 0.9586 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.7045, allocations: 9.031 kB / 0.9586 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.182e-05/0.7045, allocations: 86.25 kB / 0.9586 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.7046, allocations: 251.9 kB / 0.9589 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/0.7047, allocations: 156 kB / 0.959 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.7047, allocations: 152.1 kB / 0.9592 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.716e-05/0.7048, allocations: 109 kB / 0.9593 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.7048, allocations: 75.28 kB / 0.9594 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.7048, allocations: 155.7 kB / 0.9595 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.7048, allocations: 154.5 kB / 0.9596 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.549e-05/0.7049, allocations: 155.7 kB / 0.9598 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002174/0.7051, allocations: 461.4 kB / 0.9602 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.033e-05/0.7051, allocations: 170.3 kB / 0.9604 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.898e-05/0.7052, allocations: 85.23 kB / 0.9605 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.7052, allocations: 75.28 kB / 0.9606 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.7052, allocations: 114.8 kB / 0.9607 GB, free: 484 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.7052, allocations: 0 / 0.9607 GB, free: 484 kB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.41e-05/0.7053, allocations: 35.94 kB / 0.9607 GB, free: 444 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.7053, allocations: 131.8 kB / 0.9608 GB, free: 300 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.7055, allocations: 133.8 kB / 0.9609 GB, free: 180 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.7055, allocations: 25.7 kB / 0.961 GB, free: 148 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.244e-05/0.7055, allocations: 86.61 kB / 0.9611 GB, free: 60 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-06/0.7055, allocations: 0 / 0.9611 GB, free: 60 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.7056, allocations: 23.36 kB / 0.9611 GB, free: 36 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.7057, allocations: 316 kB / 0.9614 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.405e-05/0.7058, allocations: 3.844 kB / 0.9614 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.846e-05/0.7058, allocations: 11.02 kB / 0.9614 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.002e-05/0.7058, allocations: 19.08 kB / 0.9614 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7058, allocations: 0 / 0.9614 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001506/0.706, allocations: 52.36 kB / 0.9615 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.706, allocations: 5.219 kB / 0.9615 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-05/0.7061, allocations: 3.156 kB / 0.9615 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.7061, allocations: 0 / 0.9615 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.096e-06/0.7061, allocations: 5.047 kB / 0.9615 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.7061, allocations: 0 / 0.9615 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.541e-05/0.7061, allocations: 5.156 kB / 0.9615 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.7061, allocations: 9.016 kB / 0.9615 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.0001043/0.7062, allocations: 183.2 kB / 0.9617 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.663e-05/0.7063, allocations: 119.1 kB / 0.9618 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.685e-05/0.7064, allocations: 111.8 kB / 0.9619 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.076e-05/0.7065, allocations: 189.6 kB / 0.9621 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.772e-05/0.7066, allocations: 184.3 kB / 0.9622 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.013e-05/0.7066, allocations: 181.3 kB / 0.9624 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.7069, allocations: 420.6 kB / 0.9628 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.5e-05/0.7069, allocations: 104.9 kB / 0.9629 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.69e-05/0.707, allocations: 110.1 kB / 0.963 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.188e-05/0.707, allocations: 177.4 kB / 0.9632 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.568e-05/0.7071, allocations: 185.4 kB / 0.9634 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-05/0.7072, allocations: 185.4 kB / 0.9635 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.637e-05/0.7073, allocations: 177.3 kB / 0.9637 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.7074, allocations: 312.4 kB / 0.964 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.642e-05/0.7075, allocations: 192.9 kB / 0.9642 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.237e-05/0.7076, allocations: 181.3 kB / 0.9644 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.112e-05/0.7077, allocations: 106 kB / 0.9645 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.286e-05/0.7077, allocations: 181.3 kB / 0.9646 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.112e-05/0.7078, allocations: 101 kB / 0.9647 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.337e-05/0.7079, allocations: 102.6 kB / 0.9648 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7079, allocations: 0 / 0.9648 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009109/0.7088, allocations: 283.4 kB / 0.9651 GB, free: 11.95 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.001129/0.7099, allocations: 0.5244 MB / 0.9656 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001122/0.71, allocations: 47.53 kB / 0.9657 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.71, allocations: 4.062 kB / 0.9657 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.817e-06/0.7101, allocations: 4 kB / 0.9657 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.7105, allocations: 464.2 kB / 0.9661 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003765/0.7109, allocations: 238.5 kB / 0.9663 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.7111, allocations: 0.6882 MB / 0.967 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.216e-05/0.7111, allocations: 0 / 0.967 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.407e-05/0.7112, allocations: 9.906 kB / 0.967 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of SimCode: time 2e-07/0.7112, allocations: 0 / 0.967 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.01065/0.7218, allocations: 5.642 MB / 0.9725 GB, free: 7.332 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,Rgb,Rgg1,Rgg2,RCondGro,x Variables in the result:RCondGro,Rb,Rgb,Rgg1,Rgg2,cpMed,eTub,hSeg,kFil,kMed,kSoi,kTub,m_flow_nominal,muMed,rBor,rTub,sha,time,x