Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001335/0.001335, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001394/0.001394, allocations: 199.5 kB / 22.17 MB, free: 5.211 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.501/1.501, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.865/2.865, allocations: 476.7 MB / 0.7645 GB, free: 10.05 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 67.89 kB / 1.109 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7405/0.7425, allocations: 168.7 MB / 1.274 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002986/0.7454, allocations: 1.491 MB / 1.276 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.747, allocations: 0.909 MB / 1.276 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.981e-05/0.7471, allocations: 3.938 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002134/0.7473, allocations: 39.81 kB / 1.276 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.71e-05/0.7473, allocations: 27.73 kB / 1.276 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005875/0.7479, allocations: 190.7 kB / 1.277 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.748, allocations: 51.67 kB / 1.277 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.506e-05/0.7481, allocations: 11.98 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.503e-05/0.7482, allocations: 15.92 kB / 1.277 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.712e-05/0.7482, allocations: 23.86 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/0.7482, allocations: 0 / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003916/0.7486, allocations: 171.7 kB / 1.277 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.7486, allocations: 0 / 1.277 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.68e-05/0.7486, allocations: 23.86 kB / 1.277 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.7489, allocations: 122.2 kB / 1.277 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.7489, allocations: 4 kB / 1.277 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.442e-06/0.7489, allocations: 0 / 1.277 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.7489, allocations: 0 / 1.277 GB, free: 1.422 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004239/0.7493, allocations: 379 kB / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.7493, allocations: 8.031 kB / 1.277 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.983e-05/0.7494, allocations: 84.17 kB / 1.278 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.7497, allocations: 261.6 kB / 1.278 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.27e-05/0.7498, allocations: 154.9 kB / 1.278 GB, free: 480 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.002e-05/0.7498, allocations: 154.9 kB / 1.278 GB, free: 324 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.188e-05/0.7499, allocations: 109.2 kB / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.475e-05/0.75, allocations: 75.28 kB / 1.278 GB, free: 132 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.312e-05/0.75, allocations: 150.6 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.978e-05/0.7501, allocations: 158.6 kB / 1.279 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.634e-05/0.7502, allocations: 150.6 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003471/0.7505, allocations: 473.8 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.7506, allocations: 169.1 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.317e-05/0.7507, allocations: 84.14 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.7507, allocations: 75.28 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.289e-05/0.7508, allocations: 113.8 kB / 1.28 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.7508, allocations: 0 / 1.28 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.052e-05/0.7509, allocations: 29.7 kB / 1.28 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/0.7509, allocations: 130.6 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.7511, allocations: 133.8 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.7511, allocations: 25.7 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.26e-05/0.7512, allocations: 96.08 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-06/0.7512, allocations: 0 / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.7512, allocations: 17.72 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.7513, allocations: 322.8 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.268e-05/0.7514, allocations: 7.938 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.464e-05/0.7514, allocations: 4 kB / 1.28 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.582e-05/0.7514, allocations: 8.859 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7514, allocations: 7.938 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001286/0.7515, allocations: 49.62 kB / 1.28 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.7516, allocations: 5.875 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.7516, allocations: 8 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.7516, allocations: 8 kB / 1.28 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.7516, allocations: 0 / 1.28 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.7516, allocations: 0 / 1.28 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.506e-05/0.7516, allocations: 3.953 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.7516, allocations: 0 / 1.28 GB, free: 13.8 MB / 0.9825 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.000115/0.7517, allocations: 189.7 kB / 1.281 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.139e-05/0.7518, allocations: 120.9 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.604e-05/0.7519, allocations: 116.8 kB / 1.281 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.261e-05/0.752, allocations: 176.3 kB / 1.281 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.056e-05/0.752, allocations: 180.3 kB / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.223e-05/0.7521, allocations: 188.2 kB / 1.281 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.7524, allocations: 405.2 kB / 1.282 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.654e-05/0.7524, allocations: 112.9 kB / 1.282 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.17e-05/0.7525, allocations: 104.9 kB / 1.282 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-05/0.7526, allocations: 176.3 kB / 1.282 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.631e-05/0.7527, allocations: 188.2 kB / 1.282 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.477e-05/0.7527, allocations: 180.3 kB / 1.282 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.939e-05/0.7528, allocations: 180.2 kB / 1.283 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.753, allocations: 303.8 kB / 1.283 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.964e-05/0.7531, allocations: 197.9 kB / 1.283 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.019e-05/0.7532, allocations: 176.3 kB / 1.283 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.862e-05/0.7532, allocations: 104.9 kB / 1.283 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.648e-05/0.7533, allocations: 188.3 kB / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-05/0.7534, allocations: 101 kB / 1.284 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.899e-05/0.7535, allocations: 103.2 kB / 1.284 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.7535, allocations: 3.938 kB / 1.284 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002815/0.7537, allocations: 35.88 kB / 1.284 GB, free: 10.13 MB / 0.9825 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.0003012/0.754, allocations: 214.4 kB / 1.284 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.7541, allocations: 37.64 kB / 1.284 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.7541, allocations: 4.062 kB / 1.284 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.014e-06/0.7541, allocations: 0 / 1.284 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005026/0.7546, allocations: 469.5 kB / 1.284 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003738/0.755, allocations: 246.6 kB / 1.285 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.7553, allocations: 0.6807 MB / 1.285 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.273e-05/0.7553, allocations: 7.984 kB / 1.285 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.61e-05/0.7554, allocations: 7.438 kB / 1.285 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.7554, allocations: 0 / 1.285 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of Templates: time 0.004401/0.7598, allocations: 1.53 MB / 1.287 GB, free: 6.898 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.645546351093799]