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/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_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/Buildings 10.0.0-master/package.mo): time 2.285/2.285, allocations: 393.5 MB / 408.4 MB, free: 10.87 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.001305/0.001305, allocations: 183.8 kB / 0.4901 GB, free: 2.082 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.554/1.554, allocations: 223.1 MB / 0.7992 GB, free: 15.64 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.0009672/0.000967, allocations: 94.84 kB / 0.9396 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003819, allocations: 11.72 kB / 1.09 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2695, allocations: 143 MB / 1.229 GB, free: 85.34 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2036/0.4732, allocations: 162.4 MB / 1.388 GB, free: 2.676 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/0.4735, allocations: 119.9 kB / 1.388 GB, free: 2.559 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02647/0.5, allocations: 8.52 MB / 1.396 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.795e-06/0.5001, allocations: 0 / 1.396 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.969e-05/0.5001, allocations: 0 / 1.396 GB, free: 10.02 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001323/0.5014, allocations: 0.6032 MB / 1.397 GB, free: 9.371 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.852e-05/0.5015, allocations: 16.52 kB / 1.397 GB, free: 9.355 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.803e-05/0.5016, allocations: 42.55 kB / 1.397 GB, free: 9.305 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.089e-05/0.5017, allocations: 23.67 kB / 1.397 GB, free: 9.281 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.502, allocations: 217.7 kB / 1.397 GB, free: 9.031 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.5021, allocations: 4 kB / 1.397 GB, free: 9.027 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.5021, allocations: 0 / 1.397 GB, free: 9.027 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.5023, allocations: 110.5 kB / 1.397 GB, free: 8.914 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.5023, allocations: 0 / 1.397 GB, free: 8.914 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.5023, allocations: 0 / 1.397 GB, free: 8.914 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.5024, allocations: 0 / 1.397 GB, free: 8.914 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.5025, allocations: 79.86 kB / 1.397 GB, free: 8.836 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.5029, allocations: 285.7 kB / 1.398 GB, free: 8.508 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.5031, allocations: 126.5 kB / 1.398 GB, free: 8.375 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.796e-05/0.5032, allocations: 0 / 1.398 GB, free: 8.375 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.5032, allocations: 34.59 kB / 1.398 GB, free: 8.332 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=32): time 1.062e-06/0.5032, allocations: 0 / 1.398 GB, free: 8.332 MB / 0.9011 GB Notification: Performance of matching and sorting (n=32): time 0.0006128/0.5038, allocations: 438.8 kB / 1.398 GB, free: 7.879 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.5039, allocations: 55.39 kB / 1.398 GB, free: 7.812 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.5042, allocations: 224.2 kB / 1.399 GB, free: 7.586 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.5042, allocations: 29.7 kB / 1.399 GB, free: 7.551 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 9.787e-05/0.5043, allocations: 132.7 kB / 1.399 GB, free: 7.418 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.5045, allocations: 106.4 kB / 1.399 GB, free: 7.312 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.5045, allocations: 0 / 1.399 GB, free: 7.312 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000195/0.5047, allocations: 342.8 kB / 1.399 GB, free: 6.969 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.452e-05/0.5048, allocations: 79.95 kB / 1.399 GB, free: 6.891 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.297e-05/0.5049, allocations: 71.97 kB / 1.399 GB, free: 6.82 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.505, allocations: 105 kB / 1.399 GB, free: 6.719 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.505, allocations: 0 / 1.399 GB, free: 6.719 MB / 0.9011 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003119/0.5053, allocations: 233.2 kB / 1.4 GB, free: 6.484 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.5054, allocations: 8.062 kB / 1.4 GB, free: 6.477 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.563e-05/0.5054, allocations: 7.984 kB / 1.4 GB, free: 6.469 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.5054, allocations: 0 / 1.4 GB, free: 6.469 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.774e-06/0.5054, allocations: 0 / 1.4 GB, free: 6.469 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.5054, allocations: 0 / 1.4 GB, free: 6.469 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.654e-05/0.5055, allocations: 11.84 kB / 1.4 GB, free: 6.457 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.5056, allocations: 4 kB / 1.4 GB, free: 6.453 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.0001719/0.5057, allocations: 157.8 kB / 1.4 GB, free: 6.289 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.344e-05/0.5058, allocations: 19.72 kB / 1.4 GB, free: 6.27 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006086/0.5064, allocations: 0.569 MB / 1.4 GB, free: 5.598 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.573e-05/0.5065, allocations: 180.2 kB / 1.401 GB, free: 5.414 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001068/0.5066, allocations: 184.3 kB / 1.401 GB, free: 5.227 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.908e-05/0.5067, allocations: 184.2 kB / 1.401 GB, free: 5.039 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005045/0.5072, allocations: 0.5474 MB / 1.401 GB, free: 4.434 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.501e-05/0.5073, allocations: 109 kB / 1.402 GB, free: 4.32 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.789e-05/0.5073, allocations: 108.9 kB / 1.402 GB, free: 4.207 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.495e-05/0.5074, allocations: 180.2 kB / 1.402 GB, free: 4.023 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.829e-05/0.5075, allocations: 180.2 kB / 1.402 GB, free: 3.84 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.448e-05/0.5075, allocations: 176.3 kB / 1.402 GB, free: 3.66 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.189e-05/0.5076, allocations: 184.3 kB / 1.402 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.5078, allocations: 331.4 kB / 1.403 GB, free: 3.125 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005214/0.5084, allocations: 369.4 kB / 1.403 GB, free: 2.738 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.5085, allocations: 176.3 kB / 1.403 GB, free: 2.559 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.5087, allocations: 105 kB / 1.403 GB, free: 2.449 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.838e-05/0.5087, allocations: 188.2 kB / 1.403 GB, free: 2.258 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.064e-05/0.5088, allocations: 101 kB / 1.404 GB, free: 2.152 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001282/0.5101, allocations: 1.143 MB / 1.405 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5101, allocations: 3.938 kB / 1.405 GB, free: 1 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001075/0.5112, allocations: 299.7 kB / 1.405 GB, free: 0.707 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.5843/1.095, allocations: 1.093 MB / 1.406 GB, free: 169.1 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003866/1.096, allocations: 178.7 kB / 1.406 GB, free: 169 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/1.096, allocations: 0.7812 kB / 1.406 GB, free: 169 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 5.16e-06/1.096, allocations: 4.188 kB / 1.406 GB, free: 169 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004606/1.096, allocations: 0.5407 MB / 1.407 GB, free: 168.5 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/1.099, allocations: 1.623 MB / 1.408 GB, free: 167.9 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/1.099, allocations: 0.76 MB / 1.409 GB, free: 167.2 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 3.502e-05/1.1, allocations: 2.516 kB / 1.409 GB, free: 167.2 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.855e-05/1.1, allocations: 56.7 kB / 1.409 GB, free: 167.2 MB / 0.9011 GB Notification: Performance of SimCode: time 7.52e-07/1.1, allocations: 4.062 kB / 1.409 GB, free: 167.2 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02881/1.128, allocations: 7.344 MB / 1.416 GB, free: 166.7 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002382/1.129, allocations: 275.3 kB / 1.417 GB, free: 166.4 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.099/3.228, allocations: 2.922 kB / 1.417 GB, free: 166.4 MB / 0.9011 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) 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