Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0012/0.0012, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.000976/0.000976, allocations: 181 kB / 23.35 MB, free: 1.137 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.9685/0.9685, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.427/2.427, allocations: 438.8 MB / 0.6827 GB, free: 13.63 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.495e-05/1.646e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002757/0.002773, allocations: 1.585 MB / 0.8402 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.004274, allocations: 0.9264 MB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.625e-05/0.00435, allocations: 7.938 kB / 0.8411 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.004557, allocations: 43.77 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.634e-05/0.004594, allocations: 15.8 kB / 0.8412 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004696/0.005063, allocations: 183.4 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.005165, allocations: 51.67 kB / 0.8414 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.156e-05/0.005207, allocations: 11.97 kB / 0.8414 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.005308, allocations: 27.91 kB / 0.8414 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.723e-05/0.005335, allocations: 11.94 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.005347, allocations: 0 / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004606/0.005807, allocations: 179.7 kB / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.00582, allocations: 8 kB / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.646e-05/0.005846, allocations: 15.92 kB / 0.8416 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.006092, allocations: 147.6 kB / 0.8418 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.006094, allocations: 0 / 0.8418 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.283e-06/0.006095, allocations: 0 / 0.8418 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.0061, allocations: 3.938 kB / 0.8418 GB, free: 10.95 MB / 0.8073 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.000311/0.006411, allocations: 280.5 kB / 0.842 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.006451, allocations: 8.625 kB / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.281e-05/0.006504, allocations: 80.2 kB / 0.8421 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.006693, allocations: 203.2 kB / 0.8423 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.571e-05/0.006748, allocations: 154.9 kB / 0.8425 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.213e-05/0.0068, allocations: 150.9 kB / 0.8426 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.01e-05/0.006861, allocations: 105.5 kB / 0.8427 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.006888, allocations: 79.47 kB / 0.8428 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.138e-05/0.006939, allocations: 154.9 kB / 0.8429 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.198e-05/0.006991, allocations: 154.5 kB / 0.8431 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.164e-05/0.007043, allocations: 154.5 kB / 0.8432 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002211/0.007264, allocations: 365.2 kB / 0.8436 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.754e-05/0.007342, allocations: 169.1 kB / 0.8437 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.711e-05/0.007369, allocations: 80.14 kB / 0.8438 GB, free: 8.766 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.007391, allocations: 79.28 kB / 0.8439 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.007432, allocations: 109.8 kB / 0.844 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.233e-06/0.007434, allocations: 4 kB / 0.844 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.612e-05/0.0075, allocations: 37.62 kB / 0.844 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.00755, allocations: 126.7 kB / 0.8442 GB, free: 8.387 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.007659, allocations: 138.5 kB / 0.8443 GB, free: 8.238 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.00767, allocations: 29.7 kB / 0.8443 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.484e-05/0.007705, allocations: 84.12 kB / 0.8444 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-06/0.007707, allocations: 0 / 0.8444 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.00774, allocations: 21.69 kB / 0.8444 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.00784, allocations: 318.8 kB / 0.8447 GB, free: 7.77 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.284e-05/0.007853, allocations: 4 kB / 0.8447 GB, free: 7.766 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.856e-06/0.007862, allocations: 4 kB / 0.8447 GB, free: 7.762 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.393e-05/0.007896, allocations: 16.83 kB / 0.8447 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.007897, allocations: 0 / 0.8447 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.702e-05/0.007974, allocations: 37.64 kB / 0.8448 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.007986, allocations: 4 kB / 0.8448 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.008, allocations: 0 / 0.8448 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.008012, allocations: 0 / 0.8448 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.436e-06/0.008015, allocations: 7.922 kB / 0.8448 GB, free: 7.688 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.008019, allocations: 4 kB / 0.8448 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.105e-05/0.00804, allocations: 12 kB / 0.8448 GB, free: 7.672 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.008046, allocations: 0 / 0.8448 GB, free: 7.672 MB / 0.8073 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 8.278e-05/0.008129, allocations: 181.1 kB / 0.845 GB, free: 7.484 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.758e-05/0.008186, allocations: 108.9 kB / 0.8451 GB, free: 7.371 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.71e-05/0.008233, allocations: 112.8 kB / 0.8452 GB, free: 7.254 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.202e-05/0.008285, allocations: 176.3 kB / 0.8454 GB, free: 7.074 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.112e-05/0.008336, allocations: 180.2 kB / 0.8455 GB, free: 6.891 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.302e-05/0.008389, allocations: 180.3 kB / 0.8457 GB, free: 6.707 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.008576, allocations: 333.3 kB / 0.846 GB, free: 6.355 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.301e-05/0.008609, allocations: 109.1 kB / 0.8461 GB, free: 6.242 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.182e-05/0.008641, allocations: 105 kB / 0.8462 GB, free: 6.133 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.452e-05/0.008696, allocations: 180.2 kB / 0.8464 GB, free: 5.949 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-05/0.008753, allocations: 184.3 kB / 0.8466 GB, free: 5.762 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.493e-05/0.008808, allocations: 184.2 kB / 0.8467 GB, free: 5.574 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.792e-05/0.008866, allocations: 180.2 kB / 0.8469 GB, free: 5.391 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.00899, allocations: 315.7 kB / 0.8472 GB, free: 5.059 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.687e-05/0.009037, allocations: 108.9 kB / 0.8473 GB, free: 4.945 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.073e-05/0.009097, allocations: 180.2 kB / 0.8475 GB, free: 4.762 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.854e-05/0.009176, allocations: 101 kB / 0.8476 GB, free: 4.656 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.676e-05/0.009233, allocations: 184.2 kB / 0.8478 GB, free: 4.469 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.009266, allocations: 105 kB / 0.8479 GB, free: 4.359 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.553e-05/0.009302, allocations: 35.17 kB / 0.8479 GB, free: 4.324 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.009302, allocations: 0 / 0.8479 GB, free: 4.324 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002774/0.009579, allocations: 35.88 kB / 0.8479 GB, free: 4.289 MB / 0.8073 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.0002366/0.009816, allocations: 199.5 kB / 0.8481 GB, free: 4.086 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.434e-05/0.00989, allocations: 34.56 kB / 0.8482 GB, free: 4.043 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.009893, allocations: 0 / 0.8482 GB, free: 4.043 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.625e-06/0.009896, allocations: 3.938 kB / 0.8482 GB, free: 4.039 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.01022, allocations: 479.7 kB / 0.8486 GB, free: 3.566 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002598/0.01048, allocations: 227.6 kB / 0.8488 GB, free: 3.316 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.53e-05/0.01052, allocations: 55.34 kB / 0.8489 GB, free: 3.242 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.341e-05/0.01054, allocations: 7.938 kB / 0.8489 GB, free: 3.234 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.618e-05/0.0106, allocations: 59.36 kB / 0.849 GB, free: 3.176 MB / 0.8073 GB Notification: Performance of SimCode: time 5.92e-07/0.0106, allocations: 3.938 kB / 0.849 GB, free: 3.172 MB / 0.8073 GB Notification: Performance of Templates: time 0.003442/0.01404, allocations: 1.822 MB / 0.8507 GB, free: 1.402 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.16628544498235]