Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001798/0.001798, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002274/0.002274, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.572/1.572, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.405/3.405, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003076/0.003076, allocations: 75.98 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4232/0.4262, allocations: 176.1 MB / 1.326 GB, free: 1.992 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.003101/0.4293, allocations: 1.486 MB / 1.327 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001642/0.431, allocations: 0.8573 MB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.11e-05/0.4311, allocations: 3.938 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.4313, allocations: 43.77 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.492e-05/0.4313, allocations: 19.84 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005756/0.4319, allocations: 191.6 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.432, allocations: 51.67 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.815e-05/0.4321, allocations: 4 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.726e-05/0.4322, allocations: 23.86 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.551e-05/0.4322, allocations: 19.88 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.4322, allocations: 4 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004502/0.4327, allocations: 171.8 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.4327, allocations: 4 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.046e-05/0.4327, allocations: 15.88 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.433, allocations: 127.5 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.433, allocations: 4 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.713e-06/0.433, allocations: 0 / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.433, allocations: 0 / 1.328 GB, free: 14.97 MB / 1.029 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.0004743/0.4334, allocations: 297.8 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.4335, allocations: 12.03 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.533e-05/0.4336, allocations: 88.16 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.4339, allocations: 199.1 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.322e-05/0.434, allocations: 154.9 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.988e-05/0.4341, allocations: 154.9 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.861e-05/0.4341, allocations: 105.3 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.743e-05/0.4342, allocations: 75.28 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.545e-05/0.4343, allocations: 154.6 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.422e-05/0.4343, allocations: 154.6 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.6e-05/0.4344, allocations: 154.5 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/0.4347, allocations: 417.5 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.4348, allocations: 169.1 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.324e-05/0.4349, allocations: 84.14 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.744e-05/0.4349, allocations: 83.27 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.76e-05/0.435, allocations: 105.8 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.435, allocations: 0 / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.347e-05/0.4351, allocations: 41.53 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.85e-05/0.4352, allocations: 126.7 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.4353, allocations: 139.9 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.4353, allocations: 29.64 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/0.4354, allocations: 92.11 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.4354, allocations: 8 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.4354, allocations: 17.72 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.4356, allocations: 314.8 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.578e-05/0.4356, allocations: 8 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.48e-05/0.4356, allocations: 4 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.872e-05/0.4357, allocations: 12.86 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.4357, allocations: 0 / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001408/0.4358, allocations: 53.58 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.4358, allocations: 7.938 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.4359, allocations: 4 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.4359, allocations: 4.062 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.4359, allocations: 0 / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.4359, allocations: 3.984 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.308e-05/0.4359, allocations: 4 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.4359, allocations: 7.938 kB / 1.332 GB, free: 11.57 MB / 1.029 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.0001183/0.436, allocations: 183.8 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-05/0.4361, allocations: 112.9 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.378e-05/0.4362, allocations: 120.7 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.467e-05/0.4363, allocations: 176.3 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-05/0.4363, allocations: 180.2 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-05/0.4364, allocations: 184.3 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.4367, allocations: 368.8 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.916e-05/0.4367, allocations: 105 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.436e-05/0.4368, allocations: 101 kB / 1.333 GB, free: 9.969 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.024e-05/0.4369, allocations: 184.2 kB / 1.333 GB, free: 9.781 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.544e-05/0.4369, allocations: 184.2 kB / 1.333 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.142e-05/0.437, allocations: 180.2 kB / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-05/0.4371, allocations: 184.2 kB / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.4373, allocations: 307.7 kB / 1.334 GB, free: 8.898 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-05/0.4373, allocations: 108.9 kB / 1.334 GB, free: 8.785 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.622e-05/0.4374, allocations: 188.1 kB / 1.334 GB, free: 8.594 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.4375, allocations: 113 kB / 1.334 GB, free: 8.477 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.599e-05/0.4376, allocations: 176.3 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.167e-05/0.4377, allocations: 104.9 kB / 1.335 GB, free: 8.188 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.276e-05/0.4377, allocations: 99.27 kB / 1.335 GB, free: 8.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4377, allocations: 0 / 1.335 GB, free: 8.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002686/0.438, allocations: 35.86 kB / 1.335 GB, free: 8.055 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.0003146/0.4383, allocations: 222.3 kB / 1.335 GB, free: 7.828 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001007/0.4384, allocations: 33.7 kB / 1.335 GB, free: 7.789 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4384, allocations: 0 / 1.335 GB, free: 7.789 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.4384, allocations: 8 kB / 1.335 GB, free: 7.781 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004825/0.4389, allocations: 469.2 kB / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003618/0.4393, allocations: 227.4 kB / 1.336 GB, free: 7.07 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.266e-05/0.4393, allocations: 67.34 kB / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.671e-05/0.4394, allocations: 0 / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.721e-05/0.4394, allocations: 11.44 kB / 1.336 GB, free: 6.973 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.4394, allocations: 0 / 1.336 GB, free: 6.973 MB / 1.029 GB Notification: Performance of Templates: time 0.00476/0.4441, allocations: 1.641 MB / 1.337 GB, free: 5.355 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.545226404443383]