Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002516/0.002516, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.002905/0.002905, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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 1.592/1.592, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.08/3.08, allocations: 377.8 MB / 0.6232 GB, free: 8.5 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.8109 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.986e-05/3.199e-05, allocations: 2.312 kB / 0.8109 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005583/0.005615, allocations: 3.104 MB / 0.8139 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003627/0.009242, allocations: 2.134 MB / 0.816 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002211/0.009463, allocations: 8.719 kB / 0.816 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001645/0.01111, allocations: 471.8 kB / 0.8164 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003296/0.01144, allocations: 156.6 kB / 0.8166 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/0.01157, allocations: 53.11 kB / 0.8166 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006024/0.01218, allocations: 465.6 kB / 0.8171 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002471/0.01242, allocations: 103.7 kB / 0.8172 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004517/0.01287, allocations: 252.7 kB / 0.8174 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002875/0.01316, allocations: 139.6 kB / 0.8176 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.138e-05/0.01322, allocations: 35.94 kB / 0.8176 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.104e-05/0.0133, allocations: 36.69 kB / 0.8176 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.01346, allocations: 95.67 kB / 0.8177 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002056/0.01367, allocations: 144.7 kB / 0.8179 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0009035/0.01457, allocations: 0.5373 MB / 0.8184 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.01458, allocations: 0 / 0.8184 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.573e-06/0.01458, allocations: 1.094 kB / 0.8184 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.01459, allocations: 0 / 0.8184 GB, free: 10.33 MB / 0.7761 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.00136/0.01595, allocations: 0.7707 MB / 0.8191 GB, free: 9.527 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.01599, allocations: 8.031 kB / 0.8191 GB, free: 9.52 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.01614, allocations: 60.66 kB / 0.8192 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005424/0.01668, allocations: 325.4 kB / 0.8195 GB, free: 9.121 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.0167, allocations: 16.88 kB / 0.8195 GB, free: 9.105 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.371e-05/0.01675, allocations: 16.38 kB / 0.8195 GB, free: 9.09 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004222/0.01717, allocations: 192.7 kB / 0.8197 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.01719, allocations: 4.188 kB / 0.8197 GB, free: 8.895 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.01721, allocations: 4.375 kB / 0.8197 GB, free: 8.891 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.01722, allocations: 9.531 kB / 0.8198 GB, free: 8.883 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/0.0176, allocations: 149.9 kB / 0.8199 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.01903, allocations: 0.8091 MB / 0.8207 GB, free: 7.887 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.01937, allocations: 158.2 kB / 0.8208 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.01958, allocations: 104.9 kB / 0.8209 GB, free: 7.617 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.0196, allocations: 4 kB / 0.8209 GB, free: 7.613 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.01964, allocations: 37.39 kB / 0.821 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.282e-06/0.01965, allocations: 0 / 0.821 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.0006077/0.02025, allocations: 230.8 kB / 0.8212 GB, free: 7.336 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.02031, allocations: 56.06 kB / 0.8212 GB, free: 7.27 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006584/0.02097, allocations: 0.4909 MB / 0.8217 GB, free: 6.762 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.02099, allocations: 30.42 kB / 0.8218 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.02125, allocations: 283.1 kB / 0.822 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.696e-05/0.02133, allocations: 75.14 kB / 0.8221 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.602e-05/0.02142, allocations: 47.36 kB / 0.8221 GB, free: 6.32 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003678/0.02179, allocations: 0.5547 MB / 0.8227 GB, free: 5.754 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.02193, allocations: 47.98 kB / 0.8227 GB, free: 5.707 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.02206, allocations: 43.98 kB / 0.8228 GB, free: 5.664 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.02234, allocations: 133.7 kB / 0.8229 GB, free: 5.531 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.02234, allocations: 0 / 0.8229 GB, free: 5.531 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004/0.02274, allocations: 203.8 kB / 0.8231 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.02276, allocations: 9.469 kB / 0.8231 GB, free: 5.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.02277, allocations: 3.938 kB / 0.8231 GB, free: 5.316 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.02278, allocations: 0 / 0.8231 GB, free: 5.316 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.02305, allocations: 48.91 kB / 0.8232 GB, free: 5.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.02306, allocations: 0 / 0.8232 GB, free: 5.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.02319, allocations: 23.81 kB / 0.8232 GB, free: 5.246 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.02321, allocations: 5.125 kB / 0.8232 GB, free: 5.242 MB / 0.7761 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.0002101/0.02343, allocations: 200.5 kB / 0.8234 GB, free: 5.035 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.622e-05/0.0235, allocations: 40.89 kB / 0.8234 GB, free: 4.996 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.954e-05/0.02359, allocations: 35.41 kB / 0.8234 GB, free: 4.965 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.0236, allocations: 4 kB / 0.8234 GB, free: 4.961 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.0236, allocations: 1 kB / 0.8234 GB, free: 4.961 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.02361, allocations: 0 / 0.8234 GB, free: 4.961 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005472/0.02415, allocations: 360.4 kB / 0.8238 GB, free: 4.574 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.02416, allocations: 0.7188 kB / 0.8238 GB, free: 4.574 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002649/0.02442, allocations: 52.56 kB / 0.8238 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.02442, allocations: 0 / 0.8238 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.02444, allocations: 8.938 kB / 0.8239 GB, free: 4.516 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.02444, allocations: 0 / 0.8239 GB, free: 4.516 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.02444, allocations: 4.656 kB / 0.8239 GB, free: 4.512 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006684/0.02511, allocations: 430.5 kB / 0.8243 GB, free: 4.074 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.797e-05/0.02519, allocations: 27.81 kB / 0.8243 GB, free: 4.047 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.745e-05/0.02524, allocations: 11.98 kB / 0.8243 GB, free: 4.035 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.02538, allocations: 8 kB / 0.8243 GB, free: 4.027 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.02543, allocations: 7.984 kB / 0.8243 GB, free: 4.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.02544, allocations: 2.844 kB / 0.8243 GB, free: 4.02 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000437/0.02587, allocations: 335.1 kB / 0.8246 GB, free: 3.691 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.02587, allocations: 0 / 0.8246 GB, free: 3.691 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000329/0.0262, allocations: 79.78 kB / 0.8247 GB, free: 3.613 MB / 0.7761 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.000175/0.02638, allocations: 111.1 kB / 0.8248 GB, free: 3.492 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003552/0.02673, allocations: 141 kB / 0.825 GB, free: 3.352 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.02674, allocations: 0 / 0.825 GB, free: 3.352 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.0269, allocations: 90.34 kB / 0.825 GB, free: 3.262 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006529/0.02756, allocations: 86.14 kB / 0.8251 GB, free: 3.184 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.02889, allocations: 0.6716 MB / 0.8258 GB, free: 2.484 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.02911, allocations: 190.2 kB / 0.826 GB, free: 2.281 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001103/0.02922, allocations: 30.95 kB / 0.826 GB, free: 2.246 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.488e-05/0.0293, allocations: 24.5 kB / 0.826 GB, free: 2.223 MB / 0.7761 GB Notification: Performance of SimCode: time 5.11e-07/0.0293, allocations: 0 / 0.826 GB, free: 2.223 MB / 0.7761 GB Notification: Performance of Templates: time 0.009503/0.0388, allocations: 3.67 MB / 0.8296 GB, free: 14.69 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.610841964953579]