Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 98.98 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 193.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.606/1.606, allocations: 225.6 MB / 249.9 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.736/2.736, allocations: 443.5 MB / 0.731 GB, free: 12.74 MB / 0.5919 GB [Timeout remaining time 86] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=503,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_10_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=503,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_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 71.89 kB / 1.06 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9649/0.9668, allocations: 160.7 MB / 1.217 GB, free: 3.902 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006684/0.9735, allocations: 4.183 MB / 1.221 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004604/0.9781, allocations: 2.421 MB / 1.223 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005802/0.9787, allocations: 10.69 kB / 1.223 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002091/0.9808, allocations: 0.5375 MB / 1.224 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0008612/0.9816, allocations: 249.3 kB / 1.224 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003513/0.982, allocations: 139.1 kB / 1.224 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00115/0.9831, allocations: 0.8184 MB / 1.225 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004753/0.9836, allocations: 236.5 kB / 1.225 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005224/0.9841, allocations: 298.6 kB / 1.225 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004562/0.9846, allocations: 325.4 kB / 1.226 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.9847, allocations: 73.59 kB / 1.226 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.9848, allocations: 74.28 kB / 1.226 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002419/0.9851, allocations: 178.9 kB / 1.226 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004413/0.9855, allocations: 383 kB / 1.226 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.9867, allocations: 1.002 MB / 1.227 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.9868, allocations: 0 / 1.227 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.954e-06/0.9868, allocations: 4 kB / 1.227 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.9868, allocations: 0 / 1.227 GB, free: 11.69 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.001704/0.9885, allocations: 0.9659 MB / 1.228 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.9885, allocations: 9.125 kB / 1.228 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.9887, allocations: 76.94 kB / 1.228 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008286/0.9895, allocations: 460 kB / 1.229 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.228e-05/0.9895, allocations: 37.28 kB / 1.229 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.517e-05/0.9896, allocations: 51.53 kB / 1.229 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008603/0.9905, allocations: 432.1 kB / 1.229 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.9905, allocations: 7.891 kB / 1.229 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.316e-05/0.9905, allocations: 19.94 kB / 1.229 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.9906, allocations: 11.56 kB / 1.229 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007872/0.9914, allocations: 368.9 kB / 1.23 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002482/0.9938, allocations: 1.524 MB / 1.231 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005622/0.9944, allocations: 312 kB / 1.231 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004888/0.9949, allocations: 286.3 kB / 1.232 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.9949, allocations: 15.94 kB / 1.232 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.995, allocations: 42.48 kB / 1.232 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=42): time 2.004e-06/0.995, allocations: 3.938 kB / 1.232 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of matching and sorting (n=42): time 0.001022/0.996, allocations: 497.3 kB / 1.232 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.996, allocations: 55.41 kB / 1.232 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000627/0.9967, allocations: 489.9 kB / 1.233 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.9967, allocations: 37.7 kB / 1.233 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.9969, allocations: 272.7 kB / 1.233 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.9971, allocations: 158.6 kB / 1.233 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.9972, allocations: 62.06 kB / 1.233 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001976/0.9974, allocations: 362.8 kB / 1.234 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.9976, allocations: 120.7 kB / 1.234 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.9978, allocations: 133.2 kB / 1.234 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005349/0.9984, allocations: 294.1 kB / 1.234 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9984, allocations: 0 / 1.234 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006858/0.9991, allocations: 396.7 kB / 1.234 GB, free: 5.16 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.9991, allocations: 7.938 kB / 1.234 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.9991, allocations: 4 kB / 1.234 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.9991, allocations: 0 / 1.234 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005205/0.9996, allocations: 127.9 kB / 1.235 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.9997, allocations: 3.984 kB / 1.235 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/0.9999, allocations: 35.73 kB / 1.235 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/1, allocations: 12 kB / 1.235 GB, free: 4.973 MB / 0.9356 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.0002607/1, allocations: 199 kB / 1.235 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.003e-05/1, allocations: 55.61 kB / 1.235 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/1, allocations: 65.09 kB / 1.235 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/1, allocations: 8 kB / 1.235 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/1, allocations: 0 / 1.235 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/1, allocations: 0 / 1.235 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007291/1.001, allocations: 0.5829 MB / 1.236 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.001, allocations: 0 / 1.236 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005282/1.002, allocations: 127.8 kB / 1.236 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/1.002, allocations: 4 kB / 1.236 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/1.002, allocations: 4 kB / 1.236 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/1.002, allocations: 4 kB / 1.236 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.002, allocations: 4 kB / 1.236 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/1.003, allocations: 0.6445 MB / 1.236 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/1.003, allocations: 136.7 kB / 1.236 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.303e-05/1.003, allocations: 12 kB / 1.236 GB, free: 3.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/1.003, allocations: 11.98 kB / 1.236 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.108e-05/1.003, allocations: 31.91 kB / 1.236 GB, free: 3 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/1.003, allocations: 8 kB / 1.236 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004566/1.004, allocations: 355.1 kB / 1.237 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/1.004, allocations: 0 / 1.237 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004744/1.004, allocations: 147.7 kB / 1.237 GB, free: 2.504 MB / 0.9356 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.0001772/1.004, allocations: 111.2 kB / 1.237 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000648/1.005, allocations: 311.8 kB / 1.237 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/1.005, allocations: 0 / 1.237 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002923/1.005, allocations: 167.6 kB / 1.238 GB, free: 1.918 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006938/1.006, allocations: 128.4 kB / 1.238 GB, free: 1.793 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/1.008, allocations: 1.249 MB / 1.239 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005436/1.009, allocations: 0.8704 MB / 1.24 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/1.009, allocations: 35.44 kB / 1.24 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of SimCode: time 5.41e-07/1.009, allocations: 0 / 1.24 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of Templates: time 0.01183/1.021, allocations: 6.921 MB / 1.246 GB, free: 8.723 MB / 0.9512 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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