Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.001496/0.001496, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001573/0.001573, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.523/1.523, allocations: 177.1 MB / 203.9 MB, free: 5.594 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 2.904/2.904, allocations: 377.8 MB / 0.6232 GB, free: 8.535 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.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 0.8109 GB, free: 1.977 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.561e-05/3.794e-05, allocations: 4.562 kB / 0.8109 GB, free: 1.973 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003288/0.003326, allocations: 1.436 MB / 0.8123 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.006145/0.009471, allocations: 2.678 MB / 0.8149 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5e-05/0.009521, allocations: 0.6562 kB / 0.8149 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.266e-05/0.009554, allocations: 3.984 kB / 0.8149 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.316e-05/0.009637, allocations: 12.92 kB / 0.815 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.005297/0.01493, allocations: 1.648 MB / 0.8166 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.01505, allocations: 39.69 kB / 0.8166 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.458e-05/0.01509, allocations: 7.984 kB / 0.8166 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.104e-05/0.01515, allocations: 23.92 kB / 0.8166 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 2.905e-05/0.01518, allocations: 8 kB / 0.8166 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.0152, allocations: 0 / 0.8166 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003063/0.01826, allocations: 1.497 MB / 0.8181 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.349e-05/0.01828, allocations: 7.922 kB / 0.8181 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.111e-05/0.01833, allocations: 13.91 kB / 0.8181 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002981/0.02131, allocations: 1.274 MB / 0.8194 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.02131, allocations: 0 / 0.8194 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.644e-06/0.02131, allocations: 0 / 0.8194 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.02132, allocations: 0 / 0.8194 GB, free: 9.348 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0009935/0.02231, allocations: 476.9 kB / 0.8198 GB, free: 8.852 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/0.02237, allocations: 12.02 kB / 0.8198 GB, free: 8.84 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.548e-05/0.02247, allocations: 84.17 kB / 0.8199 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.02268, allocations: 190.7 kB / 0.8201 GB, free: 8.547 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.814e-05/0.02277, allocations: 150.9 kB / 0.8202 GB, free: 8.398 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.06e-05/0.02286, allocations: 150.9 kB / 0.8204 GB, free: 8.25 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.02297, allocations: 114.6 kB / 0.8205 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.109e-05/0.02302, allocations: 75.47 kB / 0.8206 GB, free: 8.059 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.493e-05/0.02311, allocations: 154.7 kB / 0.8207 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-05/0.0232, allocations: 151.6 kB / 0.8209 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.0233, allocations: 154.6 kB / 0.821 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007012/0.024, allocations: 417.6 kB / 0.8214 GB, free: 7.168 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.02414, allocations: 169.9 kB / 0.8216 GB, free: 6.992 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.758e-05/0.0242, allocations: 80.14 kB / 0.8216 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.068e-05/0.02425, allocations: 81.09 kB / 0.8217 GB, free: 6.832 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.638e-05/0.02433, allocations: 105.8 kB / 0.8218 GB, free: 6.719 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.02433, allocations: 0 / 0.8218 GB, free: 6.719 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 0.0001331/0.02447, allocations: 37.66 kB / 0.8219 GB, free: 6.676 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.02458, allocations: 130.6 kB / 0.822 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.02479, allocations: 141.2 kB / 0.8221 GB, free: 6.391 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.02481, allocations: 29.7 kB / 0.8221 GB, free: 6.355 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.524e-05/0.02489, allocations: 92.08 kB / 0.8222 GB, free: 6.262 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.02489, allocations: 0.7188 kB / 0.8222 GB, free: 6.262 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.02493, allocations: 17.72 kB / 0.8222 GB, free: 6.238 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002064/0.02514, allocations: 319.5 kB / 0.8226 GB, free: 5.918 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.924e-05/0.02518, allocations: 12 kB / 0.8226 GB, free: 5.906 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.13e-05/0.0252, allocations: 6.406 kB / 0.8226 GB, free: 5.902 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.005e-05/0.02525, allocations: 12.86 kB / 0.8226 GB, free: 5.887 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.02525, allocations: 0 / 0.8226 GB, free: 5.887 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001716/0.02543, allocations: 53.64 kB / 0.8226 GB, free: 5.828 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.02544, allocations: 8 kB / 0.8226 GB, free: 5.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/0.02546, allocations: 3.938 kB / 0.8226 GB, free: 5.816 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.02549, allocations: 9.75 kB / 0.8227 GB, free: 5.809 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.02549, allocations: 0 / 0.8227 GB, free: 5.809 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.0255, allocations: 0 / 0.8227 GB, free: 5.809 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.529e-05/0.02552, allocations: 0 / 0.8227 GB, free: 5.809 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.02553, allocations: 0 / 0.8227 GB, free: 5.809 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001397/0.02567, allocations: 185.7 kB / 0.8228 GB, free: 5.617 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.601e-05/0.02577, allocations: 114.3 kB / 0.8229 GB, free: 5.5 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.922e-05/0.02584, allocations: 112.7 kB / 0.823 GB, free: 5.387 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001191/0.02596, allocations: 188.2 kB / 0.8232 GB, free: 5.195 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001152/0.02608, allocations: 176.3 kB / 0.8234 GB, free: 5.016 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001291/0.02621, allocations: 188.2 kB / 0.8236 GB, free: 4.824 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/0.02652, allocations: 364.9 kB / 0.8239 GB, free: 4.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-05/0.02659, allocations: 108.9 kB / 0.824 GB, free: 4.316 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.096e-05/0.02665, allocations: 101 kB / 0.8241 GB, free: 4.211 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001101/0.02676, allocations: 176.3 kB / 0.8243 GB, free: 4.031 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/0.02688, allocations: 184.2 kB / 0.8245 GB, free: 3.844 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001111/0.02699, allocations: 184.3 kB / 0.8246 GB, free: 3.656 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001114/0.0271, allocations: 184.1 kB / 0.8248 GB, free: 3.469 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.02732, allocations: 307.8 kB / 0.8251 GB, free: 3.145 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.114e-05/0.0274, allocations: 116.9 kB / 0.8252 GB, free: 3.023 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.02752, allocations: 184.3 kB / 0.8254 GB, free: 2.836 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.02764, allocations: 105.2 kB / 0.8255 GB, free: 2.727 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.02777, allocations: 188.2 kB / 0.8257 GB, free: 2.535 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-05/0.02783, allocations: 101 kB / 0.8258 GB, free: 2.43 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.658e-05/0.02793, allocations: 104.8 kB / 0.8259 GB, free: 2.328 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.02793, allocations: 3.938 kB / 0.8259 GB, free: 2.324 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001094/0.02903, allocations: 295 kB / 0.8262 GB, free: 2.035 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001709/0.03073, allocations: 0.5972 MB / 0.8267 GB, free: 1.426 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001188/0.03085, allocations: 33.7 kB / 0.8268 GB, free: 1.387 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.03086, allocations: 0 / 0.8268 GB, free: 1.387 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.03086, allocations: 3.938 kB / 0.8268 GB, free: 1.383 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009995/0.03186, allocations: 463.7 kB / 0.8272 GB, free: 0.9258 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004621/0.03232, allocations: 239.6 kB / 0.8274 GB, free: 0.6641 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.978e-05/0.0324, allocations: 63.34 kB / 0.8275 GB, free: 0.582 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.517e-05/0.03241, allocations: 0 / 0.8275 GB, free: 0.582 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.03244, allocations: 12.5 kB / 0.8275 GB, free: 0.5703 MB / 0.7761 GB Notification: Performance of SimCode: time 7.21e-07/0.03244, allocations: 0 / 0.8275 GB, free: 0.5703 MB / 0.7761 GB Notification: Performance of Templates: time 0.01346/0.0459, allocations: 5.95 MB / 0.8333 GB, free: 10.68 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.451703113969415]