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.001861/0.001861, allocations: 85.48 kB / 19.44 MB, free: 344 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.001983/0.001983, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.552/1.552, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.413/3.413, allocations: 429.5 MB / 0.6729 GB, free: 4.008 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.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 2.033e-06/2.033e-06, allocations: 0 / 0.8775 GB, free: 5.512 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.112e-05/3.315e-05, allocations: 3.625 kB / 0.8775 GB, free: 5.508 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.003304/0.003337, allocations: 1.509 MB / 0.8789 GB, free: 4.012 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001758/0.005095, allocations: 0.9179 MB / 0.8798 GB, free: 3.098 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.467e-05/0.00518, allocations: 7.938 kB / 0.8798 GB, free: 3.09 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.005406, allocations: 39.77 kB / 0.8799 GB, free: 3.051 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.433e-05/0.00544, allocations: 15.86 kB / 0.8799 GB, free: 3.035 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005851/0.006025, allocations: 197.4 kB / 0.8801 GB, free: 2.844 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.006158, allocations: 48.61 kB / 0.8801 GB, free: 2.797 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.26e-05/0.006201, allocations: 8 kB / 0.8801 GB, free: 2.789 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.006317, allocations: 29.5 kB / 0.8802 GB, free: 2.762 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.434e-05/0.006351, allocations: 8 kB / 0.8802 GB, free: 2.754 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.006366, allocations: 0 / 0.8802 GB, free: 2.754 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004775/0.006844, allocations: 175.7 kB / 0.8803 GB, free: 2.582 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.344e-05/0.006857, allocations: 6.281 kB / 0.8804 GB, free: 2.578 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.006884, allocations: 8 kB / 0.8804 GB, free: 2.57 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.00719, allocations: 155.5 kB / 0.8805 GB, free: 2.418 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.007196, allocations: 4 kB / 0.8805 GB, free: 2.414 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.082e-06/0.007197, allocations: 0 / 0.8805 GB, free: 2.414 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.007205, allocations: 3.984 kB / 0.8805 GB, free: 2.41 MB / 0.7917 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.0005533/0.007758, allocations: 398 kB / 0.8809 GB, free: 1.988 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 6.931e-05/0.007827, allocations: 12.03 kB / 0.8809 GB, free: 1.977 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.00797, allocations: 124.1 kB / 0.881 GB, free: 1.855 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004005/0.008371, allocations: 249.7 kB / 0.8813 GB, free: 1.586 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/0.008541, allocations: 238.8 kB / 0.8815 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/0.008709, allocations: 251.4 kB / 0.8817 GB, free: 1.105 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.008865, allocations: 149.4 kB / 0.8819 GB, free: 0.9531 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.51e-05/0.00895, allocations: 121 kB / 0.882 GB, free: 0.8359 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/0.009126, allocations: 238.8 kB / 0.8822 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001334/0.009259, allocations: 246.3 kB / 0.8825 GB, free: 368 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.009386, allocations: 242.3 kB / 0.8827 GB, free: 124 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000494/0.00988, allocations: 0.5798 MB / 0.8832 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.01022, allocations: 270.7 kB / 0.8835 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.415e-05/0.0103, allocations: 126.9 kB / 0.8836 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.161e-05/0.01037, allocations: 123.2 kB / 0.8837 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.379e-05/0.01046, allocations: 156.6 kB / 0.8839 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.302e-06/0.01046, allocations: 4 kB / 0.8839 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 0.0001023/0.01057, allocations: 37.58 kB / 0.8839 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.01068, allocations: 174.5 kB / 0.8841 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.01092, allocations: 193.9 kB / 0.8843 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.01094, allocations: 25.7 kB / 0.8843 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.604e-05/0.01104, allocations: 138.9 kB / 0.8844 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/0.01104, allocations: 0 / 0.8844 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.01109, allocations: 23.36 kB / 0.8845 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002563/0.01134, allocations: 0.4884 MB / 0.8849 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.997e-05/0.01136, allocations: 8 kB / 0.885 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.91e-05/0.01138, allocations: 7.984 kB / 0.885 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.449e-05/0.01143, allocations: 15.69 kB / 0.885 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.01143, allocations: 0 / 0.885 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001551/0.01158, allocations: 49.59 kB / 0.885 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.0116, allocations: 4 kB / 0.885 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.614e-05/0.01163, allocations: 8.031 kB / 0.885 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.01164, allocations: 3.984 kB / 0.885 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.01165, allocations: 0 / 0.885 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.01165, allocations: 3.938 kB / 0.885 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.143e-05/0.01168, allocations: 0 / 0.885 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.01168, allocations: 8.062 kB / 0.885 GB, free: 13.56 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 0.0001994/0.01188, allocations: 271.8 kB / 0.8853 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.01199, allocations: 152.8 kB / 0.8855 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.0121, allocations: 168.7 kB / 0.8856 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001414/0.01224, allocations: 264.1 kB / 0.8859 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001478/0.01239, allocations: 272 kB / 0.8861 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001447/0.01253, allocations: 268.1 kB / 0.8864 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003689/0.0129, allocations: 0.4999 MB / 0.8869 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-05/0.01299, allocations: 152.8 kB / 0.887 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.389e-05/0.01307, allocations: 148.9 kB / 0.8872 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001431/0.01321, allocations: 276 kB / 0.8874 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001565/0.01337, allocations: 268.1 kB / 0.8877 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001469/0.01352, allocations: 268.1 kB / 0.8879 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001462/0.01366, allocations: 268 kB / 0.8882 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.01395, allocations: 455.8 kB / 0.8886 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.721e-05/0.01405, allocations: 153.1 kB / 0.8888 GB, free: 9.574 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/0.01421, allocations: 268.1 kB / 0.889 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.01435, allocations: 156.8 kB / 0.8892 GB, free: 9.145 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.01449, allocations: 264.1 kB / 0.8894 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.844e-05/0.01458, allocations: 156.8 kB / 0.8896 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001114/0.01469, allocations: 145.7 kB / 0.8897 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.01469, allocations: 4 kB / 0.8897 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003171/0.01501, allocations: 39.86 kB / 0.8898 GB, free: 8.535 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.0003812/0.01539, allocations: 262.3 kB / 0.89 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.01552, allocations: 45.38 kB / 0.89 GB, free: 8.215 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01552, allocations: 0 / 0.89 GB, free: 8.215 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/0.01552, allocations: 0 / 0.89 GB, free: 8.215 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008244/0.01635, allocations: 0.7196 MB / 0.8908 GB, free: 7.492 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004411/0.01679, allocations: 273.3 kB / 0.891 GB, free: 7.195 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.112e-05/0.01687, allocations: 71.19 kB / 0.8911 GB, free: 7.105 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.715e-05/0.01689, allocations: 0 / 0.8911 GB, free: 7.105 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.01691, allocations: 12.5 kB / 0.8911 GB, free: 7.094 MB / 0.8073 GB Notification: Performance of SimCode: time 5.91e-07/0.01691, allocations: 0 / 0.8911 GB, free: 7.094 MB / 0.8073 GB Notification: Performance of Templates: time 0.005285/0.0222, allocations: 1.621 MB / 0.8927 GB, free: 5.527 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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.596686660079286]