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.001843/0.001843, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001897/0.001897, allocations: 213 kB / 22.25 MB, free: 5.262 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.691/1.691, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.328/3.328, allocations: 0.4892 GB / 0.7943 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002727/0.002727, allocations: 70.92 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4914/0.4941, allocations: 176.1 MB / 1.326 GB, free: 1.805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006512/0.5006, allocations: 3.798 MB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004312/0.5049, allocations: 2.226 MB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002789/0.5052, allocations: 16 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001733/0.5069, allocations: 0.512 MB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005117/0.5074, allocations: 254 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.5077, allocations: 131.9 kB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009289/0.5086, allocations: 0.8059 MB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004336/0.509, allocations: 211 kB / 1.333 GB, free: 9.824 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004496/0.5095, allocations: 310.9 kB / 1.334 GB, free: 9.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003995/0.5099, allocations: 278.6 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.987e-05/0.51, allocations: 79.98 kB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.5101, allocations: 80 kB / 1.334 GB, free: 9.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002076/0.5103, allocations: 167.4 kB / 1.334 GB, free: 8.926 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000356/0.5107, allocations: 310.7 kB / 1.335 GB, free: 8.621 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.5118, allocations: 1 MB / 1.335 GB, free: 7.617 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.5119, allocations: 3.938 kB / 1.335 GB, free: 7.613 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.645e-06/0.5119, allocations: 3.938 kB / 1.335 GB, free: 7.609 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.5119, allocations: 0 / 1.335 GB, free: 7.609 MB / 1.029 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.001658/0.5135, allocations: 0.886 MB / 1.336 GB, free: 6.691 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.5136, allocations: 12.03 kB / 1.336 GB, free: 6.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.5137, allocations: 84.45 kB / 1.336 GB, free: 6.598 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009205/0.5146, allocations: 400.2 kB / 1.337 GB, free: 6.18 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.662e-05/0.5147, allocations: 37.38 kB / 1.337 GB, free: 6.145 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-05/0.5148, allocations: 48.38 kB / 1.337 GB, free: 6.098 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008243/0.5156, allocations: 426.8 kB / 1.337 GB, free: 5.676 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.5156, allocations: 0 / 1.337 GB, free: 5.676 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.548e-05/0.5157, allocations: 20 kB / 1.337 GB, free: 5.656 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/0.5157, allocations: 15.98 kB / 1.337 GB, free: 5.641 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007691/0.5164, allocations: 367.8 kB / 1.338 GB, free: 5.281 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/0.5186, allocations: 1.172 MB / 1.339 GB, free: 4.074 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006375/0.5193, allocations: 315.2 kB / 1.339 GB, free: 3.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005449/0.5198, allocations: 293 kB / 1.339 GB, free: 3.461 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.5198, allocations: 4.688 kB / 1.339 GB, free: 3.457 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.5199, allocations: 38.5 kB / 1.339 GB, free: 3.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=42): time 1.673e-06/0.5199, allocations: 0 / 1.339 GB, free: 3.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=42): time 0.001096/0.521, allocations: 0.4929 MB / 1.34 GB, free: 2.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.524e-05/0.521, allocations: 59.19 kB / 1.34 GB, free: 2.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005683/0.5216, allocations: 438 kB / 1.34 GB, free: 2.406 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.5216, allocations: 29.7 kB / 1.34 GB, free: 2.371 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.5219, allocations: 276.6 kB / 1.341 GB, free: 2.094 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.5221, allocations: 154.6 kB / 1.341 GB, free: 1.941 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.5222, allocations: 62.08 kB / 1.341 GB, free: 1.871 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002136/0.5224, allocations: 354.8 kB / 1.341 GB, free: 1.516 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/0.5227, allocations: 124.7 kB / 1.341 GB, free: 1.395 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/0.5229, allocations: 133.1 kB / 1.342 GB, free: 1.266 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005607/0.5235, allocations: 286.4 kB / 1.342 GB, free: 0.9844 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.5235, allocations: 0.7656 kB / 1.342 GB, free: 0.9844 MB / 1.029 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007347/0.5242, allocations: 396.5 kB / 1.342 GB, free: 0.5898 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.823e-05/0.5243, allocations: 11.94 kB / 1.342 GB, free: 0.5781 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.5243, allocations: 0 / 1.342 GB, free: 0.5781 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/0.5243, allocations: 4 kB / 1.342 GB, free: 0.5742 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005295/0.5248, allocations: 123.9 kB / 1.342 GB, free: 464 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.5248, allocations: 3.984 kB / 1.342 GB, free: 460 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.525, allocations: 39.7 kB / 1.342 GB, free: 420 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.5251, allocations: 11.94 kB / 1.342 GB, free: 408 kB / 1.029 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.0002649/0.5253, allocations: 198.3 kB / 1.343 GB, free: 200 kB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.53e-05/0.5254, allocations: 51.66 kB / 1.343 GB, free: 148 kB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.5255, allocations: 56.81 kB / 1.343 GB, free: 92 kB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.5255, allocations: 7.938 kB / 1.343 GB, free: 84 kB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.5255, allocations: 0 / 1.343 GB, free: 84 kB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.5255, allocations: 7.984 kB / 1.343 GB, free: 76 kB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005981/0.5261, allocations: 408.9 kB / 1.343 GB, free: 15.64 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5261, allocations: 0 / 1.343 GB, free: 15.64 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005191/0.5267, allocations: 123.9 kB / 1.343 GB, free: 15.52 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.5267, allocations: 7.984 kB / 1.343 GB, free: 15.52 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.5267, allocations: 15.94 kB / 1.343 GB, free: 15.5 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.5267, allocations: 8 kB / 1.343 GB, free: 15.49 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5267, allocations: 0 / 1.343 GB, free: 15.49 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.5278, allocations: 0.6443 MB / 1.344 GB, free: 14.83 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.811e-05/0.5279, allocations: 55.62 kB / 1.344 GB, free: 14.78 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.921e-05/0.528, allocations: 15.92 kB / 1.344 GB, free: 14.76 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.5282, allocations: 8 kB / 1.344 GB, free: 14.75 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.648e-05/0.5283, allocations: 27.95 kB / 1.344 GB, free: 14.73 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.5283, allocations: 12 kB / 1.344 GB, free: 14.71 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003974/0.5287, allocations: 319.1 kB / 1.344 GB, free: 14.4 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.5287, allocations: 0 / 1.344 GB, free: 14.4 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004528/0.5291, allocations: 151.6 kB / 1.344 GB, free: 14.25 MB / 1.045 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.0001958/0.5293, allocations: 115.2 kB / 1.344 GB, free: 14.13 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006518/0.53, allocations: 296 kB / 1.345 GB, free: 13.84 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.53, allocations: 3.938 kB / 1.345 GB, free: 13.84 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000306/0.5303, allocations: 171.6 kB / 1.345 GB, free: 13.67 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006416/0.5309, allocations: 106.7 kB / 1.345 GB, free: 13.57 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.533, allocations: 1.201 MB / 1.346 GB, free: 12.34 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.5333, allocations: 271 kB / 1.346 GB, free: 12.05 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001745/0.5335, allocations: 39.39 kB / 1.347 GB, free: 12.01 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.5336, allocations: 35.44 kB / 1.347 GB, free: 11.97 MB / 1.045 GB Notification: Performance of SimCode: time 3.31e-07/0.5336, allocations: 4 kB / 1.347 GB, free: 11.97 MB / 1.045 GB Notification: Performance of Templates: time 0.01242/0.546, allocations: 5.827 MB / 1.352 GB, free: 6.293 MB / 1.045 GB " [Timeout remaining time 299] 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: 10.110669802874327]