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.001309/0.001309, allocations: 108.6 kB / 16.41 MB, free: 6.496 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.0014/0.0014, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.302/2.302, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 63.91 kB / 0.9516 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.009, allocations: 140.4 MB / 1.089 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.004328/1.013, allocations: 1.434 MB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007098/1.02, allocations: 2.894 MB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/1.02, allocations: 0.5938 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.567e-05/1.021, allocations: 9.328 kB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001288/1.021, allocations: 16.17 kB / 1.093 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.007852/1.029, allocations: 1.579 MB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002369/1.029, allocations: 45.86 kB / 1.095 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.589e-05/1.029, allocations: 7.312 kB / 1.095 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.284e-05/1.029, allocations: 14.17 kB / 1.095 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.264e-05/1.029, allocations: 21.42 kB / 1.095 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/1.029, allocations: 0.9062 kB / 1.095 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00545/1.034, allocations: 1.534 MB / 1.096 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.08e-05/1.035, allocations: 5.797 kB / 1.096 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.662e-05/1.035, allocations: 24.06 kB / 1.096 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003822/1.038, allocations: 1.096 MB / 1.097 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/1.038, allocations: 0.6094 kB / 1.097 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.938e-06/1.038, allocations: 1.125 kB / 1.097 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.146e-06/1.039, allocations: 0 / 1.097 GB, free: 0.8594 MB / 0.8575 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.001151/1.04, allocations: 0.5145 MB / 1.098 GB, free: 384 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/1.04, allocations: 9.406 kB / 1.098 GB, free: 384 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.222e-05/1.04, allocations: 86.34 kB / 1.098 GB, free: 300 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/1.04, allocations: 256.9 kB / 1.098 GB, free: 12 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.514e-05/1.04, allocations: 150.9 kB / 1.098 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.745e-05/1.04, allocations: 152.8 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.577e-05/1.04, allocations: 106.3 kB / 1.098 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.983e-05/1.04, allocations: 75.28 kB / 1.098 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-05/1.04, allocations: 159.2 kB / 1.099 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.847e-05/1.04, allocations: 155.5 kB / 1.099 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.479e-05/1.04, allocations: 150.6 kB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/1.041, allocations: 461.9 kB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 9.065e-05/1.041, allocations: 171 kB / 1.1 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.792e-05/1.041, allocations: 80.83 kB / 1.1 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/1.041, allocations: 75.98 kB / 1.1 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.57e-05/1.041, allocations: 115.1 kB / 1.1 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 2.264e-06/1.041, allocations: 3.938 kB / 1.1 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 9.387e-05/1.041, allocations: 37.17 kB / 1.1 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.389e-05/1.041, allocations: 135.4 kB / 1.1 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/1.041, allocations: 128.5 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/1.041, allocations: 25.7 kB / 1.1 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.107e-05/1.041, allocations: 100.3 kB / 1.1 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/1.041, allocations: 1.156 kB / 1.1 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/1.041, allocations: 15.67 kB / 1.1 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001186/1.042, allocations: 318.7 kB / 1.101 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.931e-05/1.042, allocations: 4.422 kB / 1.101 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.179e-05/1.042, allocations: 11.59 kB / 1.101 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.173e-05/1.042, allocations: 23.59 kB / 1.101 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.042, allocations: 0 / 1.101 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001603/1.042, allocations: 50.84 kB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/1.042, allocations: 4.656 kB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/1.042, allocations: 4 kB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/1.042, allocations: 0.9062 kB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/1.042, allocations: 0 / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/1.042, allocations: 1.641 kB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.542e-05/1.042, allocations: 8.844 kB / 1.101 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/1.042, allocations: 5.156 kB / 1.101 GB, free: 13.3 MB / 0.8731 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.0001101/1.042, allocations: 182.9 kB / 1.101 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.58e-05/1.042, allocations: 117.2 kB / 1.101 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.432e-05/1.042, allocations: 116.3 kB / 1.101 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.335e-05/1.042, allocations: 185.9 kB / 1.101 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-05/1.042, allocations: 178.2 kB / 1.101 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.836e-05/1.043, allocations: 181.8 kB / 1.102 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/1.043, allocations: 417.3 kB / 1.102 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.355e-05/1.043, allocations: 106.3 kB / 1.102 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/1.043, allocations: 107.1 kB / 1.102 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.115e-05/1.043, allocations: 178.1 kB / 1.102 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.49e-05/1.043, allocations: 182.1 kB / 1.102 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.465e-05/1.043, allocations: 181.8 kB / 1.103 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.916e-05/1.043, allocations: 177.7 kB / 1.103 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/1.043, allocations: 306.7 kB / 1.103 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.144e-05/1.043, allocations: 193 kB / 1.103 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.192e-05/1.044, allocations: 182.7 kB / 1.103 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.814e-05/1.044, allocations: 110.3 kB / 1.104 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.268e-05/1.044, allocations: 183 kB / 1.104 GB, free: 9.922 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.466e-05/1.044, allocations: 106 kB / 1.104 GB, free: 9.812 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 7.894e-05/1.044, allocations: 99.36 kB / 1.104 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/1.044, allocations: 1.094 kB / 1.104 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001481/1.045, allocations: 285.9 kB / 1.104 GB, free: 9.664 MB / 0.8731 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.001968/1.047, allocations: 0.5289 MB / 1.105 GB, free: 9.402 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001181/1.047, allocations: 45.3 kB / 1.105 GB, free: 9.363 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/1.047, allocations: 4.062 kB / 1.105 GB, free: 9.359 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.785e-06/1.047, allocations: 3.938 kB / 1.105 GB, free: 9.355 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/1.048, allocations: 464.9 kB / 1.105 GB, free: 8.902 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003931/1.048, allocations: 264.1 kB / 1.105 GB, free: 8.66 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/1.049, allocations: 0.6862 MB / 1.106 GB, free: 7.961 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/1.049, allocations: 9.906 kB / 1.106 GB, free: 7.953 MB / 0.8731 GB Notification: Performance of SimCode: time 3.11e-07/1.049, allocations: 0 / 1.106 GB, free: 7.953 MB / 0.8731 GB Notification: Performance of Templates: time 0.0128/1.061, allocations: 4.734 MB / 1.111 GB, free: 7.484 MB / 0.8731 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/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,Rgb,Rgg1,Rgg2,time,x