Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009315/0.0009315, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001002/0.001002, allocations: 166.2 kB / 24.87 MB, free: 8.891 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 0.9513/0.9513, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.667/1.667, allocations: 359 MB / 0.6063 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.7884 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.109e-05/1.226e-05, allocations: 5.125 kB / 0.7884 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001588/0.0016, allocations: 1.489 MB / 0.7899 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002803/0.004403, allocations: 2.732 MB / 0.7925 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.283e-05/0.004436, allocations: 3.219 kB / 0.7925 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.701e-05/0.004453, allocations: 3.938 kB / 0.7925 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.859e-05/0.004501, allocations: 19.84 kB / 0.7926 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.006845, allocations: 1.618 MB / 0.7941 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.304e-05/0.006908, allocations: 43.67 kB / 0.7942 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.853e-05/0.006937, allocations: 3.984 kB / 0.7942 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.076e-05/0.006968, allocations: 19.98 kB / 0.7942 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 1.994e-05/0.006988, allocations: 16.42 kB / 0.7942 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.105e-06/0.006996, allocations: 0 / 0.7942 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.008535, allocations: 1.456 MB / 0.7956 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.008549, allocations: 7.922 kB / 0.7957 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.854e-05/0.008567, allocations: 8 kB / 0.7957 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.009709, allocations: 1.257 MB / 0.7969 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.009711, allocations: 1.094 kB / 0.7969 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.72e-07/0.009712, allocations: 0 / 0.7969 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.009716, allocations: 3.938 kB / 0.7969 GB, free: 3.457 MB / 0.7448 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.0004847/0.0102, allocations: 0.5578 MB / 0.7974 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.01024, allocations: 8.031 kB / 0.7974 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.732e-05/0.01029, allocations: 124.6 kB / 0.7976 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.01041, allocations: 246.2 kB / 0.7978 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.805e-05/0.01047, allocations: 242.8 kB / 0.798 GB, free: 2.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.632e-05/0.01053, allocations: 242.7 kB / 0.7983 GB, free: 1.992 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.966e-05/0.01059, allocations: 146.4 kB / 0.7984 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/0.01061, allocations: 119.4 kB / 0.7985 GB, free: 1.727 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-05/0.01067, allocations: 250.2 kB / 0.7988 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.568e-05/0.01073, allocations: 238.4 kB / 0.799 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.394e-05/0.01078, allocations: 242.4 kB / 0.7992 GB, free: 1.012 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002157/0.011, allocations: 0.5608 MB / 0.7998 GB, free: 436 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.472e-05/0.01108, allocations: 265.4 kB / 0.8 GB, free: 156 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.01129, allocations: 126.9 kB / 0.8001 GB, free: 24 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.682e-05/0.01133, allocations: 123.2 kB / 0.8003 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/0.01138, allocations: 156.6 kB / 0.8004 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.01138, allocations: 0 / 0.8004 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of matching and sorting (n=0): time 5.986e-05/0.01144, allocations: 37.62 kB / 0.8004 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.0115, allocations: 175.7 kB / 0.8006 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.01161, allocations: 199.7 kB / 0.8008 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.01161, allocations: 29.7 kB / 0.8008 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/0.01166, allocations: 131.9 kB / 0.8009 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/0.01166, allocations: 0 / 0.8009 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.01169, allocations: 31.34 kB / 0.801 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.0118, allocations: 497.2 kB / 0.8015 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.338e-05/0.01181, allocations: 4 kB / 0.8015 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.195e-06/0.01182, allocations: 1.125 kB / 0.8015 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.232e-05/0.01185, allocations: 19.72 kB / 0.8015 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01185, allocations: 0 / 0.8015 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.005e-05/0.01194, allocations: 46.75 kB / 0.8015 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.01196, allocations: 8 kB / 0.8015 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.01197, allocations: 0 / 0.8015 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.01198, allocations: 1.688 kB / 0.8015 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.094e-06/0.01198, allocations: 4 kB / 0.8015 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.01199, allocations: 3.938 kB / 0.8015 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.324e-05/0.012, allocations: 3.938 kB / 0.8015 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.01201, allocations: 0 / 0.8015 GB, free: 14.5 MB / 0.7605 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 8.764e-05/0.01209, allocations: 284.5 kB / 0.8018 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.324e-05/0.01214, allocations: 149.4 kB / 0.802 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.439e-05/0.01218, allocations: 164.6 kB / 0.8021 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.304e-05/0.01223, allocations: 265.2 kB / 0.8024 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-05/0.01229, allocations: 276 kB / 0.8026 GB, free: 13.35 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-05/0.01234, allocations: 268 kB / 0.8029 GB, free: 13.08 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.01249, allocations: 489.3 kB / 0.8034 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.002e-05/0.01252, allocations: 152.8 kB / 0.8035 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.945e-05/0.01255, allocations: 149 kB / 0.8036 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.058e-05/0.0126, allocations: 268 kB / 0.8039 GB, free: 11.99 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.377e-05/0.01265, allocations: 276.1 kB / 0.8042 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.881e-05/0.0127, allocations: 264.1 kB / 0.8044 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.057e-05/0.01275, allocations: 272 kB / 0.8047 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.01285, allocations: 447.9 kB / 0.8051 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-05/0.01289, allocations: 152.8 kB / 0.8052 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.754e-05/0.01295, allocations: 268.1 kB / 0.8055 GB, free: 10.28 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.885e-05/0.01301, allocations: 152.8 kB / 0.8056 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.01306, allocations: 268.1 kB / 0.8059 GB, free: 9.855 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.01309, allocations: 152.8 kB / 0.806 GB, free: 9.699 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 4.051e-05/0.01313, allocations: 139.2 kB / 0.8062 GB, free: 9.562 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.01313, allocations: 0 / 0.8062 GB, free: 9.562 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000439/0.01357, allocations: 291 kB / 0.8065 GB, free: 9.277 MB / 0.7605 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.0006822/0.01425, allocations: 0.6281 MB / 0.8071 GB, free: 8.641 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 6.427e-05/0.01432, allocations: 37.39 kB / 0.8071 GB, free: 8.594 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.01432, allocations: 64 / 0.8071 GB, free: 8.594 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.01432, allocations: 4 kB / 0.8071 GB, free: 8.59 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.01473, allocations: 0.7217 MB / 0.8078 GB, free: 7.863 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002037/0.01494, allocations: 269.2 kB / 0.8081 GB, free: 7.57 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.265e-05/0.01497, allocations: 55.34 kB / 0.8081 GB, free: 7.496 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 8.747e-06/0.01498, allocations: 4 kB / 0.8081 GB, free: 7.492 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.01502, allocations: 78.2 kB / 0.8082 GB, free: 7.414 MB / 0.7605 GB Notification: Performance of SimCode: time 4.51e-07/0.01502, allocations: 0 / 0.8082 GB, free: 7.414 MB / 0.7605 GB Notification: Performance of Templates: time 0.007687/0.02271, allocations: 7.162 MB / 0.8152 GB, free: 308 kB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.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.822440186981112]