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.0009053/0.0009053, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009103/0.0009103, allocations: 169 kB / 24.28 MB, free: 276 kB / 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 0.9121/0.9121, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] 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 1.768/1.768, allocations: 377.8 MB / 0.6239 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.463e-06/1.463e-06, allocations: 0 / 0.8116 GB, free: 1.918 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.558e-05/1.704e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.914 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001746/0.001764, allocations: 1.501 MB / 0.8131 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002964/0.004728, allocations: 2.818 MB / 0.8158 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.33e-05/0.004761, allocations: 1 kB / 0.8158 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.945e-05/0.00478, allocations: 11.92 kB / 0.8159 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.225e-05/0.004833, allocations: 15.8 kB / 0.8159 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.00247/0.007303, allocations: 1.642 MB / 0.8175 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.899e-05/0.007372, allocations: 52.52 kB / 0.8175 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.203e-05/0.007404, allocations: 3.906 kB / 0.8175 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.388e-05/0.007438, allocations: 20.83 kB / 0.8176 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 1.84e-05/0.007456, allocations: 11.94 kB / 0.8176 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.007467, allocations: 0 / 0.8176 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001367/0.008834, allocations: 1.494 MB / 0.819 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.938e-06/0.008844, allocations: 0.5938 kB / 0.819 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.008867, allocations: 19.92 kB / 0.819 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.01007, allocations: 1.275 MB / 0.8203 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.01008, allocations: 0 / 0.8203 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.72e-07/0.01008, allocations: 1.844 kB / 0.8203 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.01008, allocations: 0 / 0.8203 GB, free: 9.074 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.0004129/0.01049, allocations: 0.5647 MB / 0.8208 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.01053, allocations: 8.031 kB / 0.8208 GB, free: 8.465 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.268e-05/0.01058, allocations: 129 kB / 0.821 GB, free: 8.34 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.01068, allocations: 238.4 kB / 0.8212 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.951e-05/0.01073, allocations: 242.8 kB / 0.8214 GB, free: 7.844 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.526e-05/0.01078, allocations: 246.2 kB / 0.8217 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.203e-05/0.01083, allocations: 149.4 kB / 0.8218 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.01086, allocations: 119.4 kB / 0.8219 GB, free: 7.336 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.746e-05/0.01091, allocations: 250.4 kB / 0.8222 GB, free: 7.09 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.501e-05/0.01095, allocations: 238.4 kB / 0.8224 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.538e-05/0.011, allocations: 242.4 kB / 0.8226 GB, free: 6.617 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002093/0.01121, allocations: 0.5836 MB / 0.8232 GB, free: 6 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.107e-05/0.01129, allocations: 269.4 kB / 0.8234 GB, free: 5.723 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.317e-05/0.01132, allocations: 130.9 kB / 0.8236 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.01134, allocations: 119.8 kB / 0.8237 GB, free: 5.473 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.01139, allocations: 161.5 kB / 0.8238 GB, free: 5.305 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.01139, allocations: 0 / 0.8238 GB, free: 5.305 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.756e-05/0.01145, allocations: 33.64 kB / 0.8239 GB, free: 5.266 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.01149, allocations: 179.6 kB / 0.824 GB, free: 5.078 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.0116, allocations: 185.9 kB / 0.8242 GB, free: 4.879 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.01161, allocations: 25.7 kB / 0.8242 GB, free: 4.848 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/0.01165, allocations: 135.5 kB / 0.8244 GB, free: 4.711 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.01165, allocations: 0 / 0.8244 GB, free: 4.711 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.01168, allocations: 37.3 kB / 0.8244 GB, free: 4.668 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.01178, allocations: 492.1 kB / 0.8249 GB, free: 4.176 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.361e-05/0.0118, allocations: 4 kB / 0.8249 GB, free: 4.172 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.181e-05/0.01181, allocations: 7.984 kB / 0.8249 GB, free: 4.164 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.054e-05/0.01184, allocations: 15.69 kB / 0.8249 GB, free: 4.145 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01184, allocations: 3.344 kB / 0.8249 GB, free: 4.145 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.271e-05/0.01193, allocations: 45.66 kB / 0.8249 GB, free: 4.094 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.01194, allocations: 8 kB / 0.825 GB, free: 4.086 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.01196, allocations: 4 kB / 0.825 GB, free: 4.082 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.01197, allocations: 0 / 0.825 GB, free: 4.082 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.867e-06/0.01197, allocations: 7.922 kB / 0.825 GB, free: 4.074 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.01198, allocations: 3.938 kB / 0.825 GB, free: 4.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.43e-05/0.01199, allocations: 3.953 kB / 0.825 GB, free: 4.066 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.012, allocations: 4 kB / 0.825 GB, free: 4.062 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 7.715e-05/0.01208, allocations: 272.6 kB / 0.8252 GB, free: 3.785 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.01212, allocations: 150 kB / 0.8254 GB, free: 3.633 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.607e-05/0.01215, allocations: 148.7 kB / 0.8255 GB, free: 3.484 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.101e-05/0.0122, allocations: 284 kB / 0.8258 GB, free: 3.199 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.016e-05/0.01225, allocations: 273.1 kB / 0.8261 GB, free: 2.926 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-05/0.0123, allocations: 268 kB / 0.8263 GB, free: 2.656 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.01245, allocations: 0.4921 MB / 0.8268 GB, free: 2.121 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.919e-05/0.01248, allocations: 157.9 kB / 0.8269 GB, free: 1.961 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.954e-05/0.01251, allocations: 152.8 kB / 0.8271 GB, free: 1.805 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000183/0.01269, allocations: 268.2 kB / 0.8273 GB, free: 1.535 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.275e-05/0.01274, allocations: 273.4 kB / 0.8276 GB, free: 1.262 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-05/0.01279, allocations: 264.1 kB / 0.8279 GB, free: 0.9961 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.735e-05/0.01283, allocations: 268 kB / 0.8281 GB, free: 0.7266 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.01295, allocations: 456.6 kB / 0.8285 GB, free: 260 kB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.893e-05/0.01298, allocations: 156.8 kB / 0.8287 GB, free: 96 kB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.258e-05/0.01306, allocations: 265.7 kB / 0.829 GB, free: 15.83 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.398e-05/0.01311, allocations: 148.8 kB / 0.8291 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.557e-05/0.01318, allocations: 280 kB / 0.8294 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.323e-05/0.01321, allocations: 148.9 kB / 0.8295 GB, free: 15.24 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 5.168e-05/0.01326, allocations: 141.2 kB / 0.8296 GB, free: 15.11 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.01326, allocations: 0.5 kB / 0.8296 GB, free: 15.11 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004618/0.01372, allocations: 295.8 kB / 0.8299 GB, free: 14.82 MB / 0.7917 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.0007893/0.01451, allocations: 0.6311 MB / 0.8305 GB, free: 14.18 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 9.907e-05/0.01461, allocations: 49.38 kB / 0.8306 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01461, allocations: 0 / 0.8306 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.01461, allocations: 4 kB / 0.8306 GB, free: 14.11 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.01496, allocations: 0.7023 MB / 0.8313 GB, free: 13.41 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002852/0.01525, allocations: 285.2 kB / 0.8315 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.972e-05/0.01528, allocations: 63.2 kB / 0.8316 GB, free: 13.02 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 1.097e-05/0.0153, allocations: 0 / 0.8316 GB, free: 13.02 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.483e-05/0.01531, allocations: 12.5 kB / 0.8316 GB, free: 13 MB / 0.7917 GB Notification: Performance of SimCode: time 4.81e-07/0.01531, allocations: 0 / 0.8316 GB, free: 13 MB / 0.7917 GB Notification: Performance of Templates: time 0.007091/0.0224, allocations: 5.996 MB / 0.8375 GB, free: 7.07 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.893275737063959]