Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.594/2.594, allocations: 443.4 MB / 0.7304 GB, free: 13.88 MB / 0.5762 GB " [Timeout remaining time 177] 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 71.89 kB / 1.059 GB, free: 320 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3189, allocations: 160.7 MB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005034/0.3239, allocations: 3.072 MB / 1.219 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003351/0.3272, allocations: 2.172 MB / 1.221 GB, free: 10 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002488/0.3275, allocations: 8 kB / 1.221 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.329, allocations: 0.5016 MB / 1.222 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003645/0.3294, allocations: 142.9 kB / 1.222 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.3296, allocations: 63.86 kB / 1.222 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000571/0.3302, allocations: 441.9 kB / 1.222 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002442/0.3304, allocations: 103.3 kB / 1.223 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002282/0.3306, allocations: 163.4 kB / 1.223 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.3309, allocations: 183.1 kB / 1.223 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.037e-05/0.3309, allocations: 36 kB / 1.223 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.011e-05/0.331, allocations: 32 kB / 1.223 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.3311, allocations: 103.6 kB / 1.223 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002322/0.3314, allocations: 215 kB / 1.223 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006302/0.332, allocations: 0.5486 MB / 1.224 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.332, allocations: 7.875 kB / 1.224 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.213e-06/0.332, allocations: 0 / 1.224 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.332, allocations: 0 / 1.224 GB, free: 7.473 MB / 0.9669 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.001152/0.3332, allocations: 0.716 MB / 1.224 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3332, allocations: 8.031 kB / 1.224 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.905e-05/0.3333, allocations: 48.66 kB / 1.225 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006109/0.3339, allocations: 382.4 kB / 1.225 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.3339, allocations: 24.81 kB / 1.225 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.38e-05/0.334, allocations: 20.38 kB / 1.225 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004358/0.3344, allocations: 199.6 kB / 1.225 GB, free: 6 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.3344, allocations: 0 / 1.225 GB, free: 6 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.3344, allocations: 8 kB / 1.225 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.3344, allocations: 8 kB / 1.225 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004018/0.3348, allocations: 161.6 kB / 1.225 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.3362, allocations: 0.8664 MB / 1.226 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.3365, allocations: 140.9 kB / 1.226 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/0.3367, allocations: 104.8 kB / 1.226 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.3367, allocations: 3.984 kB / 1.226 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.3368, allocations: 38.5 kB / 1.226 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=18): time 1.163e-06/0.3368, allocations: 0 / 1.226 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18): time 0.000646/0.3374, allocations: 255.1 kB / 1.227 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.3375, allocations: 59.41 kB / 1.227 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005896/0.3381, allocations: 417.7 kB / 1.227 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.3381, allocations: 29.7 kB / 1.227 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.3383, allocations: 208.3 kB / 1.227 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.737e-05/0.3383, allocations: 63.44 kB / 1.227 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.3384, allocations: 33.7 kB / 1.227 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002589/0.3387, allocations: 350.8 kB / 1.228 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.3389, allocations: 55.97 kB / 1.228 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.339, allocations: 65.73 kB / 1.228 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.3393, allocations: 135 kB / 1.228 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.3393, allocations: 4 kB / 1.228 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004177/0.3397, allocations: 205.4 kB / 1.228 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3397, allocations: 4 kB / 1.228 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3397, allocations: 4 kB / 1.228 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3398, allocations: 3.938 kB / 1.228 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.34, allocations: 59.91 kB / 1.228 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.34, allocations: 0 / 1.228 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.3402, allocations: 23.83 kB / 1.228 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.3402, allocations: 4 kB / 1.228 GB, free: 2.59 MB / 0.9669 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.0001762/0.3404, allocations: 165.8 kB / 1.228 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.048e-05/0.3404, allocations: 35.77 kB / 1.228 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.064e-05/0.3405, allocations: 51.47 kB / 1.229 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3405, allocations: 0 / 1.229 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3405, allocations: 0 / 1.229 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.3405, allocations: 3.984 kB / 1.229 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004596/0.341, allocations: 385.2 kB / 1.229 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.341, allocations: 0 / 1.229 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000308/0.3413, allocations: 47.97 kB / 1.229 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3413, allocations: 0 / 1.229 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.3413, allocations: 11.94 kB / 1.229 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.3413, allocations: 0 / 1.229 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.3413, allocations: 11.97 kB / 1.229 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006314/0.342, allocations: 372.7 kB / 1.229 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.3421, allocations: 120.8 kB / 1.229 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.811e-05/0.3422, allocations: 7.938 kB / 1.229 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.3423, allocations: 11.98 kB / 1.229 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.3424, allocations: 12.05 kB / 1.229 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.3424, allocations: 4 kB / 1.229 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004068/0.3428, allocations: 307.1 kB / 1.23 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3428, allocations: 0 / 1.23 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003192/0.3431, allocations: 71.89 kB / 1.23 GB, free: 0.9102 MB / 0.9669 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.00015/0.3433, allocations: 107.2 kB / 1.23 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000374/0.3437, allocations: 141.5 kB / 1.23 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3437, allocations: 0 / 1.23 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.3438, allocations: 81.86 kB / 1.23 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005559/0.3444, allocations: 94.55 kB / 1.23 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.3458, allocations: 0.7719 MB / 1.231 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004911/0.3463, allocations: 0.799 MB / 1.232 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001297/0.3464, allocations: 34.95 kB / 1.232 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.65e-05/0.3465, allocations: 27.38 kB / 1.232 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.3465, allocations: 0 / 1.232 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of Templates: time 0.009156/0.3556, allocations: 4.07 MB / 1.236 GB, free: 10.85 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.08599045779556]