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.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.001489/0.001489, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001594/0.001594, allocations: 161.4 kB / 22.45 MB, free: 5.375 MB / 14.72 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.527/1.527, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 2.902/2.902, allocations: 377.8 MB / 0.6221 GB, free: 12.63 MB / 0.5919 GB " [Timeout remaining time 176] 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: 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_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.9815 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.654e-05/3.877e-05, allocations: 6.281 kB / 0.9815 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00278/0.002819, allocations: 1.439 MB / 0.9829 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005037/0.007856, allocations: 2.68 MB / 0.9856 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.918e-05/0.007915, allocations: 0 / 0.9856 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.576e-05/0.007941, allocations: 7.922 kB / 0.9856 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.837e-05/0.008019, allocations: 15.8 kB / 0.9856 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004789/0.01281, allocations: 1.646 MB / 0.9872 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.01292, allocations: 55.61 kB / 0.9872 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.01296, allocations: 4 kB / 0.9873 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.698e-05/0.01301, allocations: 19.98 kB / 0.9873 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.352e-05/0.01304, allocations: 15.92 kB / 0.9873 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.01306, allocations: 4 kB / 0.9873 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002593/0.01565, allocations: 1.485 MB / 0.9887 GB, free: 4.496 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.01567, allocations: 8 kB / 0.9887 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.722e-05/0.01571, allocations: 15.92 kB / 0.9888 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001978/0.01769, allocations: 1.267 MB / 0.99 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.01769, allocations: 3.938 kB / 0.99 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.453e-06/0.0177, allocations: 0 / 0.99 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.0177, allocations: 4 kB / 0.99 GB, free: 3.195 MB / 0.9356 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.0007087/0.01841, allocations: 476 kB / 0.9905 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.01846, allocations: 8.031 kB / 0.9905 GB, free: 2.691 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.157e-05/0.01854, allocations: 80.22 kB / 0.9905 GB, free: 2.613 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.01871, allocations: 191.2 kB / 0.9907 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.198e-05/0.01878, allocations: 154.9 kB / 0.9909 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.578e-05/0.01885, allocations: 150.9 kB / 0.991 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.196e-05/0.01893, allocations: 101.5 kB / 0.9911 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.446e-05/0.01898, allocations: 83.34 kB / 0.9912 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.777e-05/0.01906, allocations: 166.7 kB / 0.9914 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.02e-05/0.01913, allocations: 154.6 kB / 0.9915 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.279e-05/0.0192, allocations: 154.6 kB / 0.9916 GB, free: 1.445 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.01953, allocations: 409.6 kB / 0.992 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.01965, allocations: 169.1 kB / 0.9922 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.572e-05/0.01971, allocations: 84.08 kB / 0.9923 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.201e-05/0.01975, allocations: 75.28 kB / 0.9924 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.756e-05/0.01982, allocations: 109.8 kB / 0.9925 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.051e-06/0.01982, allocations: 0 / 0.9925 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.891e-05/0.01991, allocations: 33.64 kB / 0.9925 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.021e-05/0.02, allocations: 134.6 kB / 0.9926 GB, free: 388 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.02017, allocations: 137.7 kB / 0.9928 GB, free: 240 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.02019, allocations: 29.7 kB / 0.9928 GB, free: 204 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.829e-05/0.02026, allocations: 92.14 kB / 0.9929 GB, free: 108 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.02026, allocations: 0 / 0.9929 GB, free: 108 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.0203, allocations: 17.7 kB / 0.9929 GB, free: 84 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001963/0.02049, allocations: 318.8 kB / 0.9932 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.676e-05/0.02052, allocations: 7.938 kB / 0.9932 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.711e-05/0.02054, allocations: 4 kB / 0.9932 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.775e-05/0.02059, allocations: 20.91 kB / 0.9932 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.02059, allocations: 0 / 0.9932 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001489/0.02074, allocations: 53.66 kB / 0.9933 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.02075, allocations: 4 kB / 0.9933 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/0.02078, allocations: 8.062 kB / 0.9933 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.02079, allocations: 3.938 kB / 0.9933 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.02079, allocations: 0 / 0.9933 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.0208, allocations: 0 / 0.9933 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.507e-05/0.02082, allocations: 3.984 kB / 0.9933 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.02083, allocations: 4 kB / 0.9933 GB, free: 15.64 MB / 0.9512 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.0001229/0.02095, allocations: 185.1 kB / 0.9935 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.64e-05/0.02103, allocations: 108.9 kB / 0.9936 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.18e-05/0.02109, allocations: 112.7 kB / 0.9937 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.353e-05/0.02118, allocations: 192.1 kB / 0.9939 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.471e-05/0.02127, allocations: 180.3 kB / 0.994 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.679e-05/0.02136, allocations: 184.2 kB / 0.9942 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.02162, allocations: 364.8 kB / 0.9946 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.794e-05/0.02167, allocations: 105 kB / 0.9947 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.001e-05/0.02173, allocations: 104.9 kB / 0.9948 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.75e-05/0.02182, allocations: 184.2 kB / 0.9949 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.462e-05/0.02191, allocations: 184.2 kB / 0.9951 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-05/0.02199, allocations: 176.3 kB / 0.9953 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.648e-05/0.02208, allocations: 184.2 kB / 0.9955 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.02226, allocations: 311.7 kB / 0.9958 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.969e-05/0.02234, allocations: 120.9 kB / 0.9959 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.02244, allocations: 176.3 kB / 0.996 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.02254, allocations: 105 kB / 0.9961 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.02267, allocations: 192.1 kB / 0.9963 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-05/0.02272, allocations: 105.3 kB / 0.9964 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.724e-05/0.02281, allocations: 101.8 kB / 0.9965 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.02281, allocations: 0 / 0.9965 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008262/0.02364, allocations: 295 kB / 0.9968 GB, free: 11.87 MB / 0.9512 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.001323/0.02496, allocations: 0.5989 MB / 0.9974 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001379/0.0251, allocations: 41.64 kB / 0.9974 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.0251, allocations: 0 / 0.9974 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.0251, allocations: 0 / 0.9974 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005/0.0256, allocations: 467.7 kB / 0.9979 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003728/0.02597, allocations: 231.8 kB / 0.9981 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.561e-05/0.02605, allocations: 71.58 kB / 0.9982 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.307e-05/0.02606, allocations: 4 kB / 0.9982 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.663e-05/0.02608, allocations: 8.5 kB / 0.9982 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of SimCode: time 4.2e-07/0.02608, allocations: 0 / 0.9982 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of Templates: time 0.01185/0.03792, allocations: 5.901 MB / 1.004 GB, free: 4.555 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.817591574043036]