Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008553/0.0008553, 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.0008358/0.0008358, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9013/0.9013, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.82/1.82, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.877e-05, allocations: 2.281 kB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003304/0.003333, allocations: 2.864 MB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002531/0.005864, allocations: 1.961 MB / 1.006 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.006067, allocations: 15.94 kB / 1.006 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.007343, allocations: 481.5 kB / 1.006 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002552/0.007598, allocations: 150.8 kB / 1.006 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001184/0.007716, allocations: 59.92 kB / 1.006 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003675/0.008084, allocations: 467.9 kB / 1.007 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.008277, allocations: 107.8 kB / 1.007 GB, free: 6.848 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003231/0.0086, allocations: 235.5 kB / 1.007 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.00876, allocations: 135.5 kB / 1.007 GB, free: 6.484 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.691e-05/0.008797, allocations: 36 kB / 1.007 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.75e-05/0.008834, allocations: 32 kB / 1.007 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.008939, allocations: 95.67 kB / 1.007 GB, free: 6.324 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.009051, allocations: 151.6 kB / 1.008 GB, free: 6.176 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004462/0.009498, allocations: 0.5334 MB / 1.008 GB, free: 5.641 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.009506, allocations: 0 / 1.008 GB, free: 5.641 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.064e-06/0.009508, allocations: 0 / 1.008 GB, free: 5.641 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.009515, allocations: 0 / 1.008 GB, free: 5.641 MB / 0.9636 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.0008191/0.01033, allocations: 0.6314 MB / 1.009 GB, free: 4.98 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.01038, allocations: 12.75 kB / 1.009 GB, free: 4.969 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.561e-05/0.01044, allocations: 48.66 kB / 1.009 GB, free: 4.922 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004513/0.0109, allocations: 315.8 kB / 1.009 GB, free: 4.586 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.01091, allocations: 16.88 kB / 1.009 GB, free: 4.57 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.862e-05/0.01095, allocations: 20.38 kB / 1.009 GB, free: 4.551 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/0.01127, allocations: 208.6 kB / 1.009 GB, free: 4.344 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.01128, allocations: 192 / 1.009 GB, free: 4.344 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.0113, allocations: 8.375 kB / 1.009 GB, free: 4.336 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.01131, allocations: 11.94 kB / 1.009 GB, free: 4.324 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002537/0.01156, allocations: 161.9 kB / 1.009 GB, free: 4.164 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00083/0.01239, allocations: 0.6441 MB / 1.01 GB, free: 3.484 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.01262, allocations: 140.3 kB / 1.01 GB, free: 3.34 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.01275, allocations: 108.8 kB / 1.01 GB, free: 3.23 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.01277, allocations: 3.938 kB / 1.01 GB, free: 3.227 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.01279, allocations: 38.56 kB / 1.01 GB, free: 3.18 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=18): time 2.074e-06/0.0128, allocations: 0 / 1.01 GB, free: 3.18 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18): time 0.000416/0.01321, allocations: 241.6 kB / 1.011 GB, free: 2.938 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.01326, allocations: 55.41 kB / 1.011 GB, free: 2.871 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.01358, allocations: 389.7 kB / 1.011 GB, free: 2.48 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.0136, allocations: 33.7 kB / 1.011 GB, free: 2.441 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.01371, allocations: 212.4 kB / 1.011 GB, free: 2.23 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.378e-05/0.01376, allocations: 63.42 kB / 1.011 GB, free: 2.168 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.01381, allocations: 33.7 kB / 1.011 GB, free: 2.129 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003259/0.01413, allocations: 350.7 kB / 1.012 GB, free: 1.777 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.01425, allocations: 55.97 kB / 1.012 GB, free: 1.723 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.294e-05/0.01433, allocations: 63.84 kB / 1.012 GB, free: 1.66 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.01451, allocations: 138.9 kB / 1.012 GB, free: 1.523 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.01452, allocations: 0 / 1.012 GB, free: 1.523 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002482/0.01476, allocations: 201.4 kB / 1.012 GB, free: 1.32 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.01479, allocations: 9.719 kB / 1.012 GB, free: 1.312 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.01479, allocations: 0 / 1.012 GB, free: 1.312 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.01481, allocations: 0 / 1.012 GB, free: 1.312 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.01497, allocations: 55.91 kB / 1.012 GB, free: 1.258 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.01498, allocations: 4 kB / 1.012 GB, free: 1.254 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.118e-05/0.01507, allocations: 23.81 kB / 1.012 GB, free: 1.23 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.01508, allocations: 8 kB / 1.012 GB, free: 1.223 MB / 0.9636 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.0001316/0.01521, allocations: 161.8 kB / 1.012 GB, free: 1.055 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.01525, allocations: 35.77 kB / 1.012 GB, free: 1.02 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.241e-05/0.01531, allocations: 39.41 kB / 1.012 GB, free: 0.9844 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01531, allocations: 0 / 1.012 GB, free: 0.9844 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.01531, allocations: 3.938 kB / 1.012 GB, free: 0.9805 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01532, allocations: 0 / 1.012 GB, free: 0.9805 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.01557, allocations: 273 kB / 1.013 GB, free: 0.6836 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.01558, allocations: 3.984 kB / 1.013 GB, free: 0.6797 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.01573, allocations: 59.97 kB / 1.013 GB, free: 0.6211 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.01574, allocations: 0 / 1.013 GB, free: 0.6211 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.01575, allocations: 0 / 1.013 GB, free: 0.6211 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.01575, allocations: 4 kB / 1.013 GB, free: 0.6172 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.01575, allocations: 3.938 kB / 1.013 GB, free: 0.6133 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004226/0.01618, allocations: 383 kB / 1.013 GB, free: 228 kB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-05/0.01622, allocations: 35.83 kB / 1.013 GB, free: 192 kB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.01625, allocations: 8.062 kB / 1.013 GB, free: 184 kB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.432e-05/0.01634, allocations: 15.98 kB / 1.013 GB, free: 168 kB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.01638, allocations: 7.984 kB / 1.013 GB, free: 160 kB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.01639, allocations: 4 kB / 1.013 GB, free: 156 kB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002309/0.01662, allocations: 287.2 kB / 1.013 GB, free: 15.87 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.7e-07/0.01662, allocations: 0 / 1.013 GB, free: 15.87 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002238/0.01684, allocations: 75.84 kB / 1.014 GB, free: 15.8 MB / 0.9792 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.000139/0.01698, allocations: 111.1 kB / 1.014 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002494/0.01723, allocations: 147.8 kB / 1.014 GB, free: 15.54 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01723, allocations: 0 / 1.014 GB, free: 15.54 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 9.554e-05/0.01733, allocations: 75.81 kB / 1.014 GB, free: 15.46 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.01771, allocations: 85.38 kB / 1.014 GB, free: 15.38 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.01873, allocations: 0.7018 MB / 1.015 GB, free: 14.64 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.01887, allocations: 186.2 kB / 1.015 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.055e-05/0.01893, allocations: 28.5 kB / 1.015 GB, free: 14.41 MB / 0.9792 GB Notification: Performance of SimCode: time 1.022e-06/0.01893, allocations: 0 / 1.015 GB, free: 14.41 MB / 0.9792 GB Notification: Performance of Templates: time 0.005152/0.02409, allocations: 4.365 MB / 1.019 GB, free: 10.07 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.99697647895664]