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.001403/0.001403, allocations: 80.3 kB / 21.47 MB, free: 3.035 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.001037/0.001037, allocations: 165.8 kB / 24.86 MB, free: 8.902 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.9688/0.9688, allocations: 177.1 MB / 205.3 MB, free: 5.109 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.843/1.843, allocations: 377.9 MB / 0.6247 GB, free: 8.426 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.422e-06/1.422e-06, allocations: 0 / 0.8128 GB, free: 332 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.925e-05/2.067e-05, allocations: 2.312 kB / 0.8128 GB, free: 328 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001888/0.001909, allocations: 1.531 MB / 0.8143 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009793/0.002888, allocations: 0.9119 MB / 0.8152 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.749e-05/0.002946, allocations: 3.938 kB / 0.8152 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.003103, allocations: 39.77 kB / 0.8152 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.448e-05/0.003128, allocations: 28.66 kB / 0.8152 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.003478, allocations: 181.9 kB / 0.8154 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.984e-05/0.003558, allocations: 57.19 kB / 0.8155 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.384e-05/0.003592, allocations: 7.984 kB / 0.8155 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.838e-05/0.00367, allocations: 23.92 kB / 0.8155 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.109e-05/0.003691, allocations: 11.94 kB / 0.8155 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.003703, allocations: 0.5 kB / 0.8155 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002925/0.003996, allocations: 173.5 kB / 0.8157 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.004007, allocations: 4 kB / 0.8157 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.907e-05/0.004026, allocations: 15.92 kB / 0.8157 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.004203, allocations: 155.5 kB / 0.8158 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.004207, allocations: 3.984 kB / 0.8159 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.62e-07/0.004207, allocations: 0.875 kB / 0.8159 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.004212, allocations: 0 / 0.8159 GB, free: 13.2 MB / 0.7292 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.0002489/0.00446, allocations: 388.9 kB / 0.8162 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.004491, allocations: 12.03 kB / 0.8162 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.004537, allocations: 128.7 kB / 0.8164 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.004673, allocations: 249.1 kB / 0.8166 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.012e-05/0.004724, allocations: 238.8 kB / 0.8168 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.862e-05/0.004772, allocations: 242.8 kB / 0.8171 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.106e-05/0.004823, allocations: 155.9 kB / 0.8172 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.004848, allocations: 119.4 kB / 0.8173 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.089e-05/0.004899, allocations: 238.8 kB / 0.8175 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.838e-05/0.004947, allocations: 246.2 kB / 0.8178 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.02e-05/0.004998, allocations: 246.4 kB / 0.818 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.005333, allocations: 0.5647 MB / 0.8186 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.988e-05/0.005413, allocations: 265.4 kB / 0.8188 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.005441, allocations: 127.4 kB / 0.8189 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.005464, allocations: 119.9 kB / 0.8191 GB, free: 9.801 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.005504, allocations: 160.5 kB / 0.8192 GB, free: 9.633 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.005505, allocations: 0.5312 kB / 0.8192 GB, free: 9.633 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 4.783e-05/0.005552, allocations: 31.33 kB / 0.8192 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.0056, allocations: 174.6 kB / 0.8194 GB, free: 9.414 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.505e-05/0.005695, allocations: 206.8 kB / 0.8196 GB, free: 9.195 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.505e-06/0.005703, allocations: 25.7 kB / 0.8196 GB, free: 9.164 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.365e-05/0.005746, allocations: 138.9 kB / 0.8198 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.092e-06/0.005747, allocations: 0.5938 kB / 0.8198 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.005771, allocations: 20 kB / 0.8198 GB, free: 8.996 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.005876, allocations: 0.4962 MB / 0.8203 GB, free: 8.488 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.002e-05/0.005886, allocations: 0.75 kB / 0.8203 GB, free: 8.488 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.225e-06/0.005894, allocations: 0 / 0.8203 GB, free: 8.488 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.811e-05/0.005922, allocations: 16.72 kB / 0.8203 GB, free: 8.469 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.005924, allocations: 4 kB / 0.8203 GB, free: 8.465 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.356e-05/0.006017, allocations: 43.02 kB / 0.8203 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.006031, allocations: 8 kB / 0.8203 GB, free: 8.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.006048, allocations: 0 / 0.8203 GB, free: 8.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.006057, allocations: 0 / 0.8203 GB, free: 8.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-06/0.006058, allocations: 0.7812 kB / 0.8203 GB, free: 8.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.006061, allocations: 4 kB / 0.8203 GB, free: 8.406 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.161e-05/0.006083, allocations: 4.906 kB / 0.8203 GB, free: 8.402 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.006089, allocations: 48 / 0.8203 GB, free: 8.402 MB / 0.7292 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 9.897e-05/0.006188, allocations: 276.9 kB / 0.8206 GB, free: 8.121 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.671e-05/0.006245, allocations: 164.8 kB / 0.8208 GB, free: 7.953 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.798e-05/0.006293, allocations: 156.7 kB / 0.8209 GB, free: 7.789 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.624e-05/0.006349, allocations: 268.9 kB / 0.8212 GB, free: 7.52 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.258e-05/0.006402, allocations: 268.1 kB / 0.8214 GB, free: 7.25 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.272e-05/0.006454, allocations: 275.9 kB / 0.8217 GB, free: 6.973 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.006606, allocations: 494.7 kB / 0.8222 GB, free: 6.457 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.007e-05/0.006636, allocations: 148.9 kB / 0.8223 GB, free: 6.305 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.929e-05/0.006666, allocations: 148.8 kB / 0.8224 GB, free: 6.152 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.306e-05/0.006719, allocations: 268.1 kB / 0.8227 GB, free: 5.883 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.146e-05/0.00677, allocations: 264.1 kB / 0.823 GB, free: 5.617 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.402e-05/0.006824, allocations: 268 kB / 0.8232 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.236e-05/0.006876, allocations: 271 kB / 0.8235 GB, free: 5.078 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.006987, allocations: 451.9 kB / 0.8239 GB, free: 4.609 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/0.007025, allocations: 161 kB / 0.8241 GB, free: 4.445 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.566e-05/0.007081, allocations: 264.1 kB / 0.8243 GB, free: 4.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.41e-05/0.007135, allocations: 156.9 kB / 0.8245 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/0.007192, allocations: 268 kB / 0.8247 GB, free: 3.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.00722, allocations: 148.9 kB / 0.8249 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.2e-05/0.007272, allocations: 142.7 kB / 0.825 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.007272, allocations: 0 / 0.825 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001967/0.007469, allocations: 39.86 kB / 0.825 GB, free: 3.422 MB / 0.7292 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.0002052/0.007674, allocations: 262.9 kB / 0.8253 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.912e-05/0.007743, allocations: 49.81 kB / 0.8253 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.007745, allocations: 0 / 0.8253 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.007746, allocations: 0.5625 kB / 0.8253 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.008197, allocations: 0.7152 MB / 0.826 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002228/0.008419, allocations: 278.3 kB / 0.8263 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.643e-05/0.008446, allocations: 56.02 kB / 0.8263 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.778e-05/0.008464, allocations: 0.7188 kB / 0.8263 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.359e-05/0.008507, allocations: 86 kB / 0.8264 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of SimCode: time 6.71e-07/0.008508, allocations: 0 / 0.8264 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of Templates: time 0.003097/0.0116, allocations: 1.829 MB / 0.8282 GB, free: 132 kB / 0.7292 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.934038627892733]