Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001336/0.001336, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001475/0.001475, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9375/0.9375, allocations: 177.1 MB / 204.2 MB, free: 5.309 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.842/1.842, allocations: 377.8 MB / 0.6236 GB, free: 8.562 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.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_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.8116 GB, free: 1.648 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.798e-05, allocations: 3.312 kB / 0.8116 GB, free: 1.645 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003314/0.003342, allocations: 3.142 MB / 0.8147 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002236/0.005578, allocations: 2.154 MB / 0.8168 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001969/0.005775, allocations: 8 kB / 0.8168 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.006937, allocations: 476.8 kB / 0.8172 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.007168, allocations: 156.4 kB / 0.8174 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001004/0.007269, allocations: 63.92 kB / 0.8174 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003669/0.007636, allocations: 453.7 kB / 0.8179 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.007813, allocations: 96.91 kB / 0.818 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002973/0.008111, allocations: 251.3 kB / 0.8182 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.008276, allocations: 136.6 kB / 0.8183 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.769e-05/0.008313, allocations: 43.92 kB / 0.8184 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.265e-05/0.008356, allocations: 36 kB / 0.8184 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.12e-05/0.008447, allocations: 97.48 kB / 0.8185 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.008554, allocations: 139.6 kB / 0.8186 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.00885, allocations: 286.9 kB / 0.8189 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.008854, allocations: 8 kB / 0.8189 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.072e-06/0.008855, allocations: 0 / 0.8189 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.008861, allocations: 0.6875 kB / 0.8189 GB, free: 10.15 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007372/0.009598, allocations: 0.7363 MB / 0.8196 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.009636, allocations: 16.02 kB / 0.8197 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.408e-05/0.00972, allocations: 64.66 kB / 0.8197 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.01004, allocations: 307.2 kB / 0.82 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.01006, allocations: 21.44 kB / 0.82 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.718e-05/0.0101, allocations: 20.38 kB / 0.8201 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.01034, allocations: 158.8 kB / 0.8202 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.01035, allocations: 192 / 0.8202 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.01036, allocations: 12.38 kB / 0.8202 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.01037, allocations: 7.938 kB / 0.8202 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.01051, allocations: 79.5 kB / 0.8203 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007674/0.01128, allocations: 0.7005 MB / 0.821 GB, free: 7.949 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.01144, allocations: 99.06 kB / 0.8211 GB, free: 7.84 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.613e-05/0.01152, allocations: 63.66 kB / 0.8211 GB, free: 7.773 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.01154, allocations: 4.625 kB / 0.8211 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.01156, allocations: 33.39 kB / 0.8212 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.01156, allocations: 4.75 kB / 0.8212 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.0002745/0.01184, allocations: 165.6 kB / 0.8213 GB, free: 7.555 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.01186, allocations: 56.34 kB / 0.8214 GB, free: 7.488 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000309/0.01217, allocations: 438.8 kB / 0.8218 GB, free: 7.047 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.01219, allocations: 31.05 kB / 0.8218 GB, free: 7.012 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.01231, allocations: 279.1 kB / 0.8221 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.812e-05/0.01236, allocations: 67.38 kB / 0.8222 GB, free: 6.664 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.783e-05/0.01241, allocations: 43.38 kB / 0.8222 GB, free: 6.613 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.01255, allocations: 0.536 MB / 0.8227 GB, free: 6.066 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.574e-05/0.01259, allocations: 23.98 kB / 0.8228 GB, free: 6.043 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.25e-05/0.01263, allocations: 26.02 kB / 0.8228 GB, free: 6.02 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.532e-05/0.01273, allocations: 69.91 kB / 0.8228 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.01273, allocations: 0 / 0.8228 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001602/0.01289, allocations: 153.3 kB / 0.823 GB, free: 5.793 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.01291, allocations: 4 kB / 0.823 GB, free: 5.789 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.01291, allocations: 7.562 kB / 0.823 GB, free: 5.785 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.01292, allocations: 0 / 0.823 GB, free: 5.785 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.01309, allocations: 47.97 kB / 0.8231 GB, free: 5.738 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.01309, allocations: 0 / 0.8231 GB, free: 5.738 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.101e-05/0.01315, allocations: 15.89 kB / 0.8231 GB, free: 5.723 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.01316, allocations: 4 kB / 0.8231 GB, free: 5.719 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 (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 8.633e-05/0.01325, allocations: 168.5 kB / 0.8232 GB, free: 5.543 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.01329, allocations: 39.77 kB / 0.8233 GB, free: 5.504 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.838e-05/0.01333, allocations: 40.33 kB / 0.8233 GB, free: 5.465 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.01334, allocations: 0 / 0.8233 GB, free: 5.465 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.01334, allocations: 0 / 0.8233 GB, free: 5.465 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01334, allocations: 5.031 kB / 0.8233 GB, free: 5.461 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.01362, allocations: 304.3 kB / 0.8236 GB, free: 5.129 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.01362, allocations: 4 kB / 0.8236 GB, free: 5.125 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.01376, allocations: 49.09 kB / 0.8237 GB, free: 5.078 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.01376, allocations: 7.922 kB / 0.8237 GB, free: 5.07 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.01378, allocations: 5.062 kB / 0.8237 GB, free: 5.066 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.01378, allocations: 0 / 0.8237 GB, free: 5.066 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01378, allocations: 4 kB / 0.8237 GB, free: 5.062 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.01406, allocations: 326.5 kB / 0.824 GB, free: 4.727 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.0141, allocations: 39.73 kB / 0.824 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.01413, allocations: 11.94 kB / 0.824 GB, free: 4.676 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-05/0.0142, allocations: 4.5 kB / 0.824 GB, free: 4.672 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.01424, allocations: 16.59 kB / 0.8241 GB, free: 4.656 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.01425, allocations: 5.344 kB / 0.8241 GB, free: 4.652 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001804/0.01443, allocations: 283.1 kB / 0.8243 GB, free: 4.379 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01443, allocations: 0 / 0.8243 GB, free: 4.379 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002132/0.01464, allocations: 75.84 kB / 0.8244 GB, free: 4.305 MB / 0.7761 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 9.714e-05/0.01474, allocations: 112.5 kB / 0.8245 GB, free: 4.184 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001536/0.01489, allocations: 88.44 kB / 0.8246 GB, free: 4.094 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.0149, allocations: 1.094 kB / 0.8246 GB, free: 4.094 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.863e-05/0.01495, allocations: 61.69 kB / 0.8246 GB, free: 4.031 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.01531, allocations: 86.53 kB / 0.8247 GB, free: 3.945 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.01634, allocations: 0.6405 MB / 0.8254 GB, free: 3.285 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.991e-05/0.0164, allocations: 92.3 kB / 0.8254 GB, free: 3.176 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.731e-05/0.01648, allocations: 26.97 kB / 0.8255 GB, free: 3.148 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.616e-05/0.01654, allocations: 24.5 kB / 0.8255 GB, free: 3.125 MB / 0.7761 GB Notification: Performance of SimCode: time 1.042e-06/0.01654, allocations: 4 kB / 0.8255 GB, free: 3.121 MB / 0.7761 GB Notification: Performance of Templates: time 0.006209/0.02275, allocations: 3.678 MB / 0.8291 GB, free: 15.57 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.134952982887626]