Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.001305/0.001305, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001581/0.001581, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.9077/0.9077, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.73/1.73, allocations: 377.8 MB / 0.6228 GB, free: 8.656 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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.9823 GB, free: 2.031 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.943e-05/3.123e-05, allocations: 6.219 kB / 0.9823 GB, free: 2.023 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003158/0.003189, allocations: 2.865 MB / 0.9851 GB, free: 15.14 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002016/0.005205, allocations: 1.95 MB / 0.987 GB, free: 13.18 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.005386, allocations: 8 kB / 0.987 GB, free: 13.18 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.006514, allocations: 493.4 kB / 0.9874 GB, free: 12.69 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.006685, allocations: 146.8 kB / 0.9876 GB, free: 12.55 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 9.298e-05/0.006778, allocations: 55.94 kB / 0.9876 GB, free: 12.49 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003602/0.007138, allocations: 471.5 kB / 0.9881 GB, free: 12.03 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.007332, allocations: 95.84 kB / 0.9882 GB, free: 11.93 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003051/0.007637, allocations: 251.3 kB / 0.9884 GB, free: 11.69 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.007798, allocations: 127.6 kB / 0.9885 GB, free: 11.56 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.636e-05/0.007835, allocations: 36 kB / 0.9886 GB, free: 11.53 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.022e-05/0.007875, allocations: 36 kB / 0.9886 GB, free: 11.49 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.007975, allocations: 95.61 kB / 0.9887 GB, free: 11.4 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.008084, allocations: 143.7 kB / 0.9888 GB, free: 11.26 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004208/0.008505, allocations: 0.5296 MB / 0.9894 GB, free: 10.73 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.008509, allocations: 3.984 kB / 0.9894 GB, free: 10.72 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.994e-06/0.008511, allocations: 4 kB / 0.9894 GB, free: 10.72 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.872e-06/0.008518, allocations: 0 / 0.9894 GB, free: 10.72 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008223/0.009341, allocations: 0.6367 MB / 0.99 GB, free: 10.05 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.009382, allocations: 8.031 kB / 0.99 GB, free: 10.04 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.438e-05/0.009447, allocations: 48.66 kB / 0.99 GB, free: 9.996 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003939/0.009841, allocations: 315.9 kB / 0.9903 GB, free: 9.664 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.00986, allocations: 16.88 kB / 0.9904 GB, free: 9.648 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.782e-05/0.009898, allocations: 20.38 kB / 0.9904 GB, free: 9.629 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.0102, allocations: 204.6 kB / 0.9906 GB, free: 9.426 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.01021, allocations: 4.141 kB / 0.9906 GB, free: 9.422 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.01023, allocations: 8.375 kB / 0.9906 GB, free: 9.414 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.01024, allocations: 11.94 kB / 0.9906 GB, free: 9.402 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.01048, allocations: 161.9 kB / 0.9907 GB, free: 9.242 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007606/0.01124, allocations: 0.6325 MB / 0.9914 GB, free: 8.578 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.01146, allocations: 146.5 kB / 0.9915 GB, free: 8.426 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.01159, allocations: 103.3 kB / 0.9916 GB, free: 8.324 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.0116, allocations: 4 kB / 0.9916 GB, free: 8.32 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.01163, allocations: 42.5 kB / 0.9917 GB, free: 8.27 MB / 0.948 GB Notification: Performance of pre-optimization done (n=18): time 2.235e-06/0.01163, allocations: 0 / 0.9917 GB, free: 8.27 MB / 0.948 GB Notification: Performance of matching and sorting (n=18): time 0.0003937/0.01202, allocations: 245.6 kB / 0.9919 GB, free: 8.023 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.01206, allocations: 55.41 kB / 0.9919 GB, free: 7.957 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003091/0.01237, allocations: 389.7 kB / 0.9923 GB, free: 7.562 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.01239, allocations: 37.69 kB / 0.9923 GB, free: 7.52 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.0125, allocations: 200.4 kB / 0.9925 GB, free: 7.32 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.093e-05/0.01255, allocations: 71.42 kB / 0.9926 GB, free: 7.25 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.01259, allocations: 37.64 kB / 0.9926 GB, free: 7.207 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.0127, allocations: 354.7 kB / 0.993 GB, free: 6.852 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.785e-05/0.01279, allocations: 55.92 kB / 0.993 GB, free: 6.797 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.868e-05/0.01287, allocations: 55.91 kB / 0.9931 GB, free: 6.742 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.01305, allocations: 139 kB / 0.9932 GB, free: 6.605 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01305, allocations: 0 / 0.9932 GB, free: 6.605 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002338/0.01329, allocations: 209.3 kB / 0.9934 GB, free: 6.395 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.01331, allocations: 8 kB / 0.9934 GB, free: 6.387 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.01331, allocations: 0 / 0.9934 GB, free: 6.387 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.01333, allocations: 3.984 kB / 0.9934 GB, free: 6.383 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.01348, allocations: 55.91 kB / 0.9935 GB, free: 6.328 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002828/0.01376, allocations: 4 kB / 0.9935 GB, free: 6.324 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.076e-05/0.01384, allocations: 19.81 kB / 0.9935 GB, free: 6.305 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.01384, allocations: 8 kB / 0.9935 GB, free: 6.297 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001175/0.01396, allocations: 161.8 kB / 0.9937 GB, free: 6.129 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.347e-05/0.014, allocations: 35.81 kB / 0.9937 GB, free: 6.094 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.747e-05/0.01404, allocations: 35.41 kB / 0.9937 GB, free: 6.062 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.01405, allocations: 0 / 0.9937 GB, free: 6.062 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.01405, allocations: 0 / 0.9937 GB, free: 6.062 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01405, allocations: 0 / 0.9937 GB, free: 6.062 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.01428, allocations: 277.1 kB / 0.994 GB, free: 5.762 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.01429, allocations: 7.938 kB / 0.994 GB, free: 5.754 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.01443, allocations: 47.97 kB / 0.9941 GB, free: 5.707 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.01443, allocations: 4 kB / 0.9941 GB, free: 5.703 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.01444, allocations: 8 kB / 0.9941 GB, free: 5.695 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.01445, allocations: 4 kB / 0.9941 GB, free: 5.691 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.01445, allocations: 3.984 kB / 0.9941 GB, free: 5.688 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003941/0.01484, allocations: 381.5 kB / 0.9944 GB, free: 5.301 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.547e-05/0.01489, allocations: 39.69 kB / 0.9945 GB, free: 5.262 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.01491, allocations: 8 kB / 0.9945 GB, free: 5.254 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.703e-05/0.01499, allocations: 7.984 kB / 0.9945 GB, free: 5.246 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.01504, allocations: 16.05 kB / 0.9945 GB, free: 5.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.01504, allocations: 4 kB / 0.9945 GB, free: 5.227 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001994/0.01524, allocations: 283.2 kB / 0.9948 GB, free: 4.953 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.01524, allocations: 0 / 0.9948 GB, free: 4.953 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002005/0.01544, allocations: 75.89 kB / 0.9948 GB, free: 4.879 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0001174/0.01556, allocations: 107.2 kB / 0.995 GB, free: 4.762 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002297/0.01579, allocations: 142.1 kB / 0.9951 GB, free: 4.625 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01579, allocations: 4 kB / 0.9951 GB, free: 4.621 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.927e-05/0.01588, allocations: 75.91 kB / 0.9952 GB, free: 4.547 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.01623, allocations: 80.08 kB / 0.9952 GB, free: 4.469 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008758/0.01711, allocations: 0.7213 MB / 0.9959 GB, free: 3.715 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.01724, allocations: 198.1 kB / 0.9961 GB, free: 3.504 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.515e-05/0.01729, allocations: 24.5 kB / 0.9962 GB, free: 3.48 MB / 0.948 GB Notification: Performance of SimCode: time 8.82e-07/0.0173, allocations: 0 / 0.9962 GB, free: 3.48 MB / 0.948 GB Notification: Performance of Templates: time 0.004772/0.02207, allocations: 4.349 MB / 1 GB, free: 15.16 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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: 7.075014181435108]