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.001923/0.001923, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.003055/0.003055, allocations: 157.6 kB / 22.75 MB, free: 1.684 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 1.58/1.58, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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 3.266/3.266, allocations: 429.6 MB / 0.673 GB, free: 3.891 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.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 2.214e-06/2.214e-06, allocations: 0 / 0.8777 GB, free: 6.422 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.895e-05/4.117e-05, allocations: 2.312 kB / 0.8777 GB, free: 6.418 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005362/0.005403, allocations: 2.873 MB / 0.8805 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00384/0.009244, allocations: 1.961 MB / 0.8824 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004065/0.00965, allocations: 7.938 kB / 0.8824 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001956/0.01161, allocations: 493.6 kB / 0.8829 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000521/0.01213, allocations: 146.7 kB / 0.883 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.01232, allocations: 59.92 kB / 0.8831 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0007347/0.01305, allocations: 465.3 kB / 0.8835 GB, free: 460 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002678/0.01332, allocations: 103.7 kB / 0.8836 GB, free: 352 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004925/0.01381, allocations: 239.5 kB / 0.8838 GB, free: 112 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002962/0.01411, allocations: 135.5 kB / 0.884 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.498e-05/0.01418, allocations: 32 kB / 0.884 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.477e-05/0.01426, allocations: 36 kB / 0.884 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.0144, allocations: 99.67 kB / 0.8841 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.01461, allocations: 139.6 kB / 0.8842 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006959/0.01531, allocations: 0.5373 MB / 0.8848 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.01532, allocations: 4 kB / 0.8848 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.223e-06/0.01532, allocations: 3.938 kB / 0.8848 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.01533, allocations: 4 kB / 0.8848 GB, free: 15.12 MB / 0.8542 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.001293/0.01662, allocations: 0.6252 MB / 0.8854 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.01666, allocations: 12.02 kB / 0.8854 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.0168, allocations: 68.61 kB / 0.8855 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006474/0.01745, allocations: 315.9 kB / 0.8858 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.01748, allocations: 16.88 kB / 0.8858 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.989e-05/0.01754, allocations: 20.38 kB / 0.8858 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004988/0.01803, allocations: 200.6 kB / 0.886 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.01805, allocations: 192 / 0.886 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.01808, allocations: 16.31 kB / 0.886 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.01809, allocations: 7.938 kB / 0.886 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004427/0.01853, allocations: 161.9 kB / 0.8862 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.01988, allocations: 0.6558 MB / 0.8868 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003634/0.02025, allocations: 134.6 kB / 0.8869 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/0.02049, allocations: 99.31 kB / 0.887 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.02051, allocations: 7.938 kB / 0.887 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.51e-05/0.02055, allocations: 42.55 kB / 0.8871 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/0.02056, allocations: 0 / 0.8871 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0007585/0.02131, allocations: 261.5 kB / 0.8873 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.02137, allocations: 51.41 kB / 0.8874 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000682/0.02205, allocations: 393.7 kB / 0.8878 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.02208, allocations: 25.7 kB / 0.8878 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.02228, allocations: 204.4 kB / 0.888 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.532e-05/0.02237, allocations: 63.44 kB / 0.888 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.288e-05/0.02246, allocations: 41.7 kB / 0.8881 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002134/0.02267, allocations: 346.8 kB / 0.8884 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.02284, allocations: 55.95 kB / 0.8885 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.023, allocations: 56.48 kB / 0.8885 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003484/0.02335, allocations: 142.9 kB / 0.8887 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.02335, allocations: 0 / 0.8887 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004735/0.02383, allocations: 215.1 kB / 0.8889 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.02384, allocations: 4 kB / 0.8889 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.02385, allocations: 3.984 kB / 0.8889 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/0.02388, allocations: 4 kB / 0.8889 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.02416, allocations: 51.91 kB / 0.8889 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.02417, allocations: 0 / 0.8889 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.02433, allocations: 27.81 kB / 0.8889 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.02434, allocations: 0 / 0.8889 GB, free: 10.69 MB / 0.8542 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 0.0001943/0.02453, allocations: 165.8 kB / 0.8891 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.141e-05/0.02461, allocations: 43.75 kB / 0.8891 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.883e-05/0.02469, allocations: 35.41 kB / 0.8892 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.0247, allocations: 4 kB / 0.8892 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.0247, allocations: 0 / 0.8892 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.0247, allocations: 0 / 0.8892 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004194/0.02512, allocations: 277 kB / 0.8895 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.02512, allocations: 0 / 0.8895 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.02541, allocations: 51.91 kB / 0.8895 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.02541, allocations: 4 kB / 0.8895 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.02543, allocations: 12 kB / 0.8895 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.02543, allocations: 0 / 0.8895 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.02543, allocations: 0 / 0.8895 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007343/0.02617, allocations: 389.5 kB / 0.8899 GB, free: 9.672 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.976e-05/0.02626, allocations: 47.72 kB / 0.8899 GB, free: 9.625 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/0.0263, allocations: 0 / 0.8899 GB, free: 9.625 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.02647, allocations: 8 kB / 0.8899 GB, free: 9.617 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.03e-05/0.02653, allocations: 11.97 kB / 0.89 GB, free: 9.605 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.02654, allocations: 12.06 kB / 0.89 GB, free: 9.594 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003795/0.02692, allocations: 283.2 kB / 0.8902 GB, free: 9.316 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.02692, allocations: 4 kB / 0.8902 GB, free: 9.312 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003466/0.02727, allocations: 71.89 kB / 0.8903 GB, free: 9.242 MB / 0.8542 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 0.000162/0.02743, allocations: 111.1 kB / 0.8904 GB, free: 9.121 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004231/0.02785, allocations: 143.8 kB / 0.8905 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.02785, allocations: 0 / 0.8905 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.02804, allocations: 75.91 kB / 0.8906 GB, free: 8.906 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000567/0.0286, allocations: 80.48 kB / 0.8907 GB, free: 8.832 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.03008, allocations: 0.6858 MB / 0.8914 GB, free: 8.121 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.03033, allocations: 194 kB / 0.8916 GB, free: 7.91 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001287/0.03046, allocations: 30.95 kB / 0.8916 GB, free: 7.883 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.539e-05/0.03053, allocations: 24.5 kB / 0.8916 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of SimCode: time 4.3e-07/0.03054, allocations: 0 / 0.8916 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of Templates: time 0.009598/0.04013, allocations: 3.663 MB / 0.8952 GB, free: 4.324 MB / 0.8542 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.63870456290897]