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.000926/0.000926, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0009189/0.0009189, allocations: 185.3 kB / 24.09 MB, free: 412 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.8843/0.8843, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.781/1.781, allocations: 377.9 MB / 0.624 GB, free: 8.363 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.392e-06/1.392e-06, allocations: 0 / 0.812 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.457e-05/1.596e-05, allocations: 3.188 kB / 0.812 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001833/0.001849, allocations: 1.543 MB / 0.8135 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.002934, allocations: 0.912 MB / 0.8144 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.5e-05/0.002999, allocations: 4 kB / 0.8144 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.003167, allocations: 35.77 kB / 0.8145 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 2.39e-05/0.003191, allocations: 25.17 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.003563, allocations: 193.4 kB / 0.8147 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.578e-05/0.003659, allocations: 51.67 kB / 0.8147 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.093e-05/0.00369, allocations: 0.6562 kB / 0.8147 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.732e-05/0.003777, allocations: 32.47 kB / 0.8147 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 2.247e-05/0.0038, allocations: 15.94 kB / 0.8148 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.003811, allocations: 1.375 kB / 0.8148 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002943/0.004105, allocations: 171.8 kB / 0.8149 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.024e-05/0.004115, allocations: 0 / 0.8149 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.519e-05/0.00413, allocations: 13.69 kB / 0.8149 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.004308, allocations: 159.4 kB / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.00431, allocations: 0 / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.51e-07/0.00431, allocations: 0 / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.004314, allocations: 0 / 0.8151 GB, free: 14.27 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.0002406/0.004555, allocations: 397.4 kB / 0.8155 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.004586, allocations: 12.03 kB / 0.8155 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.004633, allocations: 128.1 kB / 0.8156 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.004765, allocations: 252.2 kB / 0.8158 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001925/0.004958, allocations: 243.3 kB / 0.8161 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.863e-05/0.005006, allocations: 239.8 kB / 0.8163 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.27e-05/0.005059, allocations: 149.4 kB / 0.8165 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.005084, allocations: 119.4 kB / 0.8166 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.793e-05/0.005132, allocations: 243.6 kB / 0.8168 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.485e-05/0.005187, allocations: 246.2 kB / 0.817 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.929e-05/0.005236, allocations: 244.6 kB / 0.8173 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002001/0.005436, allocations: 0.5608 MB / 0.8178 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.273e-05/0.005509, allocations: 261.4 kB / 0.8181 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.844e-05/0.005537, allocations: 126.9 kB / 0.8182 GB, free: 11 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.005566, allocations: 135.1 kB / 0.8183 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.005608, allocations: 152.6 kB / 0.8185 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.005608, allocations: 0.5312 kB / 0.8185 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.231e-05/0.005661, allocations: 34.38 kB / 0.8185 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.005705, allocations: 170.6 kB / 0.8187 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.622e-05/0.005801, allocations: 203.5 kB / 0.8188 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.745e-06/0.005809, allocations: 27.3 kB / 0.8189 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.26e-05/0.005852, allocations: 142.8 kB / 0.819 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.032e-06/0.005853, allocations: 0 / 0.819 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.292e-05/0.005876, allocations: 19.38 kB / 0.819 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.005976, allocations: 0.4923 MB / 0.8195 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.03e-05/0.005986, allocations: 0.8125 kB / 0.8195 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.886e-06/0.005995, allocations: 7.938 kB / 0.8195 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.542e-05/0.006021, allocations: 12.62 kB / 0.8195 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.006022, allocations: 0 / 0.8195 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003507/0.006373, allocations: 50.8 kB / 0.8196 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.006384, allocations: 4.781 kB / 0.8196 GB, free: 9.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.006398, allocations: 4 kB / 0.8196 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.006409, allocations: 0.9688 kB / 0.8196 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.516e-06/0.006412, allocations: 0 / 0.8196 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-06/0.006415, allocations: 0 / 0.8196 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.271e-05/0.006427, allocations: 6.25 kB / 0.8196 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.006431, allocations: 0 / 0.8196 GB, free: 9.473 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.957e-05/0.006511, allocations: 279.8 kB / 0.8199 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.164e-05/0.006553, allocations: 160.8 kB / 0.82 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.219e-05/0.006595, allocations: 152.7 kB / 0.8202 GB, free: 8.871 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-05/0.006646, allocations: 272 kB / 0.8204 GB, free: 8.598 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.024e-05/0.006696, allocations: 267.4 kB / 0.8207 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.333e-05/0.00675, allocations: 268 kB / 0.8209 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.006907, allocations: 496.4 kB / 0.8214 GB, free: 7.543 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.06e-05/0.006938, allocations: 144.9 kB / 0.8215 GB, free: 7.395 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.925e-05/0.006977, allocations: 156.8 kB / 0.8217 GB, free: 7.234 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.578e-05/0.007033, allocations: 268.1 kB / 0.8219 GB, free: 6.965 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.224e-05/0.007095, allocations: 268 kB / 0.8222 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.793e-05/0.007153, allocations: 268.1 kB / 0.8225 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.331e-05/0.007216, allocations: 269.1 kB / 0.8227 GB, free: 6.156 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.007357, allocations: 459.8 kB / 0.8232 GB, free: 5.68 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.007397, allocations: 149.1 kB / 0.8233 GB, free: 5.527 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.042e-05/0.007457, allocations: 268.6 kB / 0.8236 GB, free: 5.258 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.667e-05/0.007514, allocations: 150 kB / 0.8237 GB, free: 5.105 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.487e-05/0.007569, allocations: 268 kB / 0.8239 GB, free: 4.836 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/0.007599, allocations: 152.9 kB / 0.8241 GB, free: 4.68 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.523e-05/0.007645, allocations: 146.1 kB / 0.8242 GB, free: 4.539 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.007645, allocations: 0 / 0.8242 GB, free: 4.539 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001884/0.007833, allocations: 31.88 kB / 0.8243 GB, free: 4.508 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.0001856/0.008019, allocations: 267.2 kB / 0.8245 GB, free: 4.234 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.05e-05/0.008089, allocations: 53.84 kB / 0.8246 GB, free: 4.172 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.008091, allocations: 0 / 0.8246 GB, free: 4.172 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.008092, allocations: 1.625 kB / 0.8246 GB, free: 4.172 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.008388, allocations: 0.7139 MB / 0.8253 GB, free: 3.453 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002062/0.008594, allocations: 271.5 kB / 0.8255 GB, free: 3.16 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.751e-05/0.008622, allocations: 55.34 kB / 0.8256 GB, free: 3.086 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.781e-05/0.008639, allocations: 4.656 kB / 0.8256 GB, free: 3.082 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.56e-05/0.008685, allocations: 78.19 kB / 0.8257 GB, free: 3.004 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.008686, allocations: 0.5625 kB / 0.8257 GB, free: 3.004 MB / 0.7761 GB Notification: Performance of Templates: time 0.00313/0.01182, allocations: 1.827 MB / 0.8274 GB, free: 1.207 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.633530393708497]