Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.1|2.|RDelta.1|3.|RDelta.1|4.|RDelta_Ref.1|1.|RDelta_Ref.1|2.|RDelta_Ref.1|3.|RDelta_Ref.1|4.|R.1|1.|R.1|2.|R.1|3.|R.1|4.|R_Ref.1|1.|R_Ref.1|2.|R_Ref.1|3.|R_Ref.1|4.",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.1|2.|RDelta.1|3.|RDelta.1|4.|RDelta_Ref.1|1.|RDelta_Ref.1|2.|RDelta_Ref.1|3.|RDelta_Ref.1|4.|R.1|1.|R.1|2.|R.1|3.|R.1|4.|R_Ref.1|1.|R_Ref.1|2.|R_Ref.1|3.|R_Ref.1|4.",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 92.16 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 223.3 MB / 240 MB, free: 5.207 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.47/2.47, allocations: 390.9 MB / 0.666 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003605, allocations: 8 kB / 0.8154 GB, free: 13.59 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7798/0.7801, allocations: 142.4 MB / 0.9545 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.001636/0.7818, allocations: 1.087 MB / 0.9556 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002228/0.7841, allocations: 1.658 MB / 0.9572 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.241e-05/0.7841, allocations: 3.938 kB / 0.9572 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.241e-05/0.7842, allocations: 1.188 kB / 0.9572 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.7844, allocations: 34.94 kB / 0.9572 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.7864, allocations: 0.9095 MB / 0.9581 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.7865, allocations: 69.89 kB / 0.9582 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.7866, allocations: 2.688 kB / 0.9582 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.936e-05/0.7867, allocations: 39.28 kB / 0.9582 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.226e-05/0.7867, allocations: 37.94 kB / 0.9582 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.7868, allocations: 1.188 kB / 0.9582 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009852/0.7878, allocations: 0.6887 MB / 0.9589 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.802e-05/0.7878, allocations: 62.19 kB / 0.959 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.388e-05/0.7879, allocations: 48.58 kB / 0.959 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006446/0.7885, allocations: 0.5503 MB / 0.9596 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7886, allocations: 0 / 0.9596 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7886, allocations: 0.9062 kB / 0.9596 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.7886, allocations: 0 / 0.9596 GB, free: 4.105 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005857/0.7892, allocations: 0.5679 MB / 0.9601 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.7892, allocations: 8.688 kB / 0.9601 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.825e-05/0.7893, allocations: 28.48 kB / 0.9601 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.7895, allocations: 219.2 kB / 0.9604 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.7895, allocations: 3.938 kB / 0.9604 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.7895, allocations: 1.062 kB / 0.9604 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.7896, allocations: 106.6 kB / 0.9605 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.7897, allocations: 1.375 kB / 0.9605 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.7897, allocations: 0 / 0.9605 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.7897, allocations: 7.953 kB / 0.9605 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.636e-05/0.7898, allocations: 71.11 kB / 0.9605 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002403/0.79, allocations: 281.7 kB / 0.9608 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.7902, allocations: 123.1 kB / 0.9609 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.189e-05/0.7903, allocations: 105.5 kB / 0.961 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.7903, allocations: 0.9688 kB / 0.961 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.7903, allocations: 39.48 kB / 0.9611 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=32): time 1.162e-06/0.7903, allocations: 4 kB / 0.9611 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=32): time 0.0004922/0.7908, allocations: 331.2 kB / 0.9614 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.7909, allocations: 56.45 kB / 0.9614 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.7911, allocations: 253.1 kB / 0.9617 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.113e-06/0.7911, allocations: 29.7 kB / 0.9617 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.258e-05/0.7911, allocations: 126.8 kB / 0.9618 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.81e-05/0.7912, allocations: 106.7 kB / 0.9619 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.7912, allocations: 1.375 kB / 0.9619 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.951e-05/0.7913, allocations: 344.3 kB / 0.9623 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.442e-05/0.7914, allocations: 75.75 kB / 0.9623 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.347e-05/0.7915, allocations: 71.75 kB / 0.9624 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.7916, allocations: 98.23 kB / 0.9625 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7916, allocations: 3.938 kB / 0.9625 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000231/0.7918, allocations: 227.4 kB / 0.9627 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.7918, allocations: 5.031 kB / 0.9627 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.7919, allocations: 1.438 kB / 0.9627 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.7919, allocations: 1.562 kB / 0.9627 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.7919, allocations: 0 / 0.9627 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.7919, allocations: 4.062 kB / 0.9627 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.415e-05/0.792, allocations: 18.16 kB / 0.9627 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.792, allocations: 1 kB / 0.9627 GB, free: 1.664 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.7921, allocations: 156.8 kB / 0.9629 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.7921, allocations: 24.59 kB / 0.9629 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.7924, allocations: 253.5 kB / 0.9632 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.7924, allocations: 4.031 kB / 0.9632 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.7924, allocations: 1.531 kB / 0.9632 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.7924, allocations: 0 / 0.9632 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.7926, allocations: 281 kB / 0.9634 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.7926, allocations: 1.25 kB / 0.9634 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.7926, allocations: 0 / 0.9634 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.7926, allocations: 5.156 kB / 0.9634 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.7926, allocations: 3.984 kB / 0.9634 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7926, allocations: 5.188 kB / 0.9635 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.7927, allocations: 0 / 0.9635 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.7929, allocations: 268 kB / 0.9637 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/0.793, allocations: 98.92 kB / 0.9638 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.793, allocations: 0 / 0.9638 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.396e-05/0.793, allocations: 0 / 0.9638 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/0.793, allocations: 6.906 kB / 0.9638 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.793, allocations: 4 kB / 0.9638 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000129/0.7932, allocations: 188.5 kB / 0.964 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7932, allocations: 0 / 0.964 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007386/0.7939, allocations: 214.4 kB / 0.9642 GB, free: 0.7031 MB / 0.7169 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006854/0.7946, allocations: 321.2 kB / 0.9645 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003206/0.795, allocations: 264.3 kB / 0.9648 GB, free: 416 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.795, allocations: 3.938 kB / 0.9648 GB, free: 412 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.7951, allocations: 178.5 kB / 0.9649 GB, free: 320 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.7954, allocations: 21.14 kB / 0.9649 GB, free: 308 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007548/0.7961, allocations: 0.5451 MB / 0.9655 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.7965, allocations: 0.7647 MB / 0.9662 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.772e-05/0.7965, allocations: 2.125 kB / 0.9662 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.963e-05/0.7966, allocations: 9.594 kB / 0.9662 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of SimCode: time 5.51e-07/0.7966, allocations: 4 kB / 0.9662 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of Templates: time 0.009782/0.8064, allocations: 4.503 MB / 0.9706 GB, free: 12.93 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches