Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_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=5000,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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 104.6 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 183 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.321/2.321, allocations: 390.2 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 71.89 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061/1.062, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004704/1.067, allocations: 4.153 MB / 1.093 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003413/1.071, allocations: 2.42 MB / 1.095 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003422/1.071, allocations: 10.69 kB / 1.095 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001716/1.073, allocations: 0.5376 MB / 1.096 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005885/1.073, allocations: 251.5 kB / 1.096 GB, free: 380 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/1.074, allocations: 138.3 kB / 1.096 GB, free: 288 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009681/1.075, allocations: 0.8117 MB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000568/1.075, allocations: 335.1 kB / 1.097 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004694/1.076, allocations: 290.3 kB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004482/1.076, allocations: 332.2 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000129/1.076, allocations: 74.03 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/1.076, allocations: 74.72 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001907/1.077, allocations: 172.6 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004116/1.077, allocations: 388.2 kB / 1.098 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001198/1.078, allocations: 0.9847 MB / 1.099 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/1.078, allocations: 5.188 kB / 1.099 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.432e-06/1.078, allocations: 3.938 kB / 1.099 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.634e-05/1.078, allocations: 0.6094 kB / 1.099 GB, free: 14.68 MB / 0.8731 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.001648/1.08, allocations: 0.9485 MB / 1.1 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/1.08, allocations: 8.844 kB / 1.1 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/1.08, allocations: 72.56 kB / 1.1 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007491/1.081, allocations: 464.4 kB / 1.101 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.877e-05/1.081, allocations: 40.94 kB / 1.101 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.405e-05/1.081, allocations: 43.03 kB / 1.101 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008682/1.082, allocations: 430 kB / 1.101 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/1.082, allocations: 5.859 kB / 1.101 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.267e-05/1.082, allocations: 20.03 kB / 1.101 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/1.082, allocations: 11.72 kB / 1.101 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007728/1.083, allocations: 369.6 kB / 1.102 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00246/1.085, allocations: 1.523 MB / 1.103 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006106/1.086, allocations: 342 kB / 1.103 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006326/1.087, allocations: 321.4 kB / 1.104 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/1.087, allocations: 8.938 kB / 1.104 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/1.087, allocations: 41.38 kB / 1.104 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=42): time 1.934e-06/1.087, allocations: 0 / 1.104 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of matching and sorting (n=42): time 0.00109/1.088, allocations: 0.495 MB / 1.104 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/1.088, allocations: 55.94 kB / 1.104 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006549/1.088, allocations: 485.8 kB / 1.105 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/1.088, allocations: 36.39 kB / 1.105 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000214/1.089, allocations: 270.9 kB / 1.105 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/1.089, allocations: 143.3 kB / 1.105 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/1.089, allocations: 61.97 kB / 1.105 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001732/1.089, allocations: 363.2 kB / 1.106 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/1.089, allocations: 123.8 kB / 1.106 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/1.09, allocations: 127.5 kB / 1.106 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005169/1.09, allocations: 297.5 kB / 1.106 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/1.09, allocations: 0 / 1.106 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006956/1.091, allocations: 400.6 kB / 1.107 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/1.091, allocations: 9.891 kB / 1.107 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/1.091, allocations: 0 / 1.107 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/1.091, allocations: 2.531 kB / 1.107 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000503/1.091, allocations: 123.5 kB / 1.107 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/1.091, allocations: 3.188 kB / 1.107 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/1.092, allocations: 39.06 kB / 1.107 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/1.092, allocations: 16.19 kB / 1.107 GB, free: 10.24 MB / 0.8731 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.0002464/1.092, allocations: 199.7 kB / 1.107 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.43e-05/1.092, allocations: 51.84 kB / 1.107 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/1.092, allocations: 61.28 kB / 1.107 GB, free: 10 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/1.092, allocations: 4 kB / 1.107 GB, free: 10 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/1.092, allocations: 1.188 kB / 1.107 GB, free: 10 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/1.092, allocations: 2.016 kB / 1.107 GB, free: 10 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007714/1.093, allocations: 0.5699 MB / 1.108 GB, free: 9.645 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/1.093, allocations: 0 / 1.108 GB, free: 9.645 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005343/1.094, allocations: 132.5 kB / 1.108 GB, free: 9.629 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/1.094, allocations: 3.141 kB / 1.108 GB, free: 9.629 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/1.094, allocations: 6.438 kB / 1.108 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/1.094, allocations: 2.344 kB / 1.108 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/1.094, allocations: 0 / 1.108 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/1.095, allocations: 0.648 MB / 1.108 GB, free: 9.27 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/1.095, allocations: 136.3 kB / 1.109 GB, free: 9.137 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.586e-05/1.095, allocations: 11.62 kB / 1.109 GB, free: 9.129 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/1.095, allocations: 11.19 kB / 1.109 GB, free: 9.125 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.772e-05/1.095, allocations: 23.52 kB / 1.109 GB, free: 9.121 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/1.095, allocations: 12.45 kB / 1.109 GB, free: 9.117 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004371/1.096, allocations: 352.7 kB / 1.109 GB, free: 8.949 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.31e-07/1.096, allocations: 1.25 kB / 1.109 GB, free: 8.949 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004559/1.096, allocations: 148.3 kB / 1.109 GB, free: 8.914 MB / 0.8731 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.0001562/1.096, allocations: 120.5 kB / 1.109 GB, free: 8.812 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006277/1.097, allocations: 326.4 kB / 1.109 GB, free: 8.699 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.097, allocations: 0 / 1.109 GB, free: 8.699 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002981/1.097, allocations: 186.9 kB / 1.11 GB, free: 8.629 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006847/1.098, allocations: 132.5 kB / 1.11 GB, free: 8.57 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/1.1, allocations: 1.218 MB / 1.111 GB, free: 7.828 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/1.101, allocations: 0.868 MB / 1.112 GB, free: 7.117 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/1.101, allocations: 38.19 kB / 1.112 GB, free: 7.109 MB / 0.8731 GB Notification: Performance of SimCode: time 4.2e-07/1.101, allocations: 0 / 1.112 GB, free: 7.109 MB / 0.8731 GB Notification: Performance of Templates: time 0.01393/1.115, allocations: 6.898 MB / 1.119 GB, free: 6.305 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches