Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008814/0.0008814, allocations: 80.94 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.0009295/0.0009295, allocations: 173 kB / 23.36 MB, free: 1.133 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.8911/0.8911, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.276/2.276, allocations: 438.8 MB / 0.6827 GB, free: 13.62 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147e-05/1.262e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002756/0.002769, allocations: 3.082 MB / 0.8417 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002109/0.004878, allocations: 2.164 MB / 0.8438 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.005007, allocations: 8 kB / 0.8438 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0009347/0.005942, allocations: 493.5 kB / 0.8442 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002303/0.006172, allocations: 154.7 kB / 0.8444 GB, free: 8.246 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 7.988e-05/0.006252, allocations: 55.94 kB / 0.8444 GB, free: 8.191 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003162/0.006568, allocations: 469.3 kB / 0.8449 GB, free: 7.734 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.006714, allocations: 104.5 kB / 0.845 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000255/0.006969, allocations: 243.4 kB / 0.8452 GB, free: 7.391 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.007118, allocations: 147.5 kB / 0.8454 GB, free: 7.246 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.007148, allocations: 32 kB / 0.8454 GB, free: 7.215 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 3.379e-05/0.007182, allocations: 36 kB / 0.8454 GB, free: 7.18 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.919e-05/0.007261, allocations: 99.67 kB / 0.8455 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.659e-05/0.007358, allocations: 143.6 kB / 0.8457 GB, free: 6.941 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.007589, allocations: 286.9 kB / 0.8459 GB, free: 6.66 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.393e-06/0.007591, allocations: 0 / 0.8459 GB, free: 6.66 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.81e-07/0.007591, allocations: 0 / 0.8459 GB, free: 6.66 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.007594, allocations: 0 / 0.8459 GB, free: 6.66 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006656/0.00826, allocations: 0.6003 MB / 0.8465 GB, free: 6.035 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.827e-05/0.008288, allocations: 12.62 kB / 0.8465 GB, free: 6.023 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/0.008341, allocations: 44.89 kB / 0.8466 GB, free: 5.98 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.008568, allocations: 259.9 kB / 0.8468 GB, free: 5.699 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.008586, allocations: 16.88 kB / 0.8468 GB, free: 5.684 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.008615, allocations: 16.38 kB / 0.8469 GB, free: 5.668 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.008777, allocations: 153.3 kB / 0.847 GB, free: 5.512 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.008787, allocations: 192 / 0.847 GB, free: 5.512 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.008799, allocations: 12.38 kB / 0.847 GB, free: 5.5 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.008806, allocations: 7.938 kB / 0.847 GB, free: 5.492 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.931e-05/0.008886, allocations: 53.47 kB / 0.8471 GB, free: 5.438 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00048/0.009366, allocations: 444.1 kB / 0.8475 GB, free: 4.988 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.889e-05/0.009465, allocations: 78.47 kB / 0.8476 GB, free: 4.902 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.047e-05/0.009515, allocations: 66.02 kB / 0.8476 GB, free: 4.84 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-06/0.009524, allocations: 4 kB / 0.8476 GB, free: 4.836 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.009542, allocations: 34.56 kB / 0.8477 GB, free: 4.793 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=18): time 1.002e-06/0.009543, allocations: 4 kB / 0.8477 GB, free: 4.789 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18): time 0.0001532/0.009697, allocations: 109.9 kB / 0.8478 GB, free: 4.676 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.009726, allocations: 55.41 kB / 0.8478 GB, free: 4.609 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.0099, allocations: 311.4 kB / 0.8481 GB, free: 4.293 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.009911, allocations: 25.7 kB / 0.8482 GB, free: 4.262 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.824e-05/0.009969, allocations: 165.3 kB / 0.8483 GB, free: 4.094 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.869e-05/0.01001, allocations: 63.47 kB / 0.8484 GB, free: 4.031 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.01004, allocations: 41.66 kB / 0.8484 GB, free: 3.984 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.866e-05/0.01012, allocations: 350.7 kB / 0.8488 GB, free: 3.633 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.169e-05/0.01014, allocations: 19.92 kB / 0.8488 GB, free: 3.613 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.283e-05/0.01017, allocations: 16 kB / 0.8488 GB, free: 3.598 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.878e-05/0.01023, allocations: 62.59 kB / 0.8488 GB, free: 3.535 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.01023, allocations: 0 / 0.8488 GB, free: 3.535 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20) (initialization): time 9.067e-05/0.01032, allocations: 103 kB / 0.8489 GB, free: 3.43 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.01033, allocations: 8 kB / 0.849 GB, free: 3.422 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.01033, allocations: 0 / 0.849 GB, free: 3.422 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.01034, allocations: 0 / 0.849 GB, free: 3.422 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.01047, allocations: 59.89 kB / 0.849 GB, free: 3.363 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.01047, allocations: 0 / 0.849 GB, free: 3.363 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.185e-05/0.01052, allocations: 11.94 kB / 0.849 GB, free: 3.352 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.01053, allocations: 8 kB / 0.849 GB, free: 3.344 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 (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 6.755e-05/0.01059, allocations: 124.5 kB / 0.8491 GB, free: 3.211 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.01062, allocations: 27.97 kB / 0.8492 GB, free: 3.184 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.654e-05/0.01066, allocations: 35.41 kB / 0.8492 GB, free: 3.152 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.01067, allocations: 0 / 0.8492 GB, free: 3.152 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.01067, allocations: 0 / 0.8492 GB, free: 3.152 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01067, allocations: 7.984 kB / 0.8492 GB, free: 3.145 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.01084, allocations: 185.6 kB / 0.8494 GB, free: 2.945 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.01084, allocations: 0 / 0.8494 GB, free: 2.945 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.01095, allocations: 47.97 kB / 0.8494 GB, free: 2.898 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.01095, allocations: 0 / 0.8494 GB, free: 2.898 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.01096, allocations: 4 kB / 0.8494 GB, free: 2.895 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.01096, allocations: 7.938 kB / 0.8494 GB, free: 2.887 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.01096, allocations: 0 / 0.8494 GB, free: 2.887 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004038/0.01136, allocations: 234.1 kB / 0.8497 GB, free: 2.645 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.0114, allocations: 31.7 kB / 0.8497 GB, free: 2.613 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.01142, allocations: 4 kB / 0.8497 GB, free: 2.609 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.323e-05/0.01148, allocations: 16.02 kB / 0.8497 GB, free: 2.594 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.01151, allocations: 11.98 kB / 0.8497 GB, free: 2.582 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.01152, allocations: 0 / 0.8497 GB, free: 2.582 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.948e-05/0.0116, allocations: 132.7 kB / 0.8499 GB, free: 2.449 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.0116, allocations: 0 / 0.8499 GB, free: 2.449 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001694/0.01177, allocations: 75.84 kB / 0.8499 GB, free: 2.375 MB / 0.8073 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 7.288e-05/0.01185, allocations: 88.36 kB / 0.85 GB, free: 2.277 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.196e-05/0.01194, allocations: 71.31 kB / 0.8501 GB, free: 2.207 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.01194, allocations: 4 kB / 0.8501 GB, free: 2.203 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.781e-05/0.01198, allocations: 48.77 kB / 0.8501 GB, free: 2.152 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.01222, allocations: 89.3 kB / 0.8502 GB, free: 2.066 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007664/0.01299, allocations: 0.6414 MB / 0.8508 GB, free: 1.398 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.374e-05/0.01304, allocations: 104.3 kB / 0.8509 GB, free: 1.277 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.029e-05/0.01311, allocations: 26.97 kB / 0.851 GB, free: 1.25 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.01323, allocations: 107.3 kB / 0.8511 GB, free: 1.145 MB / 0.8073 GB Notification: Performance of SimCode: time 6.32e-07/0.01324, allocations: 0 / 0.8511 GB, free: 1.145 MB / 0.8073 GB Notification: Performance of Templates: time 0.005585/0.01882, allocations: 3.91 MB / 0.8549 GB, free: 13.39 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.823227341752499]