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_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 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_OneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",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.001367/0.001367, allocations: 99.47 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.001689/0.001689, allocations: 177.3 kB / 15.94 MB, free: 228 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.578/2.578, allocations: 223.2 MB / 239.9 MB, free: 5.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.21/5.21, allocations: 409.2 MB / 0.6838 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007354/0.0007358, allocations: 12 kB / 0.8376 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.676/1.677, allocations: 146.8 MB / 0.9809 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002458/1.68, allocations: 1.078 MB / 0.982 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004994/1.685, allocations: 1.635 MB / 0.9836 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.605e-05/1.685, allocations: 4 kB / 0.9836 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001304/1.685, allocations: 7.984 kB / 0.9836 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000208/1.685, allocations: 23.89 kB / 0.9836 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004272/1.69, allocations: 0.8977 MB / 0.9845 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001566/1.69, allocations: 35.88 kB / 0.9845 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.669e-05/1.69, allocations: 4 kB / 0.9845 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/1.69, allocations: 23.91 kB / 0.9845 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.004e-05/1.69, allocations: 15.94 kB / 0.9846 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/1.69, allocations: 0 / 0.9846 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0021/1.692, allocations: 0.6357 MB / 0.9852 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.492e-05/1.692, allocations: 19.98 kB / 0.9852 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.048e-05/1.692, allocations: 41.64 kB / 0.9852 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001612/1.694, allocations: 0.5051 MB / 0.9857 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/1.694, allocations: 0 / 0.9857 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.447e-06/1.694, allocations: 0 / 0.9857 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.2e-05/1.694, allocations: 3.938 kB / 0.9857 GB, free: 1.316 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001264/1.695, allocations: 468 kB / 0.9862 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.875e-05/1.695, allocations: 12.03 kB / 0.9862 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.149e-05/1.696, allocations: 34.56 kB / 0.9862 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.116e-05/1.696, allocations: 19.75 kB / 0.9862 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/1.696, allocations: 175.6 kB / 0.9864 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/1.696, allocations: 4 kB / 0.9864 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/1.696, allocations: 0 / 0.9864 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/1.696, allocations: 57.64 kB / 0.9865 GB, free: 472 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/1.696, allocations: 0 / 0.9865 GB, free: 472 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/1.696, allocations: 0 / 0.9865 GB, free: 472 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/1.696, allocations: 0 / 0.9865 GB, free: 472 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.981e-05/1.696, allocations: 23.98 kB / 0.9865 GB, free: 448 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004316/1.697, allocations: 193.5 kB / 0.9867 GB, free: 204 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/1.697, allocations: 54.56 kB / 0.9867 GB, free: 140 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-05/1.697, allocations: 160 / 0.9867 GB, free: 140 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.886e-05/1.697, allocations: 34.52 kB / 0.9868 GB, free: 96 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 2.295e-06/1.697, allocations: 0 / 0.9868 GB, free: 96 kB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0005856/1.698, allocations: 202.6 kB / 0.987 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.869e-05/1.698, allocations: 55.41 kB / 0.987 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/1.698, allocations: 159.1 kB / 0.9872 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/1.698, allocations: 25.7 kB / 0.9872 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/1.698, allocations: 104.2 kB / 0.9873 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.889e-05/1.699, allocations: 23.56 kB / 0.9873 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-06/1.699, allocations: 4 kB / 0.9873 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002157/1.699, allocations: 322.8 kB / 0.9876 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.349e-05/1.699, allocations: 19.98 kB / 0.9876 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.916e-05/1.699, allocations: 27.98 kB / 0.9877 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.374e-05/1.699, allocations: 27.98 kB / 0.9877 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/1.699, allocations: 0 / 0.9877 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002542/1.699, allocations: 85.59 kB / 0.9878 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/1.699, allocations: 13.78 kB / 0.9878 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.047e-05/1.699, allocations: 7.938 kB / 0.9878 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/1.699, allocations: 3.938 kB / 0.9878 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.629e-06/1.7, allocations: 3.938 kB / 0.9878 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/1.7, allocations: 0 / 0.9878 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.541e-05/1.7, allocations: 0 / 0.9878 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/1.7, allocations: 4 kB / 0.9878 GB, free: 14.96 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.0001959/1.7, allocations: 121.8 kB / 0.9879 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/1.7, allocations: 7.906 kB / 0.9879 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002983/1.7, allocations: 118.2 kB / 0.988 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.906e-06/1.7, allocations: 3.953 kB / 0.988 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/1.7, allocations: 3.938 kB / 0.988 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/1.7, allocations: 0 / 0.988 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/1.701, allocations: 193.6 kB / 0.9882 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/1.701, allocations: 0 / 0.9882 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-06/1.701, allocations: 0 / 0.9882 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/1.701, allocations: 0 / 0.9882 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/1.701, allocations: 4 kB / 0.9882 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/1.701, allocations: 0 / 0.9882 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/1.701, allocations: 8.297 kB / 0.9882 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/1.701, allocations: 120.9 kB / 0.9884 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.97e-05/1.701, allocations: 89 kB / 0.9884 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/1.701, allocations: 0 / 0.9884 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.902e-05/1.701, allocations: 0 / 0.9884 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/1.701, allocations: 3.953 kB / 0.9884 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/1.701, allocations: 4 kB / 0.9885 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001802/1.701, allocations: 119.8 kB / 0.9886 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of sort global known variables: time 5.82e-07/1.701, allocations: 0 / 0.9886 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001116/1.702, allocations: 203.8 kB / 0.9888 GB, free: 13.87 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.001685/1.704, allocations: 0.8714 MB / 0.9896 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002531/1.704, allocations: 93.67 kB / 0.9897 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.704, allocations: 4.062 kB / 0.9897 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/1.705, allocations: 69.67 kB / 0.9898 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/1.705, allocations: 8 kB / 0.9898 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/1.707, allocations: 0.7811 MB / 0.9905 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004766/1.707, allocations: 0.7082 MB / 0.9912 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.666e-05/1.707, allocations: 0 / 0.9912 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.307e-05/1.707, allocations: 19.44 kB / 0.9913 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of SimCode: time 4.11e-07/1.707, allocations: 0 / 0.9913 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04293/1.75, allocations: 5.708 MB / 0.9968 GB, free: 5.758 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00044/1.751, allocations: 271.7 kB / 0.9971 GB, free: 5.406 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.59/5.341, allocations: 0 / 0.9971 GB, free: 5.406 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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_OneUTube_res.mat does not exist to compare? outputFormat=mat