Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008071/0.0008071, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000812/0.000812, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8681/0.8681, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.712/1.712, allocations: 377.9 MB / 0.6221 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.9811 GB, free: 2.504 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124e-05/1.259e-05, allocations: 6.281 kB / 0.9811 GB, free: 2.496 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001621/0.001634, allocations: 1.439 MB / 0.9825 GB, free: 1.047 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002855/0.004489, allocations: 2.68 MB / 0.9851 GB, free: 14.35 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.501e-05/0.004514, allocations: 0 / 0.9851 GB, free: 14.35 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 1.913e-05/0.004533, allocations: 7.922 kB / 0.9851 GB, free: 14.34 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 4.637e-05/0.004579, allocations: 7.922 kB / 0.9851 GB, free: 14.34 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002135/0.006715, allocations: 1.664 MB / 0.9867 GB, free: 12.7 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 6.729e-05/0.006782, allocations: 47.67 kB / 0.9868 GB, free: 12.65 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.819e-05/0.00682, allocations: 4 kB / 0.9868 GB, free: 12.64 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.42e-05/0.006854, allocations: 27.86 kB / 0.9868 GB, free: 12.62 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.102e-05/0.006875, allocations: 11.98 kB / 0.9868 GB, free: 12.61 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.006886, allocations: 0 / 0.9868 GB, free: 12.61 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00132/0.008206, allocations: 1.485 MB / 0.9883 GB, free: 11.12 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.008218, allocations: 7.984 kB / 0.9883 GB, free: 11.11 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.098e-05/0.008239, allocations: 19.94 kB / 0.9883 GB, free: 11.09 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009574/0.009196, allocations: 1.267 MB / 0.9895 GB, free: 9.82 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.009198, allocations: 4 kB / 0.9895 GB, free: 9.816 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.61e-07/0.009199, allocations: 0 / 0.9895 GB, free: 9.816 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.009203, allocations: 0 / 0.9895 GB, free: 9.816 MB / 0.948 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.0003746/0.009577, allocations: 472 kB / 0.99 GB, free: 9.324 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.009613, allocations: 15.98 kB / 0.99 GB, free: 9.309 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.696e-05/0.00965, allocations: 110 kB / 0.9901 GB, free: 9.191 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.009693, allocations: 80.17 kB / 0.9902 GB, free: 9.113 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.009808, allocations: 197 kB / 0.9904 GB, free: 8.895 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/0.009844, allocations: 150.9 kB / 0.9905 GB, free: 8.746 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.758e-05/0.009881, allocations: 150.9 kB / 0.9907 GB, free: 8.598 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.433e-05/0.009926, allocations: 105.5 kB / 0.9908 GB, free: 8.488 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.009943, allocations: 79.47 kB / 0.9908 GB, free: 8.41 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.306e-05/0.009976, allocations: 154.5 kB / 0.991 GB, free: 8.258 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/0.01, allocations: 154.5 kB / 0.9911 GB, free: 8.105 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.343e-05/0.01004, allocations: 162.6 kB / 0.9913 GB, free: 7.945 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001886/0.01023, allocations: 436.9 kB / 0.9917 GB, free: 7.477 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.221e-05/0.01029, allocations: 169.1 kB / 0.9919 GB, free: 7.301 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.373e-05/0.01031, allocations: 80.14 kB / 0.9919 GB, free: 7.219 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.01033, allocations: 83.22 kB / 0.992 GB, free: 7.137 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.01036, allocations: 105.8 kB / 0.9921 GB, free: 7.023 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.01036, allocations: 0 / 0.9921 GB, free: 7.023 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 5.567e-05/0.01042, allocations: 45.53 kB / 0.9922 GB, free: 6.973 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.01046, allocations: 126.7 kB / 0.9923 GB, free: 6.836 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.01056, allocations: 143.1 kB / 0.9924 GB, free: 6.688 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.01057, allocations: 29.7 kB / 0.9924 GB, free: 6.652 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.923e-05/0.01061, allocations: 92.12 kB / 0.9925 GB, free: 6.559 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-06/0.01061, allocations: 0 / 0.9925 GB, free: 6.559 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.01064, allocations: 17.72 kB / 0.9925 GB, free: 6.535 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.883e-05/0.01072, allocations: 318.8 kB / 0.9928 GB, free: 6.215 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.875e-05/0.01074, allocations: 4 kB / 0.9929 GB, free: 6.211 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.374e-05/0.01075, allocations: 11.94 kB / 0.9929 GB, free: 6.199 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.774e-05/0.01078, allocations: 8.859 kB / 0.9929 GB, free: 6.188 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.01078, allocations: 4.031 kB / 0.9929 GB, free: 6.184 MB / 0.948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.348e-05/0.01087, allocations: 53.64 kB / 0.9929 GB, free: 6.125 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.01089, allocations: 7.938 kB / 0.9929 GB, free: 6.117 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.0109, allocations: 8 kB / 0.9929 GB, free: 6.109 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.01091, allocations: 0 / 0.9929 GB, free: 6.109 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.01091, allocations: 0 / 0.9929 GB, free: 6.109 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.01092, allocations: 4 kB / 0.9929 GB, free: 6.105 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.328e-05/0.01093, allocations: 0 / 0.9929 GB, free: 6.105 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.01093, allocations: 0 / 0.9929 GB, free: 6.105 MB / 0.948 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 6.156e-05/0.011, allocations: 185.1 kB / 0.9931 GB, free: 5.914 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.01103, allocations: 116.9 kB / 0.9932 GB, free: 5.793 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.923e-05/0.01106, allocations: 112.7 kB / 0.9933 GB, free: 5.68 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.8e-05/0.0111, allocations: 184.2 kB / 0.9935 GB, free: 5.492 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.876e-05/0.01114, allocations: 180.3 kB / 0.9937 GB, free: 5.309 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.71e-05/0.01117, allocations: 176.3 kB / 0.9939 GB, free: 5.129 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.01131, allocations: 388.2 kB / 0.9942 GB, free: 4.699 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-05/0.01133, allocations: 101 kB / 0.9943 GB, free: 4.594 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.44e-05/0.01135, allocations: 112.9 kB / 0.9944 GB, free: 4.477 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.159e-05/0.01139, allocations: 176.3 kB / 0.9946 GB, free: 4.297 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/0.01144, allocations: 184.3 kB / 0.9948 GB, free: 4.109 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-05/0.01147, allocations: 188.2 kB / 0.995 GB, free: 3.918 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.631e-05/0.01151, allocations: 184.2 kB / 0.9951 GB, free: 3.73 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.466e-05/0.01159, allocations: 311.7 kB / 0.9954 GB, free: 3.402 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.984e-05/0.01162, allocations: 104.9 kB / 0.9955 GB, free: 3.293 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.943e-05/0.01167, allocations: 192.1 kB / 0.9957 GB, free: 3.098 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.452e-05/0.01172, allocations: 105.2 kB / 0.9958 GB, free: 2.988 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.01176, allocations: 184.2 kB / 0.996 GB, free: 2.801 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.01179, allocations: 105 kB / 0.9961 GB, free: 2.691 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.02e-05/0.01183, allocations: 101.5 kB / 0.9962 GB, free: 2.594 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01183, allocations: 0 / 0.9962 GB, free: 2.594 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003984/0.01222, allocations: 298.9 kB / 0.9965 GB, free: 2.301 MB / 0.948 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.001069/0.01329, allocations: 1.237 MB / 0.9977 GB, free: 1.031 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.742e-05/0.01338, allocations: 37.7 kB / 0.9977 GB, free: 0.9883 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01338, allocations: 0 / 0.9977 GB, free: 0.9883 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.482e-06/0.01338, allocations: 4 kB / 0.9977 GB, free: 0.9844 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.01368, allocations: 466.4 kB / 0.9982 GB, free: 0.5273 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009983/0.01467, allocations: 1.597 MB / 0.9997 GB, free: 14.84 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.2e-05/0.01472, allocations: 75.58 kB / 0.9998 GB, free: 14.75 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.209e-05/0.01473, allocations: 0 / 0.9998 GB, free: 14.75 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.01475, allocations: 12.5 kB / 0.9998 GB, free: 14.74 MB / 0.9636 GB Notification: Performance of SimCode: time 5.81e-07/0.01475, allocations: 0 / 0.9998 GB, free: 14.74 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01854/0.03329, allocations: 8.005 MB / 1.008 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.854/6.887, allocations: 12.77 kB / 1.008 GB, free: 6.961 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 10.879318606108427]