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.0009051/0.0009051, allocations: 87.58 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.001401/0.001401, allocations: 161 kB / 23.82 MB, free: 0.75 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.8629/0.8629, allocations: 177.1 MB / 204.2 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.734/1.734, allocations: 377.8 MB / 0.6236 GB, free: 8.566 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.153e-06/1.153e-06, allocations: 0 / 0.8116 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.879e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002967/0.002986, allocations: 3.147 MB / 0.8147 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001833/0.004819, allocations: 2.153 MB / 0.8168 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.004942, allocations: 9.562 kB / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0009427/0.005885, allocations: 475.2 kB / 0.8172 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.006035, allocations: 153.8 kB / 0.8174 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 7.731e-05/0.006113, allocations: 63.86 kB / 0.8174 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003161/0.006429, allocations: 457.7 kB / 0.8179 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.006578, allocations: 99.83 kB / 0.818 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002344/0.006813, allocations: 249.6 kB / 0.8182 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.006959, allocations: 139.6 kB / 0.8184 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.243e-05/0.006991, allocations: 36 kB / 0.8184 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 3.855e-05/0.00703, allocations: 32 kB / 0.8184 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.85e-05/0.007108, allocations: 99.61 kB / 0.8185 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.007211, allocations: 143.6 kB / 0.8186 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.007457, allocations: 287.4 kB / 0.8189 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.00746, allocations: 0.5312 kB / 0.8189 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.82e-07/0.007461, allocations: 4 kB / 0.8189 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.738e-06/0.007465, allocations: 1.938 kB / 0.8189 GB, free: 10.18 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.000657/0.008122, allocations: 0.7429 MB / 0.8197 GB, free: 9.406 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.008156, allocations: 12.03 kB / 0.8197 GB, free: 9.395 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.06e-05/0.008227, allocations: 64.66 kB / 0.8197 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.008523, allocations: 307.7 kB / 0.82 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.008537, allocations: 16.88 kB / 0.82 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.008567, allocations: 16.38 kB / 0.8201 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.008784, allocations: 162 kB / 0.8202 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.008794, allocations: 1.188 kB / 0.8202 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.008811, allocations: 12.38 kB / 0.8202 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.00882, allocations: 7.938 kB / 0.8202 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.008952, allocations: 79.78 kB / 0.8203 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006901/0.009642, allocations: 0.7013 MB / 0.821 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.009788, allocations: 103 kB / 0.8211 GB, free: 7.867 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.084e-05/0.009869, allocations: 66.31 kB / 0.8212 GB, free: 7.801 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.00988, allocations: 4 kB / 0.8212 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.009898, allocations: 33.39 kB / 0.8212 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.213e-06/0.009899, allocations: 0 / 0.8212 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.0002618/0.01016, allocations: 163.9 kB / 0.8213 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.01019, allocations: 59.34 kB / 0.8214 GB, free: 7.52 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.01048, allocations: 438.8 kB / 0.8218 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.01049, allocations: 33.64 kB / 0.8218 GB, free: 7.039 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.01061, allocations: 275.1 kB / 0.8221 GB, free: 6.762 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.313e-05/0.01065, allocations: 67.38 kB / 0.8222 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.01069, allocations: 40.31 kB / 0.8222 GB, free: 6.648 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.01083, allocations: 0.5391 MB / 0.8227 GB, free: 6.098 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.221e-05/0.01087, allocations: 25.11 kB / 0.8228 GB, free: 6.074 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.759e-05/0.01091, allocations: 23.98 kB / 0.8228 GB, free: 6.051 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.267e-05/0.011, allocations: 70.08 kB / 0.8229 GB, free: 5.98 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.011, allocations: 1.125 kB / 0.8229 GB, free: 5.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000164/0.01117, allocations: 153.3 kB / 0.823 GB, free: 5.824 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.01118, allocations: 4 kB / 0.823 GB, free: 5.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.01118, allocations: 5.062 kB / 0.823 GB, free: 5.816 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.01119, allocations: 0 / 0.823 GB, free: 5.816 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.01134, allocations: 48.91 kB / 0.8231 GB, free: 5.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.01134, allocations: 0 / 0.8231 GB, free: 5.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.092e-05/0.0114, allocations: 15.89 kB / 0.8231 GB, free: 5.754 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.01141, allocations: 5.688 kB / 0.8231 GB, free: 5.75 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.115e-05/0.01149, allocations: 168.5 kB / 0.8232 GB, free: 5.574 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.01153, allocations: 35.77 kB / 0.8233 GB, free: 5.539 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.189e-05/0.01157, allocations: 43.89 kB / 0.8233 GB, free: 5.496 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.01157, allocations: 0 / 0.8233 GB, free: 5.496 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.01158, allocations: 1.344 kB / 0.8233 GB, free: 5.496 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.01158, allocations: 0 / 0.8233 GB, free: 5.496 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.01181, allocations: 312.3 kB / 0.8236 GB, free: 5.156 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01181, allocations: 0 / 0.8236 GB, free: 5.156 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.01195, allocations: 57.05 kB / 0.8237 GB, free: 5.102 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.01195, allocations: 0 / 0.8237 GB, free: 5.102 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.01197, allocations: 4.656 kB / 0.8237 GB, free: 5.098 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.01197, allocations: 3.938 kB / 0.8237 GB, free: 5.094 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01197, allocations: 0.6562 kB / 0.8237 GB, free: 5.094 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.01226, allocations: 333.4 kB / 0.824 GB, free: 4.754 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.125e-05/0.0123, allocations: 39.73 kB / 0.824 GB, free: 4.715 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.01232, allocations: 4 kB / 0.824 GB, free: 4.711 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.605e-05/0.01239, allocations: 4 kB / 0.824 GB, free: 4.707 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.01243, allocations: 15.97 kB / 0.8241 GB, free: 4.691 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.01244, allocations: 4 kB / 0.8241 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001813/0.01262, allocations: 289.1 kB / 0.8243 GB, free: 4.41 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01262, allocations: 0 / 0.8243 GB, free: 4.41 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000191/0.01281, allocations: 75.84 kB / 0.8244 GB, free: 4.336 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.282e-05/0.0129, allocations: 116.7 kB / 0.8245 GB, free: 4.211 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001616/0.01306, allocations: 83.59 kB / 0.8246 GB, free: 4.125 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.01307, allocations: 0 / 0.8246 GB, free: 4.125 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.281e-05/0.01313, allocations: 60.12 kB / 0.8247 GB, free: 4.062 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.01347, allocations: 94.88 kB / 0.8247 GB, free: 3.965 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009755/0.01445, allocations: 0.6385 MB / 0.8254 GB, free: 3.301 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.293e-05/0.01451, allocations: 92.3 kB / 0.8255 GB, free: 3.191 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.563e-05/0.01457, allocations: 30.97 kB / 0.8255 GB, free: 3.16 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.181e-05/0.01463, allocations: 28.5 kB / 0.8255 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of SimCode: time 6.81e-07/0.01463, allocations: 0 / 0.8255 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of Templates: time 0.00562/0.02025, allocations: 3.883 MB / 0.8293 GB, free: 15.38 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: 4.6160631640814245]