Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001483/0.001483, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001478/0.001478, allocations: 183 kB / 17.34 MB, free: 5.766 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.721/2.721, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 67.89 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022/1.024, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00606/1.03, allocations: 4.172 MB / 1.213 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004036/1.034, allocations: 2.409 MB / 1.215 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006694/1.035, allocations: 12 kB / 1.215 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00208/1.037, allocations: 0.5383 MB / 1.215 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0009101/1.038, allocations: 254 kB / 1.216 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004385/1.039, allocations: 135.9 kB / 1.216 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001258/1.04, allocations: 0.8136 MB / 1.217 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006059/1.04, allocations: 322.5 kB / 1.217 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005403/1.041, allocations: 294.9 kB / 1.217 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005985/1.042, allocations: 322.6 kB / 1.217 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001917/1.042, allocations: 79.94 kB / 1.218 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000243/1.042, allocations: 79.94 kB / 1.218 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002131/1.042, allocations: 163.5 kB / 1.218 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005424/1.043, allocations: 394.2 kB / 1.218 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001027/1.044, allocations: 0.985 MB / 1.219 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/1.044, allocations: 0 / 1.219 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.684e-06/1.044, allocations: 0 / 1.219 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.556e-05/1.044, allocations: 0 / 1.219 GB, free: 2.664 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001835/1.046, allocations: 0.9502 MB / 1.22 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/1.046, allocations: 12.03 kB / 1.22 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/1.046, allocations: 76.03 kB / 1.22 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007064/1.047, allocations: 465.6 kB / 1.221 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/1.047, allocations: 37.38 kB / 1.221 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.163e-05/1.047, allocations: 48.36 kB / 1.221 GB, free: 1 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000753/1.048, allocations: 430.8 kB / 1.221 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/1.048, allocations: 0 / 1.221 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.882e-05/1.048, allocations: 20 kB / 1.221 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/1.048, allocations: 12 kB / 1.221 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006662/1.048, allocations: 367.8 kB / 1.221 GB, free: 188 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/1.05, allocations: 1.524 MB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005056/1.051, allocations: 335.5 kB / 1.223 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004532/1.051, allocations: 324.7 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/1.051, allocations: 4.688 kB / 1.224 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/1.051, allocations: 42.5 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=42): time 2.274e-06/1.051, allocations: 0 / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of matching and sorting (n=42): time 0.0009509/1.052, allocations: 0.5009 MB / 1.224 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/1.052, allocations: 59.19 kB / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005384/1.053, allocations: 485.9 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/1.053, allocations: 29.7 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/1.053, allocations: 276.4 kB / 1.225 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/1.053, allocations: 145.8 kB / 1.225 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.759e-05/1.053, allocations: 66.08 kB / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001427/1.053, allocations: 362.7 kB / 1.225 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/1.054, allocations: 120.7 kB / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/1.054, allocations: 125.5 kB / 1.226 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004952/1.054, allocations: 302.2 kB / 1.226 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.054, allocations: 0 / 1.226 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006124/1.055, allocations: 400.2 kB / 1.226 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/1.055, allocations: 4 kB / 1.226 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/1.055, allocations: 0 / 1.226 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/1.055, allocations: 4 kB / 1.226 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004946/1.056, allocations: 123.9 kB / 1.227 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/1.056, allocations: 0 / 1.227 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/1.056, allocations: 39.58 kB / 1.227 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/1.056, allocations: 16 kB / 1.227 GB, free: 10.79 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 (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.0002181/1.056, allocations: 189.8 kB / 1.227 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.84e-05/1.056, allocations: 55.36 kB / 1.227 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/1.056, allocations: 61.11 kB / 1.227 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/1.056, allocations: 4 kB / 1.227 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.517e-06/1.056, allocations: 0 / 1.227 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/1.056, allocations: 3.984 kB / 1.227 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006308/1.057, allocations: 0.5751 MB / 1.227 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/1.057, allocations: 7.984 kB / 1.227 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005015/1.058, allocations: 127.8 kB / 1.228 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/1.058, allocations: 0 / 1.228 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/1.058, allocations: 12 kB / 1.228 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/1.058, allocations: 0 / 1.228 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.058, allocations: 3.938 kB / 1.228 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009445/1.059, allocations: 0.6557 MB / 1.228 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/1.059, allocations: 140.4 kB / 1.228 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.014e-05/1.059, allocations: 4 kB / 1.228 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/1.059, allocations: 15.98 kB / 1.228 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.177e-05/1.059, allocations: 19.97 kB / 1.228 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/1.059, allocations: 15.94 kB / 1.228 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003772/1.059, allocations: 347.1 kB / 1.229 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.059, allocations: 0 / 1.229 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003872/1.06, allocations: 147.6 kB / 1.229 GB, free: 8.34 MB / 0.9512 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.000167/1.06, allocations: 120.5 kB / 1.229 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005849/1.061, allocations: 315.5 kB / 1.229 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/1.061, allocations: 0 / 1.229 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002808/1.061, allocations: 183.6 kB / 1.229 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006623/1.062, allocations: 138.6 kB / 1.23 GB, free: 7.59 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/1.063, allocations: 1.214 MB / 1.231 GB, free: 6.344 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/1.064, allocations: 0.8665 MB / 1.232 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/1.064, allocations: 39.44 kB / 1.232 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/1.064, allocations: 0 / 1.232 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of Templates: time 0.009585/1.074, allocations: 6.895 MB / 1.238 GB, free: 14.59 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches