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.002235/0.002235, allocations: 80.2 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002736/0.002736, allocations: 173.7 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.549/1.549, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.951/2.951, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.643e-06/1.643e-06, allocations: 0 / 1 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.128e-05/3.292e-05, allocations: 6.219 kB / 1 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005787/0.00582, allocations: 3.815 MB / 1.004 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003897/0.009717, allocations: 2.226 MB / 1.006 GB, free: 1.168 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000271/0.009988, allocations: 12 kB / 1.006 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001784/0.01177, allocations: 0.5206 MB / 1.007 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005068/0.01228, allocations: 253.8 kB / 1.007 GB, free: 392 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.01252, allocations: 143.8 kB / 1.007 GB, free: 248 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0009121/0.01344, allocations: 0.8405 MB / 1.008 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003852/0.01382, allocations: 219 kB / 1.008 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006541/0.01448, allocations: 463 kB / 1.008 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003685/0.01484, allocations: 235.3 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.984e-05/0.01494, allocations: 76 kB / 1.009 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.01507, allocations: 72 kB / 1.009 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001963/0.01527, allocations: 171.4 kB / 1.009 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003125/0.01558, allocations: 263.4 kB / 1.009 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.01662, allocations: 1.002 MB / 1.01 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.01663, allocations: 4 kB / 1.01 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.044e-06/0.01663, allocations: 0 / 1.01 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.01664, allocations: 3.938 kB / 1.01 GB, free: 12.91 MB / 0.9669 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.001622/0.01826, allocations: 0.8821 MB / 1.011 GB, free: 12 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.01831, allocations: 8.031 kB / 1.011 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.01845, allocations: 76.47 kB / 1.011 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007213/0.01917, allocations: 395.5 kB / 1.012 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.055e-05/0.01921, allocations: 37.38 kB / 1.012 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.509e-05/0.01929, allocations: 56.33 kB / 1.012 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008245/0.02012, allocations: 423 kB / 1.012 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.02014, allocations: 4.188 kB / 1.012 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.599e-05/0.02019, allocations: 20.36 kB / 1.012 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.02021, allocations: 15.94 kB / 1.012 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007713/0.02098, allocations: 363.8 kB / 1.012 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002026/0.023, allocations: 1.164 MB / 1.014 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005793/0.02358, allocations: 319.2 kB / 1.014 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005163/0.0241, allocations: 285.5 kB / 1.014 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.02413, allocations: 4 kB / 1.014 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.02417, allocations: 42.56 kB / 1.014 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=42): time 1.673e-06/0.02417, allocations: 0 / 1.014 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of matching and sorting (n=42): time 0.00106/0.02523, allocations: 493.2 kB / 1.015 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.02529, allocations: 67.28 kB / 1.015 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005865/0.02587, allocations: 446 kB / 1.015 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.02591, allocations: 29.7 kB / 1.015 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000245/0.02615, allocations: 284.5 kB / 1.015 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.02629, allocations: 150.6 kB / 1.016 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.0264, allocations: 62.08 kB / 1.016 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.02659, allocations: 358.8 kB / 1.016 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.02686, allocations: 116.7 kB / 1.016 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/0.02712, allocations: 129.4 kB / 1.016 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005838/0.02771, allocations: 302.1 kB / 1.017 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.02771, allocations: 0 / 1.017 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007218/0.02843, allocations: 388.6 kB / 1.017 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.02845, allocations: 4 kB / 1.017 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.02845, allocations: 0 / 1.017 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.02847, allocations: 4 kB / 1.017 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005521/0.02903, allocations: 131.8 kB / 1.017 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.02903, allocations: 0 / 1.017 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.02924, allocations: 27.83 kB / 1.017 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.02927, allocations: 16 kB / 1.017 GB, free: 5.734 MB / 0.9669 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.0002483/0.02952, allocations: 198.3 kB / 1.017 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.543e-05/0.02961, allocations: 47.67 kB / 1.017 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.02973, allocations: 56.81 kB / 1.017 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.02973, allocations: 4 kB / 1.017 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.02974, allocations: 3.938 kB / 1.017 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.02976, allocations: 3.984 kB / 1.017 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006302/0.03039, allocations: 420.9 kB / 1.018 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.03039, allocations: 7.875 kB / 1.018 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005564/0.03094, allocations: 127.8 kB / 1.018 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.03095, allocations: 0 / 1.018 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.03097, allocations: 8 kB / 1.018 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.03098, allocations: 0 / 1.018 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.03098, allocations: 0 / 1.018 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.03207, allocations: 0.6406 MB / 1.019 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.71e-05/0.03217, allocations: 63.64 kB / 1.019 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.996e-05/0.03223, allocations: 7.984 kB / 1.019 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.03245, allocations: 16 kB / 1.019 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/0.03253, allocations: 27.83 kB / 1.019 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.03255, allocations: 12 kB / 1.019 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004051/0.03295, allocations: 319.1 kB / 1.019 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.03295, allocations: 0 / 1.019 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004398/0.03339, allocations: 151.7 kB / 1.019 GB, free: 3.594 MB / 0.9669 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.0001892/0.03358, allocations: 115.1 kB / 1.019 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006504/0.03423, allocations: 307.5 kB / 1.02 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.03423, allocations: 0 / 1.02 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003189/0.03455, allocations: 163.8 kB / 1.02 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006004/0.03515, allocations: 97.67 kB / 1.02 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.03707, allocations: 1.091 MB / 1.021 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.0374, allocations: 267.2 kB / 1.021 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001741/0.03757, allocations: 51.36 kB / 1.021 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.03768, allocations: 32.5 kB / 1.021 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of SimCode: time 3.5e-07/0.03768, allocations: 4 kB / 1.021 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of Templates: time 0.01131/0.04899, allocations: 4.95 MB / 1.026 GB, free: 12.59 MB / 0.9825 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.753260560333729]