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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00235/0.00235, allocations: 187 kB / 22.22 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.343/3.343, allocations: 0.4893 GB / 0.7884 GB, free: 33.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002077/0.002077, allocations: 68.92 kB / 1.145 GB, free: 30.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.426, allocations: 174.9 MB / 1.316 GB, free: 9.656 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.003028/0.429, allocations: 1.489 MB / 1.317 GB, free: 8.156 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.4306, allocations: 0.9151 MB / 1.318 GB, free: 7.234 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.09e-05/0.4307, allocations: 11.88 kB / 1.318 GB, free: 7.223 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002243/0.431, allocations: 47.81 kB / 1.318 GB, free: 7.176 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.411e-05/0.431, allocations: 19.78 kB / 1.318 GB, free: 7.156 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005739/0.4316, allocations: 194.6 kB / 1.319 GB, free: 6.969 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.4317, allocations: 51.72 kB / 1.319 GB, free: 6.918 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.939e-05/0.4317, allocations: 3.984 kB / 1.319 GB, free: 6.914 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.197e-05/0.4318, allocations: 15.94 kB / 1.319 GB, free: 6.898 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.672e-05/0.4319, allocations: 23.81 kB / 1.319 GB, free: 6.875 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.4319, allocations: 0 / 1.319 GB, free: 6.875 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000392/0.4323, allocations: 171.7 kB / 1.319 GB, free: 6.707 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.4323, allocations: 4 kB / 1.319 GB, free: 6.703 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.347e-05/0.4323, allocations: 19.88 kB / 1.319 GB, free: 6.684 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.4326, allocations: 131.5 kB / 1.319 GB, free: 6.555 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4326, allocations: 0 / 1.319 GB, free: 6.555 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4326, allocations: 0 / 1.319 GB, free: 6.555 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.4326, allocations: 0 / 1.319 GB, free: 6.555 MB / 1.014 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.0004433/0.433, allocations: 289.9 kB / 1.319 GB, free: 6.242 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.4331, allocations: 12.03 kB / 1.319 GB, free: 6.23 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.257e-05/0.4331, allocations: 80.17 kB / 1.319 GB, free: 6.152 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.4334, allocations: 209.7 kB / 1.32 GB, free: 5.922 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.788e-05/0.4335, allocations: 150.9 kB / 1.32 GB, free: 5.773 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.449e-05/0.4336, allocations: 154.9 kB / 1.32 GB, free: 5.621 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.4337, allocations: 109.2 kB / 1.32 GB, free: 5.508 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.344e-05/0.4338, allocations: 75.28 kB / 1.32 GB, free: 5.434 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.945e-05/0.4339, allocations: 158.6 kB / 1.32 GB, free: 5.277 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.045e-05/0.4339, allocations: 150.6 kB / 1.32 GB, free: 5.129 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.846e-05/0.434, allocations: 154.6 kB / 1.321 GB, free: 4.977 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.4344, allocations: 437 kB / 1.321 GB, free: 4.508 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.4345, allocations: 177.1 kB / 1.321 GB, free: 4.324 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.331e-05/0.4346, allocations: 80.14 kB / 1.321 GB, free: 4.242 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.777e-05/0.4346, allocations: 75.28 kB / 1.321 GB, free: 4.168 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.092e-05/0.4347, allocations: 113.8 kB / 1.321 GB, free: 4.047 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.4347, allocations: 3.938 kB / 1.321 GB, free: 4.043 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 8.663e-05/0.4347, allocations: 29.7 kB / 1.321 GB, free: 4.008 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.528e-05/0.4348, allocations: 130.7 kB / 1.322 GB, free: 3.867 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.435, allocations: 146.9 kB / 1.322 GB, free: 3.715 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.435, allocations: 29.64 kB / 1.322 GB, free: 3.68 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.775e-05/0.4351, allocations: 84.14 kB / 1.322 GB, free: 3.594 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.4351, allocations: 0 / 1.322 GB, free: 3.594 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.4351, allocations: 17.72 kB / 1.322 GB, free: 3.57 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.4353, allocations: 318.8 kB / 1.322 GB, free: 3.25 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.768e-05/0.4353, allocations: 8 kB / 1.322 GB, free: 3.242 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.174e-05/0.4353, allocations: 4 kB / 1.322 GB, free: 3.238 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.657e-05/0.4354, allocations: 12.86 kB / 1.322 GB, free: 3.223 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4354, allocations: 4 kB / 1.322 GB, free: 3.219 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001294/0.4355, allocations: 49.58 kB / 1.322 GB, free: 3.164 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.4355, allocations: 4 kB / 1.322 GB, free: 3.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.4355, allocations: 0 / 1.322 GB, free: 3.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.4355, allocations: 8.031 kB / 1.322 GB, free: 3.152 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.146e-06/0.4356, allocations: 7.875 kB / 1.322 GB, free: 3.145 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.4356, allocations: 0 / 1.322 GB, free: 3.145 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.231e-05/0.4356, allocations: 3.938 kB / 1.322 GB, free: 3.141 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.4356, allocations: 4.062 kB / 1.322 GB, free: 3.137 MB / 1.014 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.0001422/0.4357, allocations: 194.3 kB / 1.322 GB, free: 2.938 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.289e-05/0.4358, allocations: 108.9 kB / 1.322 GB, free: 2.824 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.062e-05/0.4359, allocations: 108.8 kB / 1.323 GB, free: 2.707 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.333e-05/0.436, allocations: 184.2 kB / 1.323 GB, free: 2.52 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.737e-05/0.4361, allocations: 184.3 kB / 1.323 GB, free: 2.332 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.814e-05/0.4362, allocations: 184.2 kB / 1.323 GB, free: 2.145 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.4364, allocations: 380.3 kB / 1.323 GB, free: 1.723 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.466e-05/0.4365, allocations: 105 kB / 1.324 GB, free: 1.613 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.796e-05/0.4365, allocations: 108.9 kB / 1.324 GB, free: 1.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.832e-05/0.4366, allocations: 180.2 kB / 1.324 GB, free: 1.316 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.943e-05/0.4367, allocations: 188.2 kB / 1.324 GB, free: 1.125 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.824e-05/0.4368, allocations: 176.3 kB / 1.324 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.83e-05/0.4369, allocations: 180.2 kB / 1.324 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.4371, allocations: 307.8 kB / 1.325 GB, free: 448 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.528e-05/0.4371, allocations: 120.8 kB / 1.325 GB, free: 320 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.4372, allocations: 180.2 kB / 1.325 GB, free: 132 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.4373, allocations: 112.9 kB / 1.325 GB, free: 12 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.4375, allocations: 180.3 kB / 1.325 GB, free: 15.83 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-05/0.4375, allocations: 105 kB / 1.325 GB, free: 15.72 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.935e-05/0.4376, allocations: 101 kB / 1.325 GB, free: 15.62 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4376, allocations: 4 kB / 1.325 GB, free: 15.62 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003164/0.4379, allocations: 35.88 kB / 1.325 GB, free: 15.58 MB / 1.029 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.0003211/0.4383, allocations: 222.3 kB / 1.326 GB, free: 15.36 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.4384, allocations: 33.7 kB / 1.326 GB, free: 15.32 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4384, allocations: 0 / 1.326 GB, free: 15.32 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.4384, allocations: 0 / 1.326 GB, free: 15.32 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004973/0.4389, allocations: 469.2 kB / 1.326 GB, free: 14.86 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003846/0.4392, allocations: 231.2 kB / 1.326 GB, free: 14.6 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.4396, allocations: 0.6807 MB / 1.327 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.007e-05/0.4396, allocations: 7.984 kB / 1.327 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.192e-05/0.4397, allocations: 11.44 kB / 1.327 GB, free: 13.88 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.4397, allocations: 0 / 1.327 GB, free: 13.88 MB / 1.029 GB Notification: Performance of Templates: time 0.004568/0.4442, allocations: 1.534 MB / 1.329 GB, free: 12.39 MB / 1.029 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 800] 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: 9.390763909555972]