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.001525/0.001526, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.002064/0.002064, allocations: 168.7 kB / 15.95 MB, free: 204 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.488/1.488, allocations: 223.2 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.499/2.499, allocations: 409.4 MB / 0.684 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003744, allocations: 12 kB / 0.8378 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8322/0.8326, allocations: 146.8 MB / 0.9812 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.001488/0.8341, allocations: 1.092 MB / 0.9823 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002412/0.8366, allocations: 1.65 MB / 0.9839 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.8366, allocations: 0 / 0.9839 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.179e-05/0.8367, allocations: 7.922 kB / 0.9839 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001583/0.8369, allocations: 31.89 kB / 0.9839 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002004/0.8389, allocations: 0.918 MB / 0.9848 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.839, allocations: 71.73 kB / 0.9849 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.109e-05/0.8391, allocations: 0 / 0.9849 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.969e-05/0.8392, allocations: 35.86 kB / 0.9849 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.92e-05/0.8393, allocations: 47.83 kB / 0.985 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.8393, allocations: 0 / 0.985 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009679/0.8402, allocations: 0.6825 MB / 0.9856 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.208e-05/0.8403, allocations: 67.81 kB / 0.9857 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.8404, allocations: 49.58 kB / 0.9857 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006174/0.841, allocations: 0.548 MB / 0.9863 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.841, allocations: 4 kB / 0.9863 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.714e-06/0.841, allocations: 0 / 0.9863 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.841, allocations: 0 / 0.9863 GB, free: 1.086 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.0005847/0.8416, allocations: 0.5683 MB / 0.9868 GB, free: 480 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.8417, allocations: 8.031 kB / 0.9868 GB, free: 472 kB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.399e-05/0.8417, allocations: 42.55 kB / 0.9869 GB, free: 420 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.8418, allocations: 23.62 kB / 0.9869 GB, free: 396 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.842, allocations: 217.7 kB / 0.9871 GB, free: 136 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.842, allocations: 3.984 kB / 0.9871 GB, free: 132 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.355e-06/0.842, allocations: 0 / 0.9871 GB, free: 132 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.8422, allocations: 113.6 kB / 0.9872 GB, free: 12 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.8422, allocations: 0 / 0.9872 GB, free: 12 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.8422, allocations: 4 kB / 0.9872 GB, free: 8 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.8422, allocations: 0 / 0.9872 GB, free: 8 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.444e-05/0.8423, allocations: 67.98 kB / 0.9873 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002448/0.8425, allocations: 277.9 kB / 0.9876 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.8427, allocations: 122.5 kB / 0.9877 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.984e-05/0.8428, allocations: 108.9 kB / 0.9878 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.8428, allocations: 3.938 kB / 0.9878 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.8428, allocations: 42.45 kB / 0.9878 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=32): time 1.102e-06/0.8428, allocations: 0 / 0.9878 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of matching and sorting (n=32): time 0.0003882/0.8432, allocations: 339.1 kB / 0.9881 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.8433, allocations: 51.41 kB / 0.9882 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.8435, allocations: 257 kB / 0.9884 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.8435, allocations: 25.7 kB / 0.9885 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.725e-05/0.8436, allocations: 128.7 kB / 0.9886 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.66e-05/0.8437, allocations: 106.4 kB / 0.9887 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.8437, allocations: 0 / 0.9887 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.8438, allocations: 342.8 kB / 0.989 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.889e-05/0.8439, allocations: 75.97 kB / 0.9891 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.391e-05/0.844, allocations: 79.95 kB / 0.9892 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.8441, allocations: 99.95 kB / 0.9893 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.8441, allocations: 7.875 kB / 0.9893 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002168/0.8443, allocations: 213.3 kB / 0.9895 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.8444, allocations: 7.953 kB / 0.9895 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.8444, allocations: 4 kB / 0.9895 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.8444, allocations: 0 / 0.9895 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.8444, allocations: 4.062 kB / 0.9895 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.8444, allocations: 3.984 kB / 0.9895 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.591e-05/0.8445, allocations: 15.84 kB / 0.9895 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.8445, allocations: 4 kB / 0.9895 GB, free: 13.55 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.0001256/0.8446, allocations: 153.8 kB / 0.9897 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.8446, allocations: 23.62 kB / 0.9897 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002873/0.8449, allocations: 268.5 kB / 0.9899 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.8449, allocations: 0 / 0.9899 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.8449, allocations: 0 / 0.9899 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.845, allocations: 0 / 0.9899 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.8452, allocations: 277.9 kB / 0.9902 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.8452, allocations: 0 / 0.9902 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.8452, allocations: 0 / 0.9902 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.8452, allocations: 0 / 0.9902 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.8452, allocations: 0 / 0.9902 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.8452, allocations: 11.94 kB / 0.9902 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8452, allocations: 0 / 0.9902 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.8455, allocations: 260.6 kB / 0.9905 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.958e-05/0.8455, allocations: 100.8 kB / 0.9906 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.8456, allocations: 0 / 0.9906 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.231e-05/0.8456, allocations: 0 / 0.9906 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/0.8456, allocations: 7.891 kB / 0.9906 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.8456, allocations: 4 kB / 0.9906 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001627/0.8458, allocations: 188.4 kB / 0.9907 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8458, allocations: 32 / 0.9907 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005781/0.8464, allocations: 211.8 kB / 0.9909 GB, free: 11.97 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.001091/0.8475, allocations: 1.01 MB / 0.9919 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002772/0.8478, allocations: 257.6 kB / 0.9922 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.8478, allocations: 4 kB / 0.9922 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.8479, allocations: 181.6 kB / 0.9924 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.8482, allocations: 24.44 kB / 0.9924 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.8499, allocations: 1.566 MB / 0.9939 GB, free: 8.855 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.8502, allocations: 0.7722 MB / 0.9947 GB, free: 8.059 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.479e-05/0.8503, allocations: 3.938 kB / 0.9947 GB, free: 8.055 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.682e-05/0.8503, allocations: 59.48 kB / 0.9947 GB, free: 7.996 MB / 0.7481 GB Notification: Performance of SimCode: time 6.41e-07/0.8503, allocations: 0 / 0.9947 GB, free: 7.996 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01832/0.8687, allocations: 7.397 MB / 1.002 GB, free: 0.8594 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/0.8689, allocations: 282.6 kB / 1.002 GB, free: 0.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/2.787, allocations: 0 / 1.002 GB, free: 0.5 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