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.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.001507/0.001507, 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.001637/0.001637, 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.525/1.525, allocations: 177.1 MB / 203.9 MB, free: 5.602 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.856/2.856, allocations: 377.8 MB / 0.6232 GB, free: 8.543 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 0.8109 GB, free: 2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.783e-05/4.041e-05, allocations: 4.281 kB / 0.8109 GB, free: 1.996 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002999/0.003039, allocations: 1.442 MB / 0.8123 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.005346/0.008386, allocations: 2.644 MB / 0.8149 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.778e-05/0.008423, allocations: 1.031 kB / 0.8149 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.751e-05/0.008451, allocations: 3.938 kB / 0.8149 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.986e-05/0.008521, allocations: 9.266 kB / 0.8149 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.004824/0.01334, allocations: 1.62 MB / 0.8165 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.01346, allocations: 47.67 kB / 0.8165 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.818e-05/0.0135, allocations: 0 / 0.8165 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.946e-05/0.01355, allocations: 19.98 kB / 0.8166 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.228e-05/0.01358, allocations: 15.92 kB / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.01359, allocations: 0 / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002908/0.0165, allocations: 1.456 MB / 0.818 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.19e-05/0.01652, allocations: 7.938 kB / 0.818 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.424e-05/0.01657, allocations: 7.984 kB / 0.818 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00218/0.01875, allocations: 1.25 MB / 0.8192 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.01875, allocations: 0.9062 kB / 0.8192 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.403e-06/0.01875, allocations: 0 / 0.8192 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.01876, allocations: 1.344 kB / 0.8192 GB, free: 9.504 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.0007602/0.01952, allocations: 472 kB / 0.8197 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.01956, allocations: 8.031 kB / 0.8197 GB, free: 9.004 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.494e-05/0.01965, allocations: 80.22 kB / 0.8198 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.01983, allocations: 196.8 kB / 0.82 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.995e-05/0.01992, allocations: 150.9 kB / 0.8201 GB, free: 8.562 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.02002, allocations: 159.4 kB / 0.8202 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.614e-05/0.02012, allocations: 101.5 kB / 0.8203 GB, free: 8.301 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.853e-05/0.02017, allocations: 80.06 kB / 0.8204 GB, free: 8.223 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.769e-05/0.02026, allocations: 154.7 kB / 0.8206 GB, free: 8.07 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-05/0.02034, allocations: 161.2 kB / 0.8207 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.759e-05/0.02043, allocations: 154.5 kB / 0.8209 GB, free: 7.762 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004909/0.02092, allocations: 409.6 kB / 0.8213 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.02105, allocations: 173.2 kB / 0.8214 GB, free: 7.152 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.82e-05/0.0211, allocations: 88.08 kB / 0.8215 GB, free: 7.062 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.471e-05/0.02115, allocations: 75.28 kB / 0.8216 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.606e-05/0.02121, allocations: 108.6 kB / 0.8217 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.02121, allocations: 0 / 0.8217 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 8.766e-05/0.0213, allocations: 29.7 kB / 0.8217 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.859e-05/0.02139, allocations: 134.6 kB / 0.8218 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.02157, allocations: 133.8 kB / 0.822 GB, free: 6.555 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.0216, allocations: 25.7 kB / 0.822 GB, free: 6.523 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.386e-05/0.02167, allocations: 88.14 kB / 0.8221 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-06/0.02167, allocations: 0 / 0.8221 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.02172, allocations: 18.66 kB / 0.8221 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.00021/0.02193, allocations: 322.8 kB / 0.8224 GB, free: 6.086 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.591e-05/0.02195, allocations: 9.062 kB / 0.8224 GB, free: 6.078 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.365e-05/0.02197, allocations: 0 / 0.8224 GB, free: 6.078 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.806e-05/0.02201, allocations: 16.86 kB / 0.8224 GB, free: 6.059 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.02202, allocations: 1.125 kB / 0.8224 GB, free: 6.059 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001541/0.02217, allocations: 45.64 kB / 0.8225 GB, free: 6.008 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.02219, allocations: 8 kB / 0.8225 GB, free: 6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/0.02221, allocations: 1.031 kB / 0.8225 GB, free: 6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.02223, allocations: 3.938 kB / 0.8225 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-07/0.02223, allocations: 0 / 0.8225 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.02223, allocations: 5.156 kB / 0.8225 GB, free: 5.992 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.041e-05/0.02225, allocations: 0 / 0.8225 GB, free: 5.992 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.02226, allocations: 3.938 kB / 0.8225 GB, free: 5.988 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.0001517/0.02241, allocations: 198.4 kB / 0.8227 GB, free: 5.785 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.475e-05/0.0225, allocations: 104.9 kB / 0.8228 GB, free: 5.676 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.595e-05/0.02256, allocations: 108.8 kB / 0.8229 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.632e-05/0.02266, allocations: 187 kB / 0.8231 GB, free: 5.379 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001148/0.02278, allocations: 188.2 kB / 0.8232 GB, free: 5.188 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001013/0.02288, allocations: 188.2 kB / 0.8234 GB, free: 4.996 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.02317, allocations: 360.9 kB / 0.8238 GB, free: 4.605 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-05/0.02323, allocations: 101 kB / 0.8239 GB, free: 4.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.891e-05/0.02329, allocations: 108.9 kB / 0.824 GB, free: 4.387 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001011/0.02339, allocations: 176.3 kB / 0.8241 GB, free: 4.207 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.0235, allocations: 192.2 kB / 0.8243 GB, free: 4.012 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-05/0.0236, allocations: 181 kB / 0.8245 GB, free: 3.828 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001008/0.0237, allocations: 185.9 kB / 0.8247 GB, free: 3.641 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.02389, allocations: 303.8 kB / 0.825 GB, free: 3.32 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.387e-05/0.02396, allocations: 116.9 kB / 0.8251 GB, free: 3.199 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.02407, allocations: 180.3 kB / 0.8252 GB, free: 3.016 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.02418, allocations: 101.3 kB / 0.8253 GB, free: 2.91 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.02428, allocations: 184.6 kB / 0.8255 GB, free: 2.723 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.327e-05/0.02434, allocations: 109 kB / 0.8256 GB, free: 2.609 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.64e-05/0.02443, allocations: 104.8 kB / 0.8257 GB, free: 2.508 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.02443, allocations: 0 / 0.8257 GB, free: 2.508 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0008272/0.02526, allocations: 287 kB / 0.826 GB, free: 2.227 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.001259/0.02652, allocations: 0.5702 MB / 0.8266 GB, free: 1.645 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001139/0.02663, allocations: 41.62 kB / 0.8266 GB, free: 1.598 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.02663, allocations: 0 / 0.8266 GB, free: 1.598 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.844e-06/0.02663, allocations: 8.062 kB / 0.8266 GB, free: 1.59 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005268/0.02716, allocations: 455.7 kB / 0.827 GB, free: 1.141 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/0.02758, allocations: 231.5 kB / 0.8273 GB, free: 0.8867 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.351e-05/0.02767, allocations: 67.33 kB / 0.8273 GB, free: 0.8008 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.544e-05/0.02769, allocations: 4 kB / 0.8273 GB, free: 0.7969 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.201e-05/0.02771, allocations: 8.5 kB / 0.8273 GB, free: 0.7891 MB / 0.7761 GB Notification: Performance of SimCode: time 4.71e-07/0.02771, allocations: 4 kB / 0.8273 GB, free: 0.7852 MB / 0.7761 GB Notification: Performance of Templates: time 0.01214/0.03985, allocations: 5.785 MB / 0.833 GB, free: 11.06 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.390251442906447]