Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.002194/0.002194, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.003106/0.003106, allocations: 168.5 kB / 22.46 MB, free: 5.359 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.515/1.515, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.885/2.885, allocations: 377.8 MB / 0.6221 GB, free: 12.6 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.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.9815 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.988e-05/3.173e-05, allocations: 9.516 kB / 0.9815 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005519/0.00555, allocations: 3.801 MB / 0.9852 GB, free: 7.047 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003763/0.009314, allocations: 2.234 MB / 0.9874 GB, free: 4.801 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002598/0.009573, allocations: 15.94 kB / 0.9874 GB, free: 4.785 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001726/0.0113, allocations: 0.5167 MB / 0.9879 GB, free: 4.266 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004875/0.01179, allocations: 257.8 kB / 0.9882 GB, free: 4.012 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.01203, allocations: 135.8 kB / 0.9883 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0008924/0.01292, allocations: 0.8366 MB / 0.9891 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003858/0.01331, allocations: 223 kB / 0.9893 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005955/0.01391, allocations: 467 kB / 0.9898 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003557/0.01426, allocations: 235.3 kB / 0.99 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.9e-05/0.01436, allocations: 76 kB / 0.9901 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.01448, allocations: 76 kB / 0.9901 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.01467, allocations: 171.4 kB / 0.9903 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003177/0.01499, allocations: 263.4 kB / 0.9905 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.01612, allocations: 1.001 MB / 0.9915 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.01612, allocations: 0 / 0.9915 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.443e-06/0.01612, allocations: 0 / 0.9915 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.01613, allocations: 0 / 0.9915 GB, free: 0.5547 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001598/0.01773, allocations: 0.8938 MB / 0.9924 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.01777, allocations: 8.031 kB / 0.9924 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.0179, allocations: 76.47 kB / 0.9925 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006974/0.0186, allocations: 399.5 kB / 0.9929 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/0.01863, allocations: 33.38 kB / 0.9929 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-05/0.01872, allocations: 48.38 kB / 0.9929 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008553/0.01957, allocations: 427 kB / 0.9933 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.01959, allocations: 4.188 kB / 0.9933 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.65e-05/0.01964, allocations: 20.38 kB / 0.9934 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.01966, allocations: 19.92 kB / 0.9934 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007537/0.02041, allocations: 367.8 kB / 0.9937 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002003/0.02242, allocations: 1.16 MB / 0.9949 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006106/0.02303, allocations: 319.4 kB / 0.9952 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005244/0.02355, allocations: 282.3 kB / 0.9954 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.02358, allocations: 8 kB / 0.9954 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.02362, allocations: 39.25 kB / 0.9955 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=42): time 1.653e-06/0.02362, allocations: 0 / 0.9955 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of matching and sorting (n=42): time 0.001058/0.02468, allocations: 496.5 kB / 0.996 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.02474, allocations: 59.34 kB / 0.996 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005508/0.02529, allocations: 442 kB / 0.9964 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/0.02532, allocations: 33.7 kB / 0.9965 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.02555, allocations: 276.5 kB / 0.9967 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.0257, allocations: 158.6 kB / 0.9969 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.02581, allocations: 62.08 kB / 0.9969 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.02601, allocations: 358.8 kB / 0.9973 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002675/0.02627, allocations: 116.7 kB / 0.9974 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.02654, allocations: 129.2 kB / 0.9975 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005826/0.02712, allocations: 302.2 kB / 0.9978 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.02713, allocations: 0 / 0.9978 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007092/0.02784, allocations: 392.5 kB / 0.9982 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.02785, allocations: 4 kB / 0.9982 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.02786, allocations: 0 / 0.9982 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.02788, allocations: 4 kB / 0.9982 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005509/0.02843, allocations: 127.8 kB / 0.9983 GB, free: 9.414 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.02844, allocations: 0.7656 kB / 0.9983 GB, free: 9.414 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.02865, allocations: 31.83 kB / 0.9983 GB, free: 9.383 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.02867, allocations: 12 kB / 0.9984 GB, free: 9.371 MB / 0.9044 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 (46): * Single equations (assignments): 46 * 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.0002442/0.02892, allocations: 197.8 kB / 0.9985 GB, free: 9.168 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-05/0.029, allocations: 51.59 kB / 0.9986 GB, free: 9.117 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.02911, allocations: 60.81 kB / 0.9987 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.02912, allocations: 4 kB / 0.9987 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.02913, allocations: 7.875 kB / 0.9987 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.02913, allocations: 3.984 kB / 0.9987 GB, free: 9.043 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005739/0.02971, allocations: 416.9 kB / 0.9991 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.02971, allocations: 0 / 0.9991 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005673/0.03028, allocations: 131.8 kB / 0.9992 GB, free: 8.477 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.03028, allocations: 0 / 0.9992 GB, free: 8.477 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/0.03031, allocations: 12 kB / 0.9992 GB, free: 8.465 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.03031, allocations: 0 / 0.9992 GB, free: 8.465 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.03031, allocations: 0 / 0.9992 GB, free: 8.465 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.03142, allocations: 0.6482 MB / 0.9998 GB, free: 7.801 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.982e-05/0.03151, allocations: 51.66 kB / 0.9999 GB, free: 7.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.204e-05/0.03157, allocations: 7.984 kB / 0.9999 GB, free: 7.742 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.0318, allocations: 16 kB / 0.9999 GB, free: 7.727 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.986e-05/0.03188, allocations: 27.89 kB / 0.9999 GB, free: 7.699 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.0319, allocations: 23.92 kB / 1 GB, free: 7.676 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003852/0.03229, allocations: 311.1 kB / 1 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.03229, allocations: 0 / 1 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004563/0.03274, allocations: 155.6 kB / 1 GB, free: 7.219 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.0001795/0.03292, allocations: 111.2 kB / 1.001 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000646/0.03357, allocations: 300 kB / 1.001 GB, free: 6.809 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.03357, allocations: 4 kB / 1.001 GB, free: 6.805 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000311/0.03388, allocations: 163.8 kB / 1.001 GB, free: 6.645 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006013/0.03448, allocations: 106.1 kB / 1.001 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.03656, allocations: 1.09 MB / 1.002 GB, free: 5.422 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.03696, allocations: 271.2 kB / 1.002 GB, free: 5.133 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001796/0.03714, allocations: 51.31 kB / 1.002 GB, free: 5.082 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.03727, allocations: 32.5 kB / 1.002 GB, free: 5.051 MB / 0.9044 GB Notification: Performance of SimCode: time 9.92e-07/0.03727, allocations: 0 / 1.002 GB, free: 5.051 MB / 0.9044 GB Notification: Performance of Templates: time 0.01159/0.04886, allocations: 4.943 MB / 1.007 GB, free: 268 kB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.446557264775038]