Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002037/0.002037, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001967/0.001967, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.427/2.427, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.983/4.983, allocations: 409.2 MB / 0.6838 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0009008/0.0009012, allocations: 20 kB / 0.8376 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.712/1.713, allocations: 146.8 MB / 0.9809 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002638/1.715, allocations: 1.084 MB / 0.982 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004405/1.72, allocations: 1.639 MB / 0.9836 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.259e-05/1.72, allocations: 0 / 0.9836 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001391/1.72, allocations: 7.938 kB / 0.9836 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002028/1.72, allocations: 23.95 kB / 0.9836 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003621/1.724, allocations: 0.9131 MB / 0.9845 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001259/1.724, allocations: 27.95 kB / 0.9845 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.047e-05/1.724, allocations: 0 / 0.9845 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/1.724, allocations: 39.89 kB / 0.9846 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.284e-05/1.724, allocations: 31.92 kB / 0.9846 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/1.724, allocations: 0 / 0.9846 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001545/1.726, allocations: 0.6318 MB / 0.9852 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001271/1.726, allocations: 63.77 kB / 0.9853 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.065e-05/1.726, allocations: 53.58 kB / 0.9853 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001121/1.727, allocations: 0.5518 MB / 0.9859 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/1.727, allocations: 0 / 0.9859 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.414e-06/1.727, allocations: 0 / 0.9859 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.053e-06/1.727, allocations: 4 kB / 0.9859 GB, free: 1.195 MB / 0.7325 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.00109/1.728, allocations: 0.5683 MB / 0.9864 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.589e-05/1.728, allocations: 12.03 kB / 0.9864 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.432e-05/1.729, allocations: 42.55 kB / 0.9865 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.749e-05/1.729, allocations: 27.56 kB / 0.9865 GB, free: 500 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/1.729, allocations: 213.7 kB / 0.9867 GB, free: 244 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-06/1.729, allocations: 0 / 0.9867 GB, free: 244 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/1.729, allocations: 0 / 0.9867 GB, free: 244 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/1.729, allocations: 105.6 kB / 0.9868 GB, free: 132 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/1.729, allocations: 0 / 0.9868 GB, free: 132 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/1.729, allocations: 4 kB / 0.9868 GB, free: 128 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/1.729, allocations: 0 / 0.9868 GB, free: 128 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/1.729, allocations: 75.97 kB / 0.9869 GB, free: 52 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004916/1.73, allocations: 277.9 kB / 0.9871 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/1.73, allocations: 122.5 kB / 0.9873 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-05/1.73, allocations: 4.031 kB / 0.9873 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/1.73, allocations: 34.52 kB / 0.9873 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=32): time 1.392e-06/1.73, allocations: 4 kB / 0.9873 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of matching and sorting (n=32): time 0.0008329/1.731, allocations: 432.2 kB / 0.9877 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/1.731, allocations: 55.34 kB / 0.9878 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004366/1.732, allocations: 257 kB / 0.988 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/1.732, allocations: 29.7 kB / 0.988 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/1.732, allocations: 124.7 kB / 0.9882 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/1.732, allocations: 110.4 kB / 0.9883 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/1.732, allocations: 0 / 0.9883 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002113/1.732, allocations: 342.8 kB / 0.9886 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/1.732, allocations: 71.98 kB / 0.9887 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/1.733, allocations: 79.95 kB / 0.9887 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/1.733, allocations: 95.95 kB / 0.9888 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.733, allocations: 0 / 0.9888 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004163/1.733, allocations: 221.3 kB / 0.989 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/1.733, allocations: 4 kB / 0.989 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/1.733, allocations: 3.953 kB / 0.9891 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/1.733, allocations: 3.938 kB / 0.9891 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.523e-06/1.733, allocations: 0 / 0.9891 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/1.733, allocations: 4.062 kB / 0.9891 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.711e-05/1.733, allocations: 15.78 kB / 0.9891 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/1.733, allocations: 3.984 kB / 0.9891 GB, free: 13.66 MB / 0.7481 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.0002573/1.734, allocations: 157.8 kB / 0.9892 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/1.734, allocations: 23.62 kB / 0.9892 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000517/1.734, allocations: 248.7 kB / 0.9895 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/1.734, allocations: 7.984 kB / 0.9895 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/1.734, allocations: 0 / 0.9895 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/1.734, allocations: 4 kB / 0.9895 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004083/1.735, allocations: 277.9 kB / 0.9898 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/1.735, allocations: 4 kB / 0.9898 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.021e-06/1.735, allocations: 3.938 kB / 0.9898 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/1.735, allocations: 0 / 0.9898 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/1.735, allocations: 4 kB / 0.9898 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/1.735, allocations: 0 / 0.9898 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/1.735, allocations: 3.953 kB / 0.9898 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004799/1.735, allocations: 264.6 kB / 0.99 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/1.735, allocations: 104.8 kB / 0.9901 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/1.736, allocations: 0 / 0.9901 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.708e-05/1.736, allocations: 0 / 0.9901 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.433e-05/1.736, allocations: 3.953 kB / 0.9901 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/1.736, allocations: 0 / 0.9901 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002853/1.736, allocations: 192.4 kB / 0.9903 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.5e-07/1.736, allocations: 0 / 0.9903 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001196/1.737, allocations: 211.8 kB / 0.9905 GB, free: 12.09 MB / 0.7481 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.002153/1.739, allocations: 1.022 MB / 0.9915 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005644/1.74, allocations: 257.6 kB / 0.9918 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/1.74, allocations: 0 / 0.9918 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002885/1.74, allocations: 177.6 kB / 0.9919 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/1.741, allocations: 20.67 kB / 0.992 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003296/1.744, allocations: 1.55 MB / 0.9935 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007446/1.745, allocations: 0.7713 MB / 0.9942 GB, free: 8.191 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.719e-05/1.745, allocations: 0 / 0.9942 GB, free: 8.191 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/1.745, allocations: 59.47 kB / 0.9943 GB, free: 8.133 MB / 0.7481 GB Notification: Performance of SimCode: time 2.675e-06/1.745, allocations: 0 / 0.9943 GB, free: 8.133 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0387/1.784, allocations: 7.369 MB / 1.001 GB, free: 1.016 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004055/1.784, allocations: 285.3 kB / 1.002 GB, free: 0.6484 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.561/5.345, allocations: 0 / 1.002 GB, free: 0.6484 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_res.mat does not exist to compare? outputFormat=mat