Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.001288/0.001288, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001446/0.001446, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.8659/0.8659, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.222/2.222, allocations: 438.8 MB / 0.6827 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 178] 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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0.7656 kB / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.304e-05, allocations: 4.844 kB / 0.8387 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00533/0.005353, allocations: 4.176 MB / 0.8427 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003563/0.008915, allocations: 2.444 MB / 0.8451 GB, free: 7.473 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002552/0.009171, allocations: 11.94 kB / 0.8451 GB, free: 7.461 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001505/0.01068, allocations: 0.5284 MB / 0.8456 GB, free: 6.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0004874/0.01116, allocations: 253.8 kB / 0.8459 GB, free: 6.68 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.01141, allocations: 143.8 kB / 0.846 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0008238/0.01224, allocations: 0.8366 MB / 0.8468 GB, free: 5.699 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003637/0.0126, allocations: 221 kB / 0.8471 GB, free: 5.48 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000593/0.01319, allocations: 467 kB / 0.8475 GB, free: 5.023 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003611/0.01355, allocations: 251.3 kB / 0.8477 GB, free: 4.777 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.185e-05/0.01365, allocations: 75.94 kB / 0.8478 GB, free: 4.703 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.01375, allocations: 76 kB / 0.8479 GB, free: 4.629 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.01391, allocations: 179.3 kB / 0.8481 GB, free: 4.453 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.00027/0.01418, allocations: 259.4 kB / 0.8483 GB, free: 4.199 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005809/0.01476, allocations: 0.5022 MB / 0.8488 GB, free: 3.695 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.01476, allocations: 3.984 kB / 0.8488 GB, free: 3.691 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.82e-07/0.01476, allocations: 0 / 0.8488 GB, free: 3.691 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.555e-06/0.01477, allocations: 4 kB / 0.8488 GB, free: 3.688 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001158/0.01593, allocations: 0.8533 MB / 0.8496 GB, free: 2.809 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.01596, allocations: 8.625 kB / 0.8496 GB, free: 2.801 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.0161, allocations: 88.86 kB / 0.8497 GB, free: 2.715 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004375/0.01654, allocations: 295.5 kB / 0.85 GB, free: 2.398 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/0.01657, allocations: 37.38 kB / 0.85 GB, free: 2.363 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.825e-05/0.01664, allocations: 48.38 kB / 0.8501 GB, free: 2.316 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004347/0.01707, allocations: 295.6 kB / 0.8504 GB, free: 2.016 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.01709, allocations: 4.188 kB / 0.8504 GB, free: 2.012 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.01713, allocations: 20.38 kB / 0.8504 GB, free: 1.992 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.01714, allocations: 15.94 kB / 0.8504 GB, free: 1.977 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002675/0.01741, allocations: 134.9 kB / 0.8505 GB, free: 1.848 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.0188, allocations: 0.8532 MB / 0.8514 GB, free: 0.9805 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.01905, allocations: 163.2 kB / 0.8515 GB, free: 0.8086 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/0.01929, allocations: 164.5 kB / 0.8517 GB, free: 0.6445 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.01931, allocations: 8.688 kB / 0.8517 GB, free: 0.6367 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.01934, allocations: 42.48 kB / 0.8517 GB, free: 0.5859 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=42): time 2.495e-06/0.01934, allocations: 0 / 0.8517 GB, free: 0.5859 MB / 0.8073 GB Notification: Performance of matching and sorting (n=42): time 0.0004019/0.01975, allocations: 226.1 kB / 0.8519 GB, free: 368 kB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.01978, allocations: 55.41 kB / 0.852 GB, free: 300 kB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003437/0.02013, allocations: 347.3 kB / 0.8523 GB, free: 15.94 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.02015, allocations: 29.7 kB / 0.8524 GB, free: 15.91 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.02028, allocations: 233.4 kB / 0.8526 GB, free: 15.67 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.02039, allocations: 154.6 kB / 0.8527 GB, free: 15.52 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.987e-05/0.02048, allocations: 62.05 kB / 0.8528 GB, free: 15.45 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.02061, allocations: 362.7 kB / 0.8531 GB, free: 15.09 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.992e-05/0.02069, allocations: 36.73 kB / 0.8532 GB, free: 15.05 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.78e-05/0.02077, allocations: 37.48 kB / 0.8532 GB, free: 15.02 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.02097, allocations: 134.1 kB / 0.8533 GB, free: 14.88 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.02097, allocations: 4 kB / 0.8533 GB, free: 14.88 MB / 0.823 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002889/0.02126, allocations: 189 kB / 0.8535 GB, free: 14.69 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.02128, allocations: 4 kB / 0.8535 GB, free: 14.68 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.02128, allocations: 0 / 0.8535 GB, free: 14.68 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.02129, allocations: 4 kB / 0.8535 GB, free: 14.68 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004113/0.02171, allocations: 119.9 kB / 0.8536 GB, free: 14.56 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.02171, allocations: 4 kB / 0.8536 GB, free: 14.56 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.02186, allocations: 31.78 kB / 0.8537 GB, free: 14.53 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.02187, allocations: 4 kB / 0.8537 GB, free: 14.52 MB / 0.823 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 (46): * Single equations (assignments): 46 * 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 0.0001306/0.022, allocations: 136.6 kB / 0.8538 GB, free: 14.38 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.094e-05/0.02207, allocations: 39.97 kB / 0.8538 GB, free: 14.34 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.013e-05/0.02215, allocations: 52.81 kB / 0.8539 GB, free: 14.29 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.02216, allocations: 15.97 kB / 0.8539 GB, free: 14.27 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.02217, allocations: 0 / 0.8539 GB, free: 14.27 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.02217, allocations: 3.938 kB / 0.8539 GB, free: 14.27 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004182/0.02259, allocations: 297.4 kB / 0.8542 GB, free: 13.96 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.02259, allocations: 0 / 0.8542 GB, free: 13.96 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004195/0.02301, allocations: 127.9 kB / 0.8543 GB, free: 13.83 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.02302, allocations: 0 / 0.8543 GB, free: 13.83 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.02304, allocations: 8 kB / 0.8543 GB, free: 13.82 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.02304, allocations: 0 / 0.8543 GB, free: 13.82 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.02304, allocations: 0 / 0.8543 GB, free: 13.82 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004553/0.0235, allocations: 370.9 kB / 0.8547 GB, free: 13.45 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.428e-05/0.02357, allocations: 47.55 kB / 0.8547 GB, free: 13.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.77e-05/0.02362, allocations: 12 kB / 0.8547 GB, free: 13.39 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.02378, allocations: 8 kB / 0.8547 GB, free: 13.38 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.02383, allocations: 27.94 kB / 0.8548 GB, free: 13.35 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.02385, allocations: 4 kB / 0.8548 GB, free: 13.35 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001781/0.02403, allocations: 156.7 kB / 0.8549 GB, free: 13.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 9e-08/0.02403, allocations: 0 / 0.8549 GB, free: 13.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003952/0.02442, allocations: 151.7 kB / 0.8551 GB, free: 13.05 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.0001233/0.02454, allocations: 88.36 kB / 0.8552 GB, free: 12.95 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002619/0.02481, allocations: 164.8 kB / 0.8553 GB, free: 12.79 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.02481, allocations: 4 kB / 0.8553 GB, free: 12.79 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.02495, allocations: 100.8 kB / 0.8554 GB, free: 12.68 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000461/0.02541, allocations: 110 kB / 0.8555 GB, free: 12.57 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.02702, allocations: 0.9634 MB / 0.8565 GB, free: 11.57 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.02714, allocations: 125.8 kB / 0.8566 GB, free: 11.43 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001679/0.0273, allocations: 47.33 kB / 0.8566 GB, free: 11.39 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002619/0.02757, allocations: 139.3 kB / 0.8568 GB, free: 11.25 MB / 0.823 GB Notification: Performance of SimCode: time 1.292e-06/0.02757, allocations: 0 / 0.8568 GB, free: 11.25 MB / 0.823 GB Notification: Performance of Templates: time 0.0128/0.04036, allocations: 5.36 MB / 0.862 GB, free: 6.082 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.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.988728996831924]