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_TwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="Buildings_9_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_9_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.155/2.155, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001142/0.001142, allocations: 175.5 kB / 498.1 MB, free: 5.75 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.445/1.445, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.0009012/0.0009011, allocations: 89.45 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003573, allocations: 10.56 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2646, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1935/0.4582, allocations: 161.6 MB / 1.381 GB, free: 296 kB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003632/0.4586, allocations: 121.2 kB / 1.381 GB, free: 176 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02456/0.4832, allocations: 8.509 MB / 1.389 GB, free: 7.641 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.374e-06/0.4832, allocations: 4 kB / 1.389 GB, free: 7.637 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.751e-05/0.4832, allocations: 4 kB / 1.389 GB, free: 7.633 MB / 0.8855 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.001016/0.4842, allocations: 0.5993 MB / 1.39 GB, free: 6.984 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.4843, allocations: 12.02 kB / 1.39 GB, free: 6.973 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.265e-05/0.4844, allocations: 42.5 kB / 1.39 GB, free: 6.922 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.388e-05/0.4844, allocations: 27.61 kB / 1.39 GB, free: 6.895 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.4847, allocations: 217.7 kB / 1.39 GB, free: 6.645 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.4847, allocations: 7.938 kB / 1.39 GB, free: 6.637 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-06/0.4847, allocations: 0 / 1.39 GB, free: 6.637 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.4849, allocations: 109.7 kB / 1.39 GB, free: 6.523 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.485, allocations: 0 / 1.39 GB, free: 6.523 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.485, allocations: 3.938 kB / 1.39 GB, free: 6.52 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.485, allocations: 0 / 1.39 GB, free: 6.52 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.4851, allocations: 83.91 kB / 1.39 GB, free: 6.438 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.4855, allocations: 273.8 kB / 1.391 GB, free: 6.121 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.4856, allocations: 127.6 kB / 1.391 GB, free: 5.988 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.4857, allocations: 0 / 1.391 GB, free: 5.988 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.4857, allocations: 34.56 kB / 1.391 GB, free: 5.945 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=32): time 1.343e-06/0.4857, allocations: 0 / 1.391 GB, free: 5.945 MB / 0.8855 GB Notification: Performance of matching and sorting (n=32): time 0.0005379/0.4862, allocations: 439.7 kB / 1.391 GB, free: 5.492 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.4863, allocations: 51.41 kB / 1.391 GB, free: 5.43 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.4865, allocations: 224.2 kB / 1.391 GB, free: 5.207 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.4866, allocations: 25.7 kB / 1.391 GB, free: 5.176 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.697e-05/0.4867, allocations: 132.7 kB / 1.392 GB, free: 5.043 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.4868, allocations: 102.4 kB / 1.392 GB, free: 4.941 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.4868, allocations: 4.031 kB / 1.392 GB, free: 4.938 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.4869, allocations: 346.8 kB / 1.392 GB, free: 4.59 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.285e-05/0.487, allocations: 79.89 kB / 1.392 GB, free: 4.512 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.644e-05/0.4871, allocations: 75.97 kB / 1.392 GB, free: 4.438 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.4872, allocations: 103.9 kB / 1.392 GB, free: 4.336 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4872, allocations: 0 / 1.392 GB, free: 4.336 MB / 0.8855 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002761/0.4875, allocations: 225.2 kB / 1.392 GB, free: 4.109 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.4876, allocations: 4 kB / 1.392 GB, free: 4.105 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.4876, allocations: 0 / 1.392 GB, free: 4.105 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.4876, allocations: 4.062 kB / 1.392 GB, free: 4.102 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.31e-07/0.4876, allocations: 4 kB / 1.392 GB, free: 4.098 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.4876, allocations: 0 / 1.392 GB, free: 4.098 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.534e-05/0.4877, allocations: 7.844 kB / 1.393 GB, free: 4.09 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.4877, allocations: 4 kB / 1.393 GB, free: 4.086 MB / 0.8855 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.0001558/0.4879, allocations: 163.9 kB / 1.393 GB, free: 3.918 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.4879, allocations: 23.72 kB / 1.393 GB, free: 3.895 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004962/0.4884, allocations: 0.5766 MB / 1.393 GB, free: 3.215 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.526e-05/0.4885, allocations: 176.3 kB / 1.393 GB, free: 3.035 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.825e-05/0.4886, allocations: 188.2 kB / 1.394 GB, free: 2.844 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.906e-05/0.4886, allocations: 176.3 kB / 1.394 GB, free: 2.664 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004458/0.4891, allocations: 0.5475 MB / 1.394 GB, free: 2.059 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.581e-05/0.4891, allocations: 105 kB / 1.394 GB, free: 1.949 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.495e-05/0.4892, allocations: 112.8 kB / 1.395 GB, free: 1.832 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.269e-05/0.4892, allocations: 180.2 kB / 1.395 GB, free: 1.648 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-05/0.4893, allocations: 184.3 kB / 1.395 GB, free: 1.461 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.589e-05/0.4894, allocations: 180.2 kB / 1.395 GB, free: 1.277 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.877e-05/0.4895, allocations: 180.3 kB / 1.395 GB, free: 1.094 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.4897, allocations: 335.4 kB / 1.396 GB, free: 0.7422 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005013/0.4902, allocations: 365.4 kB / 1.396 GB, free: 368 kB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.4903, allocations: 180.2 kB / 1.396 GB, free: 180 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.4905, allocations: 105 kB / 1.396 GB, free: 68 kB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.466e-05/0.4906, allocations: 180.3 kB / 1.396 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-05/0.4906, allocations: 108.9 kB / 1.396 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001271/0.4919, allocations: 1.139 MB / 1.398 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4.71e-07/0.4919, allocations: 0 / 1.398 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001032/0.4929, allocations: 307.6 kB / 1.398 GB, free: 14.33 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.001603/0.4945, allocations: 1.105 MB / 1.399 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002191/0.4948, allocations: 185.6 kB / 1.399 GB, free: 13.01 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4948, allocations: 0 / 1.399 GB, free: 13.01 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 3.928e-06/0.4948, allocations: 0 / 1.399 GB, free: 13.01 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.4952, allocations: 0.5434 MB / 1.4 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.4973, allocations: 1.617 MB / 1.401 GB, free: 10.78 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.4976, allocations: 0.7628 MB / 1.402 GB, free: 9.992 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 3.137e-05/0.4977, allocations: 7.984 kB / 1.402 GB, free: 9.984 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.807e-05/0.4977, allocations: 55.48 kB / 1.402 GB, free: 9.93 MB / 0.9011 GB Notification: Performance of SimCode: time 2.2e-07/0.4977, allocations: 0 / 1.402 GB, free: 9.93 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02501/0.5227, allocations: 7.344 MB / 1.409 GB, free: 2.82 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003507/0.5232, allocations: 266 kB / 1.409 GB, free: 2.465 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/2.442, allocations: 0 / 1.409 GB, free: 2.465 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_res.mat does not exist to compare? outputFormat=mat