Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00218/0.00218, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.00281/0.00281, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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 1.618/1.618, allocations: 177.2 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.795/2.795, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.7865 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.184e-05/3.385e-05, allocations: 2.312 kB / 0.7865 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00326/0.003294, allocations: 1.459 MB / 0.7879 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005875/0.009168, allocations: 2.679 MB / 0.7905 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.465e-05/0.009203, allocations: 0 / 0.7905 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.809e-05/0.009231, allocations: 4.438 kB / 0.7905 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.985e-05/0.009301, allocations: 12.45 kB / 0.7905 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.005049/0.01435, allocations: 1.644 MB / 0.7921 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.01446, allocations: 39.67 kB / 0.7922 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.01451, allocations: 8.5 kB / 0.7922 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.604e-05/0.01457, allocations: 23.91 kB / 0.7922 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.936e-05/0.0146, allocations: 9.938 kB / 0.7922 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.01461, allocations: 0 / 0.7922 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003106/0.01772, allocations: 1.493 MB / 0.7937 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.473e-05/0.01775, allocations: 10.5 kB / 0.7937 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.662e-05/0.01778, allocations: 11.94 kB / 0.7937 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002723/0.0205, allocations: 1.27 MB / 0.7949 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.02051, allocations: 0 / 0.7949 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.874e-06/0.02051, allocations: 0 / 0.7949 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.02052, allocations: 0 / 0.7949 GB, free: 4.074 MB / 0.7448 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.0009585/0.02148, allocations: 476 kB / 0.7954 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.02152, allocations: 8.875 kB / 0.7954 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.5e-05/0.02161, allocations: 84.17 kB / 0.7955 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.02181, allocations: 197.8 kB / 0.7957 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.02191, allocations: 158.9 kB / 0.7958 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.584e-05/0.02201, allocations: 160.2 kB / 0.796 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.012e-05/0.0221, allocations: 101.5 kB / 0.7961 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003091/0.02241, allocations: 75.47 kB / 0.7961 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.026e-05/0.0225, allocations: 154.7 kB / 0.7963 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.418e-05/0.02258, allocations: 151.4 kB / 0.7964 GB, free: 2.477 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.386e-05/0.02268, allocations: 154.6 kB / 0.7966 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000388/0.02306, allocations: 418.1 kB / 0.797 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.02319, allocations: 171.9 kB / 0.7971 GB, free: 1.711 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.956e-05/0.02325, allocations: 88.14 kB / 0.7972 GB, free: 1.621 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.96e-05/0.0233, allocations: 75.28 kB / 0.7973 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.159e-05/0.02338, allocations: 105.8 kB / 0.7974 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.02338, allocations: 0 / 0.7974 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 9.721e-05/0.02348, allocations: 37.59 kB / 0.7974 GB, free: 1.391 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.652e-05/0.02358, allocations: 130.6 kB / 0.7976 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.02376, allocations: 139.6 kB / 0.7977 GB, free: 1.105 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.02378, allocations: 27.92 kB / 0.7977 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.016e-05/0.02385, allocations: 92.06 kB / 0.7978 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-06/0.02386, allocations: 0 / 0.7978 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/0.0239, allocations: 21.72 kB / 0.7978 GB, free: 0.9531 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.02409, allocations: 318.8 kB / 0.7981 GB, free: 0.6328 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.78e-05/0.02412, allocations: 4 kB / 0.7981 GB, free: 0.6289 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.769e-05/0.02413, allocations: 4.938 kB / 0.7981 GB, free: 0.625 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.592e-05/0.02418, allocations: 16.86 kB / 0.7982 GB, free: 0.6055 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.02418, allocations: 1.125 kB / 0.7982 GB, free: 0.6055 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001771/0.02436, allocations: 53.58 kB / 0.7982 GB, free: 0.5469 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.02438, allocations: 8 kB / 0.7982 GB, free: 0.5391 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.0244, allocations: 1.125 kB / 0.7982 GB, free: 0.5391 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.02442, allocations: 7.938 kB / 0.7982 GB, free: 0.5312 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.02442, allocations: 0 / 0.7982 GB, free: 0.5312 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.02443, allocations: 1.031 kB / 0.7982 GB, free: 0.5312 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.357e-05/0.02445, allocations: 0 / 0.7982 GB, free: 0.5312 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.02446, allocations: 0 / 0.7982 GB, free: 0.5312 MB / 0.7448 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.0001458/0.0246, allocations: 191.3 kB / 0.7984 GB, free: 344 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.033e-05/0.02469, allocations: 108.9 kB / 0.7985 GB, free: 228 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.389e-05/0.02478, allocations: 112.7 kB / 0.7986 GB, free: 108 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001253/0.0249, allocations: 184.2 kB / 0.7988 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000113/0.02502, allocations: 180.2 kB / 0.799 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001046/0.02512, allocations: 180.8 kB / 0.7991 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/0.02544, allocations: 366.2 kB / 0.7995 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.14e-05/0.02551, allocations: 113 kB / 0.7996 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.936e-05/0.02557, allocations: 101 kB / 0.7997 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001045/0.02567, allocations: 180.2 kB / 0.7999 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/0.02578, allocations: 185.3 kB / 0.8 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001067/0.02589, allocations: 184.3 kB / 0.8002 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001098/0.026, allocations: 184.8 kB / 0.8004 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.02623, allocations: 307.7 kB / 0.8007 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.859e-05/0.0263, allocations: 117 kB / 0.8008 GB, free: 13.74 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.02643, allocations: 184.2 kB / 0.801 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.02654, allocations: 101.3 kB / 0.8011 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.02666, allocations: 184.2 kB / 0.8012 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.55e-05/0.02672, allocations: 109 kB / 0.8013 GB, free: 13.15 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 9.706e-05/0.02682, allocations: 105.4 kB / 0.8014 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.02682, allocations: 3.938 kB / 0.8015 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001039/0.02786, allocations: 298.9 kB / 0.8017 GB, free: 12.75 MB / 0.7605 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.0018/0.02966, allocations: 0.5812 MB / 0.8023 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001257/0.02978, allocations: 41.69 kB / 0.8023 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.02978, allocations: 0 / 0.8023 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 2.465e-06/0.02979, allocations: 3.938 kB / 0.8023 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005879/0.03038, allocations: 460.5 kB / 0.8028 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/0.03082, allocations: 245.3 kB / 0.803 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.2e-05/0.0309, allocations: 63.34 kB / 0.8031 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.759e-05/0.03092, allocations: 0 / 0.8031 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/0.03095, allocations: 12.5 kB / 0.8031 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of SimCode: time 8.12e-07/0.03095, allocations: 0 / 0.8031 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of Templates: time 0.01426/0.04521, allocations: 5.95 MB / 0.8089 GB, free: 5.402 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.401350802974775]