Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.0014/0.0014, 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.0009199/0.0009199, allocations: 170.3 kB / 22.45 MB, free: 2.109 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.8486/0.8486, allocations: 177.1 MB / 202.8 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.729/1.729, allocations: 389.1 MB / 0.6331 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.9998 GB, free: 13.4 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035e-05/1.173e-05, allocations: 4.953 kB / 0.9998 GB, free: 13.4 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00152/0.001532, allocations: 1.43 MB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002675/0.004207, allocations: 2.677 MB / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.752e-05/0.004235, allocations: 0 / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.186e-05/0.004257, allocations: 3.984 kB / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.736e-05/0.004304, allocations: 15.8 kB / 1.004 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.006513, allocations: 1.646 MB / 1.005 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.938e-05/0.006583, allocations: 55.61 kB / 1.005 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.006617, allocations: 11.89 kB / 1.005 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.545e-05/0.006653, allocations: 15.98 kB / 1.005 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.026e-05/0.006673, allocations: 15.92 kB / 1.006 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.006684, allocations: 4 kB / 1.006 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.007956, allocations: 1.489 MB / 1.007 GB, free: 6.023 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.798e-06/0.007966, allocations: 7.938 kB / 1.007 GB, free: 6.016 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.822e-05/0.007984, allocations: 15.88 kB / 1.007 GB, free: 6 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0009632/0.008947, allocations: 1.27 MB / 1.008 GB, free: 4.727 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.00895, allocations: 0 / 1.008 GB, free: 4.727 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.31e-07/0.00895, allocations: 0 / 1.008 GB, free: 4.727 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.008954, allocations: 4 kB / 1.008 GB, free: 4.723 MB / 0.9636 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.0003689/0.009323, allocations: 468 kB / 1.009 GB, free: 4.234 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.00936, allocations: 15.97 kB / 1.009 GB, free: 4.219 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.752e-05/0.009397, allocations: 106 kB / 1.009 GB, free: 4.105 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.00944, allocations: 80.17 kB / 1.009 GB, free: 4.027 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.561e-05/0.009535, allocations: 204.9 kB / 1.009 GB, free: 3.801 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/0.009572, allocations: 150.9 kB / 1.009 GB, free: 3.652 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.607e-05/0.009608, allocations: 150.9 kB / 1.009 GB, free: 3.504 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.761e-05/0.009656, allocations: 105.5 kB / 1.009 GB, free: 3.395 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.009675, allocations: 79.41 kB / 1.01 GB, free: 3.316 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.576e-05/0.009711, allocations: 158.5 kB / 1.01 GB, free: 3.16 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.259e-05/0.009743, allocations: 154.6 kB / 1.01 GB, free: 3.008 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.64e-05/0.00978, allocations: 158.5 kB / 1.01 GB, free: 2.852 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.009979, allocations: 437 kB / 1.01 GB, free: 2.383 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.042e-05/0.01004, allocations: 165.1 kB / 1.011 GB, free: 2.211 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.372e-05/0.01006, allocations: 84.14 kB / 1.011 GB, free: 2.125 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.01008, allocations: 79.28 kB / 1.011 GB, free: 2.047 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.01011, allocations: 109.8 kB / 1.011 GB, free: 1.93 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 6.52e-07/0.01011, allocations: 0 / 1.011 GB, free: 1.93 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 6.173e-05/0.01018, allocations: 37.59 kB / 1.011 GB, free: 1.887 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.01022, allocations: 126.7 kB / 1.011 GB, free: 1.75 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.01032, allocations: 135.5 kB / 1.011 GB, free: 1.609 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.679e-06/0.01033, allocations: 29.7 kB / 1.011 GB, free: 1.574 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.617e-05/0.01036, allocations: 88.12 kB / 1.011 GB, free: 1.484 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-06/0.01037, allocations: 0 / 1.011 GB, free: 1.484 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.01039, allocations: 21.72 kB / 1.011 GB, free: 1.457 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.453e-05/0.01047, allocations: 318.8 kB / 1.012 GB, free: 1.137 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.849e-05/0.01049, allocations: 4 kB / 1.012 GB, free: 1.133 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.237e-05/0.0105, allocations: 4 kB / 1.012 GB, free: 1.129 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.346e-05/0.01053, allocations: 16.8 kB / 1.012 GB, free: 1.109 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01054, allocations: 4.062 kB / 1.012 GB, free: 1.105 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.723e-05/0.01063, allocations: 53.64 kB / 1.012 GB, free: 1.047 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.01065, allocations: 12 kB / 1.012 GB, free: 1.035 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.01066, allocations: 4 kB / 1.012 GB, free: 1.031 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.01067, allocations: 0 / 1.012 GB, free: 1.031 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.01067, allocations: 0 / 1.012 GB, free: 1.031 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.01068, allocations: 4 kB / 1.012 GB, free: 1.027 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.289e-05/0.01077, allocations: 7.891 kB / 1.012 GB, free: 1.02 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.01078, allocations: 0 / 1.012 GB, free: 1.02 MB / 0.9636 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.474e-05/0.01084, allocations: 189.1 kB / 1.012 GB, free: 0.8242 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/0.01088, allocations: 108.9 kB / 1.012 GB, free: 0.7109 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.344e-05/0.01091, allocations: 112.7 kB / 1.012 GB, free: 0.5938 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.665e-05/0.01095, allocations: 180.3 kB / 1.012 GB, free: 420 kB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.95e-05/0.01099, allocations: 184.2 kB / 1.012 GB, free: 228 kB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-05/0.01102, allocations: 176.3 kB / 1.013 GB, free: 44 kB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.01118, allocations: 396.2 kB / 1.013 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.96e-05/0.01119, allocations: 101 kB / 1.013 GB, free: 15.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.174e-05/0.01122, allocations: 105 kB / 1.013 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-05/0.01125, allocations: 180.2 kB / 1.013 GB, free: 15.21 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.832e-05/0.01129, allocations: 184.2 kB / 1.013 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.685e-05/0.01133, allocations: 188.2 kB / 1.014 GB, free: 14.83 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.48e-05/0.01136, allocations: 180.3 kB / 1.014 GB, free: 14.64 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.038e-05/0.01144, allocations: 307.7 kB / 1.014 GB, free: 14.32 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 2.987e-05/0.01147, allocations: 116.9 kB / 1.014 GB, free: 14.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.597e-05/0.01152, allocations: 188.1 kB / 1.014 GB, free: 14.01 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.278e-05/0.01156, allocations: 101.3 kB / 1.015 GB, free: 13.9 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.0116, allocations: 180.2 kB / 1.015 GB, free: 13.72 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.01162, allocations: 109 kB / 1.015 GB, free: 13.61 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 4.175e-05/0.01166, allocations: 105.4 kB / 1.015 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.01166, allocations: 0 / 1.015 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003874/0.01205, allocations: 298.9 kB / 1.015 GB, free: 13.21 MB / 0.9792 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.0008537/0.0129, allocations: 1.229 MB / 1.016 GB, free: 11.95 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 7.738e-05/0.01298, allocations: 33.7 kB / 1.016 GB, free: 11.91 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01298, allocations: 0 / 1.016 GB, free: 11.91 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.01298, allocations: 0 / 1.016 GB, free: 11.91 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.01325, allocations: 471.7 kB / 1.017 GB, free: 11.45 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008999/0.01415, allocations: 1.589 MB / 1.018 GB, free: 9.777 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.773e-05/0.01419, allocations: 67.33 kB / 1.018 GB, free: 9.691 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 1.097e-05/0.0142, allocations: 4 kB / 1.018 GB, free: 9.688 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.132e-05/0.01422, allocations: 12.5 kB / 1.018 GB, free: 9.676 MB / 0.9792 GB Notification: Performance of SimCode: time 3.51e-07/0.01422, allocations: 0 / 1.018 GB, free: 9.676 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01809/0.03231, allocations: 8.018 MB / 1.026 GB, free: 1.879 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.741/6.773, allocations: 12.98 kB / 1.026 GB, free: 1.871 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.679675254970789]