Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.001009/0.001009, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001104/0.001104, allocations: 169.3 kB / 24.28 MB, free: 276 kB / 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.9334/0.9334, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.785/1.785, allocations: 377.8 MB / 0.6239 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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.8116 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016e-05/1.162e-05, allocations: 2.312 kB / 0.8116 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001549/0.001561, allocations: 1.541 MB / 0.8131 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008722/0.002433, allocations: 0.9084 MB / 0.814 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.835e-05/0.002492, allocations: 7.938 kB / 0.814 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.00264, allocations: 39.78 kB / 0.814 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 1.796e-05/0.002658, allocations: 15.8 kB / 0.814 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003465/0.003005, allocations: 198.4 kB / 0.8142 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.03e-05/0.003085, allocations: 52.8 kB / 0.8143 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 2.978e-05/0.003115, allocations: 0 / 0.8143 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.492e-05/0.00319, allocations: 27.91 kB / 0.8143 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 1.997e-05/0.003209, allocations: 13.36 kB / 0.8143 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.00322, allocations: 0 / 0.8143 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002756/0.003496, allocations: 175.7 kB / 0.8145 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.508e-06/0.003505, allocations: 5.75 kB / 0.8145 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.965e-05/0.003525, allocations: 11.94 kB / 0.8145 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.003701, allocations: 151.6 kB / 0.8146 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.003703, allocations: 0 / 0.8146 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.81e-07/0.003704, allocations: 0 / 0.8146 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.003707, allocations: 0.8438 kB / 0.8146 GB, free: 14.93 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.000269/0.003976, allocations: 404.2 kB / 0.815 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.004008, allocations: 8.719 kB / 0.815 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.519e-05/0.004063, allocations: 124.1 kB / 0.8151 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.004222, allocations: 256.1 kB / 0.8154 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.616e-05/0.004278, allocations: 247.3 kB / 0.8156 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.167e-05/0.00433, allocations: 239.3 kB / 0.8158 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.877e-05/0.004388, allocations: 145.5 kB / 0.816 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.004415, allocations: 124.7 kB / 0.8161 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.097e-05/0.004466, allocations: 242.8 kB / 0.8163 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.298e-05/0.004519, allocations: 242.3 kB / 0.8166 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.964e-05/0.004569, allocations: 240.9 kB / 0.8168 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000218/0.004787, allocations: 0.5914 MB / 0.8174 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.585e-05/0.004863, allocations: 261.4 kB / 0.8176 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.212e-05/0.004895, allocations: 130.9 kB / 0.8177 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.004919, allocations: 119.2 kB / 0.8179 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.004962, allocations: 156.6 kB / 0.818 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 5.61e-07/0.004963, allocations: 0 / 0.818 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.497e-05/0.005017, allocations: 34.12 kB / 0.818 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.005067, allocations: 179.2 kB / 0.8182 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.005183, allocations: 200.6 kB / 0.8184 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.537e-06/0.005192, allocations: 26.23 kB / 0.8184 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.441e-05/0.005236, allocations: 138.9 kB / 0.8186 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.005238, allocations: 1.625 kB / 0.8186 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.437e-05/0.005262, allocations: 19.38 kB / 0.8186 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.005366, allocations: 0.4923 MB / 0.8191 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.052e-05/0.005377, allocations: 0 / 0.8191 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.498e-06/0.005386, allocations: 4.594 kB / 0.8191 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.748e-05/0.005414, allocations: 16.47 kB / 0.8191 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.005415, allocations: 0 / 0.8191 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.05e-05/0.005506, allocations: 54.58 kB / 0.8191 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.005516, allocations: 4 kB / 0.8191 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.00553, allocations: 4 kB / 0.8191 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.00554, allocations: 1.156 kB / 0.8191 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.00554, allocations: 0 / 0.8191 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.005545, allocations: 3.938 kB / 0.8191 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.252e-05/0.005558, allocations: 0.8438 kB / 0.8191 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.005564, allocations: 4 kB / 0.8191 GB, free: 10.09 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.46e-05/0.005638, allocations: 278 kB / 0.8194 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.005682, allocations: 160.8 kB / 0.8196 GB, free: 9.645 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.755e-05/0.00572, allocations: 152.7 kB / 0.8197 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-05/0.005773, allocations: 268.1 kB / 0.82 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.772e-05/0.00583, allocations: 275.9 kB / 0.8202 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.409e-05/0.005884, allocations: 268.1 kB / 0.8205 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.006037, allocations: 0.5104 MB / 0.821 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.913e-05/0.006066, allocations: 144.9 kB / 0.8211 GB, free: 7.977 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.908e-05/0.006095, allocations: 144.9 kB / 0.8213 GB, free: 7.828 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.574e-05/0.006151, allocations: 276 kB / 0.8215 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.279e-05/0.006204, allocations: 264.1 kB / 0.8218 GB, free: 7.285 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.008e-05/0.006264, allocations: 272 kB / 0.822 GB, free: 7.012 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.253e-05/0.006316, allocations: 268.1 kB / 0.8223 GB, free: 6.742 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.006425, allocations: 453.4 kB / 0.8227 GB, free: 6.273 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.674e-05/0.006462, allocations: 149.2 kB / 0.8229 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.893e-05/0.006521, allocations: 272 kB / 0.8231 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.273e-05/0.006574, allocations: 152.9 kB / 0.8233 GB, free: 5.691 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/0.006629, allocations: 264.7 kB / 0.8235 GB, free: 5.426 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.05e-05/0.00666, allocations: 156.8 kB / 0.8237 GB, free: 5.266 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.519e-05/0.006705, allocations: 140.2 kB / 0.8238 GB, free: 5.129 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.006705, allocations: 4 kB / 0.8238 GB, free: 5.125 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001705/0.006876, allocations: 31.88 kB / 0.8238 GB, free: 5.094 MB / 0.7761 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.0001946/0.00707, allocations: 272.8 kB / 0.8241 GB, free: 4.816 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.256e-05/0.007143, allocations: 41.39 kB / 0.8241 GB, free: 4.766 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.007144, allocations: 0 / 0.8241 GB, free: 4.766 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.007146, allocations: 3.938 kB / 0.8241 GB, free: 4.762 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.00746, allocations: 0.7114 MB / 0.8248 GB, free: 4.047 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002284/0.007688, allocations: 266.5 kB / 0.8251 GB, free: 3.758 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.992e-05/0.007718, allocations: 59.94 kB / 0.8251 GB, free: 3.68 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.555e-05/0.007734, allocations: 4.719 kB / 0.8252 GB, free: 3.676 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.15e-05/0.007745, allocations: 8.5 kB / 0.8252 GB, free: 3.668 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.007746, allocations: 3.781 kB / 0.8252 GB, free: 3.668 MB / 0.7761 GB Notification: Performance of Templates: time 0.002754/0.0105, allocations: 1.627 MB / 0.8268 GB, free: 2.082 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.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.876929108984768]