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.001513/0.001513, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001731/0.001731, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9034/0.9034, allocations: 177.1 MB / 204.2 MB, free: 5.652 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.75/1.75, allocations: 377.8 MB / 0.6236 GB, free: 8.527 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.282e-06/1.282e-06, allocations: 0 / 0.8116 GB, free: 1.617 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.034e-05/3.162e-05, allocations: 7.094 kB / 0.8116 GB, free: 1.609 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001713/0.001745, allocations: 1.492 MB / 0.8131 GB, free: 128 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002921/0.004666, allocations: 2.839 MB / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.881e-05/0.004705, allocations: 0 / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.151e-05/0.004726, allocations: 5.312 kB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.184e-05/0.004778, allocations: 15.84 kB / 0.8159 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002454/0.007232, allocations: 1.65 MB / 0.8175 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.697e-05/0.007299, allocations: 47.61 kB / 0.8175 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.251e-05/0.007332, allocations: 9.031 kB / 0.8176 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.243e-05/0.007364, allocations: 23.92 kB / 0.8176 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 1.974e-05/0.007384, allocations: 15.92 kB / 0.8176 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.007395, allocations: 0.5312 kB / 0.8176 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.008828, allocations: 1.49 MB / 0.8191 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.00884, allocations: 7.969 kB / 0.8191 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.217e-05/0.008862, allocations: 12.97 kB / 0.8191 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.01018, allocations: 1.278 MB / 0.8203 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.01018, allocations: 0 / 0.8203 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.72e-07/0.01018, allocations: 0.5938 kB / 0.8203 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.01019, allocations: 1.625 kB / 0.8203 GB, free: 8.75 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.0004592/0.01065, allocations: 0.5608 MB / 0.8209 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.01068, allocations: 8.031 kB / 0.8209 GB, free: 8.145 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.885e-05/0.01073, allocations: 128.1 kB / 0.821 GB, free: 8.02 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.46e-05/0.01082, allocations: 243.6 kB / 0.8212 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.651e-05/0.01087, allocations: 238.8 kB / 0.8215 GB, free: 7.523 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.226e-05/0.01092, allocations: 246.7 kB / 0.8217 GB, free: 7.281 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.477e-05/0.01097, allocations: 145.5 kB / 0.8218 GB, free: 7.133 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/0.011, allocations: 124.5 kB / 0.822 GB, free: 7.012 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.083e-05/0.01105, allocations: 242.5 kB / 0.8222 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.823e-05/0.0111, allocations: 238.4 kB / 0.8224 GB, free: 6.539 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.438e-05/0.01114, allocations: 239 kB / 0.8226 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002118/0.01136, allocations: 0.5884 MB / 0.8232 GB, free: 5.684 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.36e-05/0.01143, allocations: 269.4 kB / 0.8235 GB, free: 5.406 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.081e-05/0.01146, allocations: 138.9 kB / 0.8236 GB, free: 5.266 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.01149, allocations: 120.3 kB / 0.8237 GB, free: 5.148 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.01152, allocations: 156.6 kB / 0.8239 GB, free: 4.984 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 5.91e-07/0.01152, allocations: 1.031 kB / 0.8239 GB, free: 4.984 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 4.984e-05/0.01157, allocations: 41.59 kB / 0.8239 GB, free: 4.938 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.01162, allocations: 174.5 kB / 0.8241 GB, free: 4.754 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.01173, allocations: 187 kB / 0.8243 GB, free: 4.555 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.01173, allocations: 25.7 kB / 0.8243 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.398e-05/0.01178, allocations: 142.9 kB / 0.8244 GB, free: 4.379 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.01178, allocations: 3.312 kB / 0.8244 GB, free: 4.379 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.01181, allocations: 19.38 kB / 0.8244 GB, free: 4.352 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.01191, allocations: 0.4884 MB / 0.8249 GB, free: 3.852 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.243e-05/0.01193, allocations: 4 kB / 0.8249 GB, free: 3.848 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.025e-05/0.01194, allocations: 4 kB / 0.8249 GB, free: 3.844 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.726e-05/0.01196, allocations: 15.69 kB / 0.8249 GB, free: 3.824 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.01196, allocations: 0 / 0.8249 GB, free: 3.824 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.08e-05/0.01206, allocations: 57.58 kB / 0.825 GB, free: 3.762 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.01207, allocations: 4.906 kB / 0.825 GB, free: 3.758 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.01208, allocations: 4 kB / 0.825 GB, free: 3.754 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.01209, allocations: 0 / 0.825 GB, free: 3.754 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.496e-06/0.01209, allocations: 4.531 kB / 0.825 GB, free: 3.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.0121, allocations: 1.406 kB / 0.825 GB, free: 3.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.291e-05/0.01211, allocations: 3.953 kB / 0.825 GB, free: 3.746 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.01211, allocations: 4 kB / 0.825 GB, free: 3.742 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.7e-05/0.01219, allocations: 271.8 kB / 0.8253 GB, free: 3.465 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.01223, allocations: 153 kB / 0.8254 GB, free: 3.309 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.663e-05/0.01227, allocations: 156.6 kB / 0.8256 GB, free: 3.152 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.863e-05/0.01232, allocations: 272.1 kB / 0.8258 GB, free: 2.879 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.843e-05/0.01237, allocations: 272 kB / 0.8261 GB, free: 2.605 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-05/0.01242, allocations: 268.1 kB / 0.8263 GB, free: 2.336 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.01257, allocations: 0.4921 MB / 0.8268 GB, free: 1.801 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.088e-05/0.0126, allocations: 152.8 kB / 0.827 GB, free: 1.645 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.965e-05/0.01263, allocations: 148.9 kB / 0.8271 GB, free: 1.492 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001999/0.01283, allocations: 272.2 kB / 0.8274 GB, free: 1.219 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.084e-05/0.01288, allocations: 268.1 kB / 0.8276 GB, free: 0.9492 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-05/0.01293, allocations: 272.1 kB / 0.8279 GB, free: 0.6758 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.364e-05/0.01299, allocations: 275.9 kB / 0.8281 GB, free: 408 kB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.0131, allocations: 455.9 kB / 0.8286 GB, free: 15.93 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.01314, allocations: 156.8 kB / 0.8287 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.898e-05/0.0132, allocations: 268.1 kB / 0.829 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.025e-05/0.01325, allocations: 148.8 kB / 0.8291 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.962e-05/0.01331, allocations: 276 kB / 0.8294 GB, free: 15.07 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/0.01334, allocations: 148.8 kB / 0.8295 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 4.828e-05/0.01338, allocations: 144.6 kB / 0.8297 GB, free: 14.77 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.01338, allocations: 0 / 0.8297 GB, free: 14.77 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004886/0.01387, allocations: 298.9 kB / 0.83 GB, free: 14.48 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.0007368/0.01461, allocations: 0.6337 MB / 0.8306 GB, free: 13.83 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 8.497e-05/0.01469, allocations: 49.38 kB / 0.8306 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.0147, allocations: 0 / 0.8306 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.0147, allocations: 0 / 0.8306 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.01499, allocations: 0.714 MB / 0.8313 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002473/0.01524, allocations: 275.7 kB / 0.8316 GB, free: 12.76 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.978e-05/0.01527, allocations: 59.22 kB / 0.8316 GB, free: 12.68 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 9.788e-06/0.01528, allocations: 0 / 0.8316 GB, free: 12.68 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.231e-05/0.01529, allocations: 12.5 kB / 0.8317 GB, free: 12.67 MB / 0.7917 GB Notification: Performance of SimCode: time 8.12e-07/0.01529, allocations: 0 / 0.8317 GB, free: 12.67 MB / 0.7917 GB Notification: Performance of Templates: time 0.008972/0.02426, allocations: 8.046 MB / 0.8395 GB, free: 4.676 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.852971026673913]