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.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.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.0009729/0.0009729, allocations: 98.8 kB / 16.02 MB, free: 76 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.001352/0.001352, allocations: 180.1 kB / 16.92 MB, free: 6.918 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.463/1.463, allocations: 223.3 MB / 241 MB, free: 5.34 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.532/2.532, allocations: 390.9 MB / 0.667 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.000393, allocations: 20 kB / 0.8167 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9025/0.903, allocations: 142.4 MB / 0.9558 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.00163/0.9047, allocations: 1.146 MB / 0.9569 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004272/0.9089, allocations: 2.893 MB / 0.9597 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.331e-05/0.909, allocations: 0 / 0.9597 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.516e-05/0.9091, allocations: 5 kB / 0.9597 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.077e-05/0.9091, allocations: 14.09 kB / 0.9597 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00351/0.9126, allocations: 1.37 MB / 0.9611 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.125e-05/0.9127, allocations: 45.55 kB / 0.9611 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.237e-05/0.9128, allocations: 6.734 kB / 0.9611 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.031e-05/0.9128, allocations: 10.81 kB / 0.9611 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.99e-05/0.9129, allocations: 14.81 kB / 0.9611 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.9129, allocations: 1.375 kB / 0.9611 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002204/0.9151, allocations: 1.425 MB / 0.9625 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.9151, allocations: 8.953 kB / 0.9625 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.739e-05/0.9152, allocations: 49.53 kB / 0.9626 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.9163, allocations: 0.7576 MB / 0.9633 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.9163, allocations: 0 / 0.9633 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9163, allocations: 0 / 0.9633 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.9163, allocations: 1 kB / 0.9633 GB, free: 2.336 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.0005817/0.9169, allocations: 0.5039 MB / 0.9638 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.9169, allocations: 21.33 kB / 0.9638 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.77e-05/0.917, allocations: 82.88 kB / 0.9639 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.9171, allocations: 243.2 kB / 0.9642 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.704e-05/0.9172, allocations: 160.1 kB / 0.9643 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.9172, allocations: 154.9 kB / 0.9645 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.726e-05/0.9173, allocations: 110.4 kB / 0.9646 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.9173, allocations: 75.28 kB / 0.9646 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.9173, allocations: 150.6 kB / 0.9648 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.289e-05/0.9173, allocations: 151.6 kB / 0.9649 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.749e-05/0.9174, allocations: 155.5 kB / 0.9651 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002063/0.9176, allocations: 464.8 kB / 0.9655 GB, free: 36 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.9177, allocations: 166.4 kB / 0.9657 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.21e-05/0.9177, allocations: 81.45 kB / 0.9657 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.9178, allocations: 83.27 kB / 0.9658 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.147e-05/0.9178, allocations: 115.1 kB / 0.9659 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.9178, allocations: 0 / 0.9659 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.15e-05/0.9179, allocations: 36.02 kB / 0.966 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.918, allocations: 126.7 kB / 0.9661 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.9181, allocations: 131.7 kB / 0.9662 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.9181, allocations: 26.86 kB / 0.9662 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.351e-05/0.9182, allocations: 98.67 kB / 0.9663 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/0.9182, allocations: 0 / 0.9663 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/0.9182, allocations: 14.77 kB / 0.9664 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.9184, allocations: 317.3 kB / 0.9667 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.252e-05/0.9184, allocations: 2.406 kB / 0.9667 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.634e-05/0.9184, allocations: 3.469 kB / 0.9667 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.197e-05/0.9185, allocations: 18.03 kB / 0.9667 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.9185, allocations: 0 / 0.9667 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001323/0.9186, allocations: 55.11 kB / 0.9667 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.9186, allocations: 5.188 kB / 0.9667 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/0.9187, allocations: 2.656 kB / 0.9667 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.9187, allocations: 0 / 0.9667 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.9187, allocations: 1.344 kB / 0.9667 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.9187, allocations: 3.984 kB / 0.9667 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.466e-05/0.9187, allocations: 5.281 kB / 0.9667 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.9187, allocations: 0.9688 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.986e-05/0.9188, allocations: 186.8 kB / 0.9669 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.138e-05/0.9189, allocations: 112.1 kB / 0.967 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.144e-05/0.919, allocations: 117.6 kB / 0.9671 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.274e-05/0.919, allocations: 181.2 kB / 0.9673 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.898e-05/0.9191, allocations: 181.2 kB / 0.9675 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.614e-05/0.9192, allocations: 181.3 kB / 0.9677 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.9194, allocations: 416.2 kB / 0.9681 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.275e-05/0.9194, allocations: 114.2 kB / 0.9682 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.396e-05/0.9195, allocations: 105 kB / 0.9683 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.962e-05/0.9196, allocations: 189.4 kB / 0.9685 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.718e-05/0.9196, allocations: 177.6 kB / 0.9686 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.336e-05/0.9197, allocations: 177.3 kB / 0.9688 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.811e-05/0.9198, allocations: 185.6 kB / 0.969 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.9199, allocations: 312.5 kB / 0.9693 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.161e-05/0.92, allocations: 188.3 kB / 0.9694 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.426e-05/0.9201, allocations: 177.7 kB / 0.9696 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-05/0.9202, allocations: 112.9 kB / 0.9697 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.913e-05/0.9202, allocations: 181.6 kB / 0.9699 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/0.9203, allocations: 106.1 kB / 0.97 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.711e-05/0.9203, allocations: 97.67 kB / 0.9701 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.9203, allocations: 0 / 0.9701 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008707/0.9212, allocations: 279 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.001158/0.9224, allocations: 0.5228 MB / 0.9709 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001009/0.9225, allocations: 37.8 kB / 0.9709 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.9225, allocations: 0 / 0.9709 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.824e-06/0.9225, 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.0004538/0.923, allocations: 0.5383 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.0003525/0.9233, allocations: 276.9 kB / 0.9717 GB, free: 9.91 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.9236, allocations: 0.6814 MB / 0.9724 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.646e-05/0.9236, allocations: 17.3 kB / 0.9724 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.9236, allocations: 0 / 0.9724 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of Templates: time 0.009274/0.9329, allocations: 4.618 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.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/jenkins1/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,Rgb,Rgg,time,x