Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.001471/0.001471, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001757/0.001757, allocations: 181 kB / 23.36 MB, free: 1.133 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.9483/0.9483, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.361/2.361, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8387 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.702e-05, allocations: 4.703 kB / 0.8387 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004477/0.004494, allocations: 3.137 MB / 0.8418 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003012/0.007506, allocations: 2.156 MB / 0.8439 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.007669, allocations: 7.938 kB / 0.8439 GB, free: 8.766 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001427/0.009096, allocations: 0.5092 MB / 0.8444 GB, free: 8.254 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002774/0.009373, allocations: 146.8 kB / 0.8445 GB, free: 8.109 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001179/0.009491, allocations: 59.92 kB / 0.8446 GB, free: 8.051 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003097/0.009801, allocations: 461.6 kB / 0.845 GB, free: 7.598 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.009949, allocations: 104.5 kB / 0.8451 GB, free: 7.492 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.01018, allocations: 251.4 kB / 0.8453 GB, free: 7.246 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.01033, allocations: 131.6 kB / 0.8455 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.01036, allocations: 36 kB / 0.8455 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 3.507e-05/0.0104, allocations: 36 kB / 0.8455 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.071e-05/0.01048, allocations: 99.67 kB / 0.8456 GB, free: 6.949 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.594e-05/0.01057, allocations: 143.6 kB / 0.8458 GB, free: 6.809 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.0108, allocations: 286.9 kB / 0.846 GB, free: 6.527 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.0108, allocations: 3.984 kB / 0.846 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.51e-07/0.01081, allocations: 0 / 0.846 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.01081, allocations: 0 / 0.846 GB, free: 6.523 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005376/0.01135, allocations: 0.6042 MB / 0.8466 GB, free: 5.895 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.707e-05/0.01137, allocations: 8.625 kB / 0.8466 GB, free: 5.887 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.597e-05/0.01143, allocations: 44.91 kB / 0.8467 GB, free: 5.844 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.01166, allocations: 255.9 kB / 0.8469 GB, free: 5.566 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.01168, allocations: 12.88 kB / 0.8469 GB, free: 5.555 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.0117, allocations: 20.38 kB / 0.847 GB, free: 5.535 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.01186, allocations: 149.3 kB / 0.8471 GB, free: 5.383 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.01187, allocations: 8.188 kB / 0.8471 GB, free: 5.375 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.01188, allocations: 8.375 kB / 0.8471 GB, free: 5.367 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.01189, allocations: 7.938 kB / 0.8471 GB, free: 5.359 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.893e-05/0.01198, allocations: 61.45 kB / 0.8472 GB, free: 5.297 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004872/0.01247, allocations: 440.1 kB / 0.8476 GB, free: 4.852 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.01257, allocations: 90.41 kB / 0.8477 GB, free: 4.754 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.945e-05/0.01262, allocations: 48.77 kB / 0.8477 GB, free: 4.703 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.01263, allocations: 8 kB / 0.8477 GB, free: 4.695 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.01265, allocations: 34.56 kB / 0.8478 GB, free: 4.652 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=18): time 1.984e-06/0.01265, allocations: 3.984 kB / 0.8478 GB, free: 4.648 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18): time 0.0001599/0.01281, allocations: 112 kB / 0.8479 GB, free: 4.535 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.01283, allocations: 59.34 kB / 0.8479 GB, free: 4.465 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.01302, allocations: 311.4 kB / 0.8482 GB, free: 4.148 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.01303, allocations: 25.7 kB / 0.8483 GB, free: 4.117 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.002e-05/0.01309, allocations: 165.3 kB / 0.8484 GB, free: 3.949 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.01313, allocations: 63.47 kB / 0.8485 GB, free: 3.887 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.01317, allocations: 41.64 kB / 0.8485 GB, free: 3.84 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.245e-05/0.01325, allocations: 354.7 kB / 0.8489 GB, free: 3.484 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.265e-05/0.01327, allocations: 12 kB / 0.8489 GB, free: 3.473 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.435e-05/0.0133, allocations: 22.05 kB / 0.8489 GB, free: 3.453 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.455e-05/0.01336, allocations: 56.72 kB / 0.849 GB, free: 3.395 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.01336, allocations: 0 / 0.849 GB, free: 3.395 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001012/0.01346, allocations: 106.7 kB / 0.8491 GB, free: 3.285 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.01347, allocations: 8 kB / 0.8491 GB, free: 3.277 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.01348, allocations: 0 / 0.8491 GB, free: 3.277 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.01349, allocations: 0 / 0.8491 GB, free: 3.277 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.01371, allocations: 87.92 kB / 0.8491 GB, free: 3.195 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.01371, allocations: 3.984 kB / 0.8491 GB, free: 3.191 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.092e-05/0.01376, allocations: 11.94 kB / 0.8492 GB, free: 3.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.01377, allocations: 4 kB / 0.8492 GB, free: 3.176 MB / 0.8073 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 6.966e-05/0.01384, allocations: 120.6 kB / 0.8493 GB, free: 3.047 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.01387, allocations: 23.98 kB / 0.8493 GB, free: 3.023 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.876e-05/0.01391, allocations: 39.39 kB / 0.8493 GB, free: 2.988 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.01391, allocations: 4 kB / 0.8493 GB, free: 2.984 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.01391, allocations: 7.938 kB / 0.8494 GB, free: 2.977 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.01391, allocations: 0 / 0.8494 GB, free: 2.977 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.01408, allocations: 177.7 kB / 0.8495 GB, free: 2.785 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01408, allocations: 0 / 0.8495 GB, free: 2.785 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.01424, allocations: 78.5 kB / 0.8496 GB, free: 2.711 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.01425, allocations: 3.938 kB / 0.8496 GB, free: 2.707 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.01426, allocations: 11.94 kB / 0.8496 GB, free: 2.695 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.01426, allocations: 0 / 0.8496 GB, free: 2.695 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.01426, allocations: 7.938 kB / 0.8496 GB, free: 2.688 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.01444, allocations: 226 kB / 0.8498 GB, free: 2.453 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.593e-05/0.01447, allocations: 35.7 kB / 0.8499 GB, free: 2.418 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.0145, allocations: 11.94 kB / 0.8499 GB, free: 2.406 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.474e-05/0.01456, allocations: 7.984 kB / 0.8499 GB, free: 2.398 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.01459, allocations: 11.98 kB / 0.8499 GB, free: 2.387 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.01459, allocations: 0 / 0.8499 GB, free: 2.387 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.4e-05/0.01469, allocations: 136.7 kB / 0.85 GB, free: 2.25 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01469, allocations: 0 / 0.85 GB, free: 2.25 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001606/0.01485, allocations: 75.84 kB / 0.8501 GB, free: 2.176 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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 7.024e-05/0.01492, allocations: 88.39 kB / 0.8502 GB, free: 2.078 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.314e-05/0.01501, allocations: 72.67 kB / 0.8503 GB, free: 2.004 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.01502, allocations: 4 kB / 0.8503 GB, free: 2 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.103e-05/0.01506, allocations: 44.77 kB / 0.8503 GB, free: 1.953 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.01532, allocations: 91.81 kB / 0.8504 GB, free: 1.867 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007593/0.01607, allocations: 0.6414 MB / 0.851 GB, free: 1.199 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.232e-05/0.01613, allocations: 96.61 kB / 0.8511 GB, free: 1.086 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.951e-05/0.0162, allocations: 34.95 kB / 0.8511 GB, free: 1.051 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.01634, allocations: 117.3 kB / 0.8513 GB, free: 0.9375 MB / 0.8073 GB Notification: Performance of SimCode: time 6.02e-07/0.01634, allocations: 0 / 0.8513 GB, free: 0.9375 MB / 0.8073 GB Notification: Performance of Templates: time 0.005751/0.02209, allocations: 4.236 MB / 0.8554 GB, free: 12.88 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_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: 5.00434553809464]