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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.279/2.279, allocations: 393.5 MB / 408.4 MB, free: 10.99 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 172 kB / 0.4901 GB, free: 2.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.1 MB / 0.7992 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009573/0.0009575, allocations: 86.69 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003718/0.0003718, allocations: 7.156 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3075, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2126/0.5202, allocations: 162.4 MB / 1.388 GB, free: 6.961 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003705/0.5206, allocations: 123.8 kB / 1.388 GB, free: 6.84 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02417/0.5448, allocations: 8.062 MB / 1.396 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.397e-06/0.5449, allocations: 0 / 1.396 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.339e-05/0.5449, allocations: 0 / 1.396 GB, free: 14.77 MB / 0.9011 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.0007442/0.5456, allocations: 0.4947 MB / 1.396 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.5457, allocations: 16.45 kB / 1.396 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.352e-05/0.5457, allocations: 38.56 kB / 1.396 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.5458, allocations: 11.86 kB / 1.396 GB, free: 14.15 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.546, allocations: 180.2 kB / 1.397 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.546, allocations: 0 / 1.397 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.546, allocations: 0 / 1.397 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.5461, allocations: 61.67 kB / 1.397 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.5462, allocations: 0 / 1.397 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.5462, allocations: 0 / 1.397 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.5462, allocations: 0 / 1.397 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.591e-05/0.5462, allocations: 31.88 kB / 1.397 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002208/0.5465, allocations: 189.6 kB / 1.397 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.194e-05/0.5466, allocations: 42.78 kB / 1.397 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.5466, allocations: 160 / 1.397 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.5466, allocations: 38.56 kB / 1.397 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.5466, allocations: 0 / 1.397 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=8): time 0.0003016/0.5469, allocations: 206.6 kB / 1.397 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.547, allocations: 51.41 kB / 1.397 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.5471, allocations: 140.4 kB / 1.397 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.5472, allocations: 25.7 kB / 1.397 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.041e-05/0.5472, allocations: 96.14 kB / 1.398 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/0.5473, allocations: 35.58 kB / 1.398 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/0.5473, allocations: 0 / 1.398 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.5474, allocations: 330.8 kB / 1.398 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.718e-05/0.5475, allocations: 23.98 kB / 1.398 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.051e-05/0.5475, allocations: 23.98 kB / 1.398 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.588e-05/0.5476, allocations: 31.98 kB / 1.398 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5476, allocations: 0 / 1.398 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001163/0.5477, allocations: 89.83 kB / 1.398 GB, free: 12.4 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.5477, allocations: 9.547 kB / 1.398 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.5477, allocations: 4 kB / 1.398 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.5478, allocations: 4.062 kB / 1.398 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.291e-05/0.5478, allocations: 7.922 kB / 1.398 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.5478, allocations: 3.984 kB / 1.398 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.735e-05/0.5478, allocations: 0 / 1.398 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.5478, allocations: 4 kB / 1.398 GB, free: 12.37 MB / 0.9011 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.548, allocations: 125.8 kB / 1.398 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.548, allocations: 15.75 kB / 1.398 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/0.5482, allocations: 208.4 kB / 1.398 GB, free: 11.98 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.956e-05/0.5483, allocations: 180.2 kB / 1.399 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.069e-05/0.5484, allocations: 176.3 kB / 1.399 GB, free: 11.62 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.908e-05/0.5485, allocations: 188.2 kB / 1.399 GB, free: 11.43 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003181/0.5488, allocations: 441.1 kB / 1.399 GB, free: 10.94 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.006e-05/0.5489, allocations: 105 kB / 1.399 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.618e-05/0.5489, allocations: 108.9 kB / 1.4 GB, free: 10.71 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.7e-05/0.549, allocations: 176.3 kB / 1.4 GB, free: 10.54 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.289e-05/0.5491, allocations: 180.2 kB / 1.4 GB, free: 10.35 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-05/0.5492, allocations: 184.2 kB / 1.4 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.464e-05/0.5492, allocations: 180.3 kB / 1.4 GB, free: 9.98 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.5494, allocations: 315.6 kB / 1.401 GB, free: 9.648 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.5496, allocations: 229.7 kB / 1.401 GB, free: 9.398 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.5497, allocations: 176.3 kB / 1.401 GB, free: 9.219 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.5498, allocations: 105 kB / 1.401 GB, free: 9.109 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.5499, allocations: 180.2 kB / 1.401 GB, free: 8.926 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.44e-05/0.55, allocations: 109 kB / 1.401 GB, free: 8.812 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002805/0.5503, allocations: 268.7 kB / 1.402 GB, free: 8.551 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5503, allocations: 0 / 1.402 GB, free: 8.551 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0008141/0.5511, allocations: 235.7 kB / 1.402 GB, free: 8.32 MB / 0.9011 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001214/0.5523, allocations: 1.086 MB / 1.403 GB, free: 7.207 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.5525, allocations: 65.69 kB / 1.403 GB, free: 7.137 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5525, allocations: 0 / 1.403 GB, free: 7.137 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 1.634e-06/0.5525, allocations: 4 kB / 1.403 GB, free: 7.133 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.5529, allocations: 0.5309 MB / 1.403 GB, free: 6.598 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.5541, allocations: 0.8707 MB / 1.404 GB, free: 5.676 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.5545, allocations: 0.7082 MB / 1.405 GB, free: 4.941 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 1.758e-05/0.5545, allocations: 0 / 1.405 GB, free: 4.941 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.955e-05/0.5545, allocations: 27.42 kB / 1.405 GB, free: 4.914 MB / 0.9011 GB Notification: Performance of SimCode: time 2.51e-07/0.5546, allocations: 0 / 1.405 GB, free: 4.914 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02047/0.575, allocations: 5.581 MB / 1.41 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/0.5753, allocations: 270.1 kB / 1.411 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.939/2.515, allocations: 0 / 1.411 GB, free: 15.21 MB / 0.9167 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) 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