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_OneUTube.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_OneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.2|2.|RDelta.1|2.|RDelta.2|1.|RDelta_Ref.1|1.|RDelta_Ref.2|2.|RDelta_Ref.1|2.|RDelta_Ref.2|1.|R.1|1.|R.2|2.|R.1|2.|R.2|1.|R_Ref.1|1.|R_Ref.2|2.|R_Ref.1|2.|R_Ref.2|1.",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.2|2.|RDelta.1|2.|RDelta.2|1.|RDelta_Ref.1|1.|RDelta_Ref.2|2.|RDelta_Ref.1|2.|RDelta_Ref.2|1.|R.1|1.|R.2|2.|R.1|2.|R.2|1.|R_Ref.1|1.|R_Ref.2|2.|R_Ref.1|2.|R_Ref.2|1.",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009803/0.0009802, allocations: 91.84 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.001199/0.001199, 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.576/1.576, allocations: 223.3 MB / 240 MB, free: 5.328 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.5/2.5, allocations: 390.9 MB / 0.666 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.000361, allocations: 15.98 kB / 0.8154 GB, free: 13.59 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.739/0.7394, allocations: 142.4 MB / 0.9545 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.001551/0.741, allocations: 1.082 MB / 0.9555 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002682/0.7437, allocations: 1.648 MB / 0.9572 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.211e-05/0.7438, allocations: 0 / 0.9572 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.709e-05/0.7439, allocations: 9.359 kB / 0.9572 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.7441, allocations: 19.23 kB / 0.9572 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002359/0.7464, allocations: 0.9221 MB / 0.9581 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.7466, allocations: 67.61 kB / 0.9582 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.964e-05/0.7466, allocations: 5.406 kB / 0.9582 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.413e-05/0.7467, allocations: 25.77 kB / 0.9582 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.506e-05/0.7468, allocations: 29.59 kB / 0.9582 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.7468, allocations: 0 / 0.9582 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.7479, allocations: 0.6805 MB / 0.9589 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.827e-05/0.748, allocations: 25.69 kB / 0.9589 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.748, allocations: 38.3 kB / 0.9589 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000723/0.7488, allocations: 0.491 MB / 0.9594 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.7488, allocations: 0 / 0.9594 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.072e-06/0.7488, allocations: 0 / 0.9594 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.7488, allocations: 4 kB / 0.9594 GB, free: 4.191 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005503/0.7494, allocations: 470.8 kB / 0.9599 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.7494, allocations: 9.625 kB / 0.9599 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.7494, allocations: 10.61 kB / 0.9599 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.7496, allocations: 187.6 kB / 0.9601 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.7496, allocations: 0 / 0.9601 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.7496, allocations: 5.375 kB / 0.9601 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.7497, allocations: 52.94 kB / 0.9601 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.7498, allocations: 3.984 kB / 0.9601 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.7498, allocations: 4 kB / 0.9601 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.7498, allocations: 5.328 kB / 0.9601 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.578e-05/0.7498, allocations: 25.86 kB / 0.9602 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001751/0.75, allocations: 192.2 kB / 0.9603 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.887e-05/0.7501, allocations: 50.59 kB / 0.9604 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.965e-05/0.7501, allocations: 32.44 kB / 0.9604 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.7501, allocations: 1.125 kB / 0.9604 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.7502, allocations: 39.69 kB / 0.9605 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.7502, allocations: 0 / 0.9605 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0002207/0.7504, allocations: 121.1 kB / 0.9606 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.7504, allocations: 55.36 kB / 0.9606 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.7506, allocations: 153.7 kB / 0.9608 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.182e-06/0.7506, allocations: 25.7 kB / 0.9608 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.057e-05/0.7506, allocations: 92.48 kB / 0.9609 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.7506, allocations: 31.06 kB / 0.9609 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.7506, allocations: 0.7812 kB / 0.9609 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.54e-05/0.7507, allocations: 326.4 kB / 0.9612 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.556e-05/0.7507, allocations: 25.92 kB / 0.9613 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.731e-05/0.7508, allocations: 22.44 kB / 0.9613 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.567e-05/0.7508, allocations: 31.33 kB / 0.9613 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.7508, allocations: 0.9688 kB / 0.9613 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001163/0.751, allocations: 92.23 kB / 0.9614 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.751, allocations: 6.625 kB / 0.9614 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.751, allocations: 1.312 kB / 0.9614 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.751, allocations: 4.969 kB / 0.9614 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.751, allocations: 4.062 kB / 0.9614 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.751, allocations: 0 / 0.9614 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.988e-05/0.7511, allocations: 9.141 kB / 0.9614 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.7511, allocations: 5.016 kB / 0.9614 GB, free: 2.316 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 6.765e-05/0.7512, allocations: 121.1 kB / 0.9615 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.7512, allocations: 7.875 kB / 0.9615 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.7513, allocations: 110.3 kB / 0.9617 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.7513, allocations: 0.7812 kB / 0.9617 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.7513, allocations: 4.031 kB / 0.9617 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.7514, allocations: 1.031 kB / 0.9617 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.7515, allocations: 197 kB / 0.9618 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.7515, allocations: 1.25 kB / 0.9618 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.853e-06/0.7515, allocations: 0 / 0.9618 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.7515, allocations: 5.156 kB / 0.9619 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.7515, allocations: 0 / 0.9619 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.7515, allocations: 1.344 kB / 0.9619 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.7515, allocations: 3.938 kB / 0.9619 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.7516, allocations: 125.6 kB / 0.962 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.916e-05/0.7517, allocations: 83.77 kB / 0.9621 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.7517, allocations: 0 / 0.9621 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.272e-05/0.7517, allocations: 5.25 kB / 0.9621 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.549e-05/0.7517, allocations: 0 / 0.9621 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.7518, allocations: 1.25 kB / 0.9621 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.846e-05/0.7518, allocations: 120.4 kB / 0.9622 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7518, allocations: 0 / 0.9622 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006795/0.7525, allocations: 198.8 kB / 0.9624 GB, free: 1.574 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.0007936/0.7533, allocations: 338.6 kB / 0.9627 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001463/0.7535, allocations: 95.2 kB / 0.9628 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7535, allocations: 0 / 0.9628 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.531e-05/0.7535, allocations: 68.62 kB / 0.9628 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.7538, allocations: 11.72 kB / 0.9629 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003617/0.7541, allocations: 246 kB / 0.9631 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.7543, allocations: 0.7078 MB / 0.9638 GB, free: 392 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.785e-05/0.7543, allocations: 0 / 0.9638 GB, free: 392 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.157e-05/0.7543, allocations: 8.906 kB / 0.9638 GB, free: 384 kB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.7544, allocations: 4.875 kB / 0.9638 GB, free: 380 kB / 0.7169 GB Notification: Performance of Templates: time 0.008717/0.7631, allocations: 4.235 MB / 0.9679 GB, free: 14.22 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches