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.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.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.001378/0.001378, allocations: 112.6 kB / 16.37 MB, free: 6 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.001438/0.001438, allocations: 196 kB / 17.31 MB, free: 5.613 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.217/2.217, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001334, allocations: 66.25 kB / 0.8141 GB, free: 32.57 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3025, allocations: 140.4 MB / 0.9512 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002715/0.3052, allocations: 1.435 MB / 0.9526 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004139/0.3094, allocations: 2.888 MB / 0.9554 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.42e-05/0.3095, allocations: 0 / 0.9554 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.075e-05/0.3095, allocations: 7.922 kB / 0.9554 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.239e-05/0.3096, allocations: 15.86 kB / 0.9554 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003863/0.3135, allocations: 1.584 MB / 0.957 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.35e-05/0.3136, allocations: 43.73 kB / 0.957 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.894e-05/0.3137, allocations: 7.938 kB / 0.957 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.856e-05/0.3137, allocations: 11.94 kB / 0.957 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.209e-05/0.3137, allocations: 27.84 kB / 0.9571 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.3137, allocations: 0 / 0.9571 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002225/0.316, allocations: 1.531 MB / 0.9586 GB, free: 436 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.316, allocations: 7.938 kB / 0.9586 GB, free: 428 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.521e-05/0.316, allocations: 23.86 kB / 0.9586 GB, free: 404 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.3175, allocations: 1.094 MB / 0.9597 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3175, allocations: 8 kB / 0.9597 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3175, allocations: 0 / 0.9597 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.3175, allocations: 0 / 0.9597 GB, free: 15.29 MB / 0.7481 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.0006088/0.3182, allocations: 0.5164 MB / 0.9602 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.3182, allocations: 12.03 kB / 0.9602 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.033e-05/0.3183, allocations: 80.12 kB / 0.9603 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.3184, allocations: 251.6 kB / 0.9605 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.778e-05/0.3185, allocations: 154.9 kB / 0.9606 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.258e-05/0.3186, allocations: 154.9 kB / 0.9608 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.736e-05/0.3186, allocations: 105.1 kB / 0.9609 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.3187, allocations: 75.28 kB / 0.961 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.263e-05/0.3187, allocations: 158.5 kB / 0.9611 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.326e-05/0.3188, allocations: 150.6 kB / 0.9613 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.8e-05/0.3188, allocations: 162.6 kB / 0.9614 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000295/0.3191, allocations: 469.8 kB / 0.9619 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 8.328e-05/0.3192, allocations: 169.2 kB / 0.962 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.012e-05/0.3193, allocations: 80.14 kB / 0.9621 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.3193, allocations: 79.28 kB / 0.9622 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.851e-05/0.3194, allocations: 109.8 kB / 0.9623 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3194, allocations: 0 / 0.9623 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 7.547e-05/0.3194, allocations: 37.55 kB / 0.9623 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.3195, allocations: 130.7 kB / 0.9624 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.3197, allocations: 133.8 kB / 0.9626 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.3197, allocations: 25.7 kB / 0.9626 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 6.355e-05/0.3197, allocations: 96.12 kB / 0.9627 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.3198, allocations: 0 / 0.9627 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.3198, allocations: 17.72 kB / 0.9627 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.3199, allocations: 318.8 kB / 0.963 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.413e-05/0.3199, allocations: 8 kB / 0.963 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.865e-05/0.32, allocations: 4 kB / 0.963 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.813e-05/0.32, allocations: 16.8 kB / 0.963 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.32, allocations: 0 / 0.963 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001401/0.3202, allocations: 65.53 kB / 0.9631 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3202, allocations: 10.72 kB / 0.9631 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/0.3202, allocations: 4 kB / 0.9631 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3202, allocations: 0 / 0.9631 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.3202, allocations: 0 / 0.9631 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.3202, allocations: 0 / 0.9631 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.455e-05/0.3203, allocations: 7.906 kB / 0.9631 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.3203, allocations: 0 / 0.9631 GB, free: 11.52 MB / 0.7481 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 8.442e-05/0.3204, allocations: 181.1 kB / 0.9633 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-05/0.3204, allocations: 112.9 kB / 0.9634 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.691e-05/0.3205, allocations: 120.8 kB / 0.9635 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.094e-05/0.3206, allocations: 176.3 kB / 0.9637 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.001e-05/0.3207, allocations: 180.2 kB / 0.9639 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-05/0.3207, allocations: 176.3 kB / 0.964 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.321, allocations: 421.2 kB / 0.9644 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.906e-05/0.321, allocations: 108.9 kB / 0.9645 GB, free: 9.969 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.586e-05/0.3211, allocations: 105 kB / 0.9646 GB, free: 9.859 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.607e-05/0.3211, allocations: 180.2 kB / 0.9648 GB, free: 9.676 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.637e-05/0.3212, allocations: 176.3 kB / 0.965 GB, free: 9.496 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.365e-05/0.3213, allocations: 180.2 kB / 0.9651 GB, free: 9.312 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.255e-05/0.3213, allocations: 188.2 kB / 0.9653 GB, free: 9.121 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.3215, allocations: 311.7 kB / 0.9656 GB, free: 8.793 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.591e-05/0.3216, allocations: 189.9 kB / 0.9658 GB, free: 8.582 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.163e-05/0.3217, allocations: 180.3 kB / 0.966 GB, free: 8.398 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.492e-05/0.3217, allocations: 108.9 kB / 0.9661 GB, free: 8.285 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.055e-05/0.3218, allocations: 180.3 kB / 0.9662 GB, free: 8.102 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-05/0.3219, allocations: 108.9 kB / 0.9664 GB, free: 7.988 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.753e-05/0.3219, allocations: 103.2 kB / 0.9665 GB, free: 7.887 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3219, allocations: 0 / 0.9665 GB, free: 7.887 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007458/0.3227, allocations: 279.8 kB / 0.9667 GB, free: 7.613 MB / 0.7481 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.001019/0.3237, allocations: 0.5446 MB / 0.9672 GB, free: 7.062 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.3239, allocations: 41.7 kB / 0.9673 GB, free: 7.016 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3239, allocations: 0 / 0.9673 GB, free: 7.016 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.3239, allocations: 0 / 0.9673 GB, free: 7.016 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.3243, allocations: 475.6 kB / 0.9677 GB, free: 6.547 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003689/0.3247, allocations: 236.2 kB / 0.968 GB, free: 6.289 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.3249, allocations: 0.6844 MB / 0.9686 GB, free: 5.578 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.528e-05/0.325, allocations: 4 kB / 0.9686 GB, free: 5.574 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.051e-05/0.325, allocations: 7.438 kB / 0.9686 GB, free: 5.566 MB / 0.7481 GB Notification: Performance of SimCode: time 4.31e-07/0.325, allocations: 4 kB / 0.9687 GB, free: 5.562 MB / 0.7481 GB Notification: Performance of Templates: time 0.009132/0.3341, allocations: 5.615 MB / 0.9741 GB, free: 15.99 MB / 0.7637 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 -s gbode -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/jenkins1/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