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.0009685/0.0009685, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001608/0.001608, allocations: 171.5 kB / 24.87 MB, free: 9.258 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.8747/0.8747, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.767/1.767, allocations: 377.9 MB / 0.6247 GB, free: 8.41 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.313e-06/1.313e-06, allocations: 0 / 0.8128 GB, free: 248 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.239e-05/1.371e-05, allocations: 2.312 kB / 0.8128 GB, free: 244 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002799/0.002812, allocations: 3.083 MB / 0.8158 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001941/0.004753, allocations: 2.115 MB / 0.8179 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.004892, allocations: 4 kB / 0.8179 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0009358/0.005828, allocations: 480 kB / 0.8184 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.005993, allocations: 152.9 kB / 0.8185 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 8.21e-05/0.006075, allocations: 55.94 kB / 0.8186 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002976/0.006373, allocations: 462.1 kB / 0.819 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.006517, allocations: 108.3 kB / 0.8191 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.006735, allocations: 241.4 kB / 0.8193 GB, free: 9.574 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.006881, allocations: 143.5 kB / 0.8195 GB, free: 9.434 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.919e-05/0.00691, allocations: 36 kB / 0.8195 GB, free: 9.398 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 3.502e-05/0.006945, allocations: 36 kB / 0.8196 GB, free: 9.363 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.751e-05/0.007023, allocations: 95.67 kB / 0.8196 GB, free: 9.27 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.729e-05/0.00712, allocations: 145.4 kB / 0.8198 GB, free: 9.129 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004672/0.007587, allocations: 290.8 kB / 0.8201 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.007589, allocations: 0 / 0.8201 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.51e-07/0.007589, allocations: 0 / 0.8201 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.007593, allocations: 0 / 0.8201 GB, free: 8.844 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006093/0.008202, allocations: 0.7507 MB / 0.8208 GB, free: 8.059 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.008231, allocations: 12.03 kB / 0.8208 GB, free: 8.047 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.899e-05/0.00829, allocations: 61.5 kB / 0.8209 GB, free: 7.988 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.008532, allocations: 295.5 kB / 0.8211 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.008546, allocations: 16.88 kB / 0.8212 GB, free: 7.66 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.008572, allocations: 21.66 kB / 0.8212 GB, free: 7.641 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.008732, allocations: 145.3 kB / 0.8213 GB, free: 7.492 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.008743, allocations: 4.188 kB / 0.8213 GB, free: 7.488 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.008756, allocations: 9.219 kB / 0.8213 GB, free: 7.48 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.008763, allocations: 7.938 kB / 0.8213 GB, free: 7.473 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.682e-05/0.00885, allocations: 66.66 kB / 0.8214 GB, free: 7.41 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005739/0.009424, allocations: 0.6217 MB / 0.822 GB, free: 6.762 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.009535, allocations: 97.84 kB / 0.8221 GB, free: 6.656 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.655e-05/0.009592, allocations: 57.3 kB / 0.8222 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.0096, allocations: 4 kB / 0.8222 GB, free: 6.594 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.009617, allocations: 37.33 kB / 0.8222 GB, free: 6.547 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.061e-06/0.009618, allocations: 0 / 0.8222 GB, free: 6.547 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0001885/0.009806, allocations: 154.6 kB / 0.8223 GB, free: 6.395 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.00983, allocations: 51.41 kB / 0.8224 GB, free: 6.332 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.01007, allocations: 430.6 kB / 0.8228 GB, free: 5.895 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.01009, allocations: 33.7 kB / 0.8228 GB, free: 5.855 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.0102, allocations: 275 kB / 0.8231 GB, free: 5.578 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/0.01024, allocations: 67.42 kB / 0.8232 GB, free: 5.512 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.01028, allocations: 47.34 kB / 0.8232 GB, free: 5.457 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.01041, allocations: 0.5362 MB / 0.8237 GB, free: 4.91 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.508e-05/0.01043, allocations: 15.98 kB / 0.8237 GB, free: 4.895 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.624e-05/0.01046, allocations: 23.92 kB / 0.8238 GB, free: 4.871 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.294e-05/0.01052, allocations: 58.95 kB / 0.8238 GB, free: 4.812 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.01052, allocations: 0 / 0.8238 GB, free: 4.812 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001262/0.01065, allocations: 137.4 kB / 0.824 GB, free: 4.672 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.01066, allocations: 9.062 kB / 0.824 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.01066, allocations: 0 / 0.824 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.802e-06/0.01067, allocations: 0 / 0.824 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.0108, allocations: 56.41 kB / 0.824 GB, free: 4.609 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.0108, allocations: 1.344 kB / 0.824 GB, free: 4.609 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.851e-05/0.01086, allocations: 11.89 kB / 0.824 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.01087, allocations: 8 kB / 0.824 GB, free: 4.59 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 (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 7.908e-05/0.01095, allocations: 165.4 kB / 0.8242 GB, free: 4.418 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.01098, allocations: 45.09 kB / 0.8242 GB, free: 4.375 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.216e-05/0.01103, allocations: 35.41 kB / 0.8243 GB, free: 4.332 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.01103, allocations: 3.938 kB / 0.8243 GB, free: 4.328 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.01103, allocations: 0 / 0.8243 GB, free: 4.328 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.01103, allocations: 0.9062 kB / 0.8243 GB, free: 4.328 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.01123, allocations: 241 kB / 0.8245 GB, free: 4.066 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.01123, allocations: 0 / 0.8245 GB, free: 4.066 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.01135, allocations: 48.62 kB / 0.8246 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.01135, allocations: 4.656 kB / 0.8246 GB, free: 4.016 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.01136, allocations: 14.91 kB / 0.8246 GB, free: 4.004 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.01136, allocations: 0 / 0.8246 GB, free: 4.004 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01136, allocations: 0 / 0.8246 GB, free: 4.004 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.01157, allocations: 315.4 kB / 0.8249 GB, free: 3.676 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/0.0116, allocations: 39.75 kB / 0.8249 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.01163, allocations: 4 kB / 0.8249 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.791e-05/0.0117, allocations: 4 kB / 0.8249 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.718e-05/0.01172, allocations: 15.97 kB / 0.8249 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.01173, allocations: 6.562 kB / 0.8249 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001338/0.01186, allocations: 267 kB / 0.8252 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01186, allocations: 0 / 0.8252 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001853/0.01205, allocations: 79.78 kB / 0.8253 GB, free: 3.277 MB / 0.7292 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 6.912e-05/0.01212, allocations: 107.2 kB / 0.8254 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001018/0.01222, allocations: 84.58 kB / 0.8255 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01222, allocations: 4 kB / 0.8255 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.467e-05/0.01226, allocations: 52.7 kB / 0.8255 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.01257, allocations: 95.5 kB / 0.8256 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007631/0.01333, allocations: 0.6444 MB / 0.8262 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.239e-05/0.01338, allocations: 96.3 kB / 0.8263 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.527e-05/0.01345, allocations: 30.97 kB / 0.8264 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.01358, allocations: 142.1 kB / 0.8265 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of SimCode: time 7.51e-07/0.01358, allocations: 0 / 0.8265 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of Templates: time 0.005842/0.01942, allocations: 4.047 MB / 0.8304 GB, free: 14.09 MB / 0.7448 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.625547525007278]