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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.174/2.174, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001336/0.001337, allocations: 165.2 kB / 498.1 MB, free: 5.738 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.454/1.454, allocations: 223.2 MB / 0.7948 GB, free: 17.87 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.0009025/0.0009026, allocations: 88.3 kB / 0.9346 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003906, allocations: 14.31 kB / 1.084 GB, free: 221.7 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2896, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.197/0.4866, allocations: 170.2 MB / 1.389 GB, free: 7.602 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/0.487, allocations: 119.9 kB / 1.389 GB, free: 7.484 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.04592/0.5329, allocations: 15.46 MB / 1.404 GB, free: 8 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.395e-06/0.5329, allocations: 0 / 1.404 GB, free: 8 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.533, allocations: 3.938 kB / 1.404 GB, free: 7.996 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0009052/0.5339, allocations: 0.5729 MB / 1.405 GB, free: 7.375 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.5339, allocations: 8.031 kB / 1.405 GB, free: 7.367 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.675e-05/0.534, allocations: 113.8 kB / 1.405 GB, free: 7.246 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.455e-05/0.5341, allocations: 83.14 kB / 1.405 GB, free: 7.164 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.5342, allocations: 246.9 kB / 1.405 GB, free: 6.883 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.101e-05/0.5343, allocations: 150.6 kB / 1.406 GB, free: 6.734 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.506e-05/0.5343, allocations: 154.6 kB / 1.406 GB, free: 6.582 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.673e-05/0.5344, allocations: 104.9 kB / 1.406 GB, free: 6.473 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.5344, allocations: 79.28 kB / 1.406 GB, free: 6.395 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.54e-05/0.5345, allocations: 154.5 kB / 1.406 GB, free: 6.242 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-05/0.5346, allocations: 154.5 kB / 1.406 GB, free: 6.09 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.444e-05/0.5346, allocations: 154.6 kB / 1.406 GB, free: 5.938 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000294/0.5349, allocations: 461.9 kB / 1.407 GB, free: 5.438 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.605e-05/0.535, allocations: 181.1 kB / 1.407 GB, free: 5.25 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.5351, allocations: 75.28 kB / 1.407 GB, free: 5.176 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.915e-05/0.5351, allocations: 105.8 kB / 1.407 GB, free: 5.062 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 1.283e-06/0.5351, allocations: 0 / 1.407 GB, free: 5.062 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 7.501e-05/0.5352, allocations: 33.61 kB / 1.407 GB, free: 5.023 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.5353, allocations: 130.7 kB / 1.407 GB, free: 4.883 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.5354, allocations: 122.5 kB / 1.407 GB, free: 4.754 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.5354, allocations: 29.64 kB / 1.407 GB, free: 4.719 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.5355, allocations: 92.14 kB / 1.408 GB, free: 4.625 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-06/0.5355, allocations: 0 / 1.408 GB, free: 4.625 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-06/0.5355, allocations: 3.938 kB / 1.408 GB, free: 4.621 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.5356, allocations: 326.8 kB / 1.408 GB, free: 4.293 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.026e-05/0.5356, allocations: 0 / 1.408 GB, free: 4.293 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.505e-05/0.5356, allocations: 4 kB / 1.408 GB, free: 4.289 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.565e-05/0.5357, allocations: 12.03 kB / 1.408 GB, free: 4.277 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5357, allocations: 0 / 1.408 GB, free: 4.277 MB / 0.9011 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001144/0.5358, allocations: 49.69 kB / 1.408 GB, free: 4.223 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.5358, allocations: 5.25 kB / 1.408 GB, free: 4.219 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/0.5358, allocations: 4 kB / 1.408 GB, free: 4.215 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.5359, allocations: 0 / 1.408 GB, free: 4.215 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-06/0.5359, allocations: 0 / 1.408 GB, free: 4.215 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.5359, allocations: 0 / 1.408 GB, free: 4.215 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.24e-05/0.5359, allocations: 7.906 kB / 1.408 GB, free: 4.207 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.5359, allocations: 0 / 1.408 GB, free: 4.207 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 9.901e-05/0.536, allocations: 192.9 kB / 1.408 GB, free: 4.008 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.066e-05/0.5361, allocations: 120.8 kB / 1.408 GB, free: 3.883 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.125e-05/0.5362, allocations: 108.9 kB / 1.408 GB, free: 3.77 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.099e-05/0.5362, allocations: 180.2 kB / 1.408 GB, free: 3.586 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.736e-05/0.5363, allocations: 180.2 kB / 1.409 GB, free: 3.402 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.363e-05/0.5364, allocations: 180.3 kB / 1.409 GB, free: 3.219 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.5366, allocations: 425.2 kB / 1.409 GB, free: 2.746 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.103e-05/0.5366, allocations: 105 kB / 1.409 GB, free: 2.637 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.502e-05/0.5367, allocations: 113 kB / 1.409 GB, free: 2.52 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.118e-05/0.5368, allocations: 176.3 kB / 1.41 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.899e-05/0.5368, allocations: 180.3 kB / 1.41 GB, free: 2.156 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-05/0.5369, allocations: 188.2 kB / 1.41 GB, free: 1.965 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.348e-05/0.537, allocations: 180.3 kB / 1.41 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.5371, allocations: 307.7 kB / 1.41 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 7.826e-05/0.5372, allocations: 189.9 kB / 1.411 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.225e-05/0.5373, allocations: 184.3 kB / 1.411 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.183e-05/0.5374, allocations: 101 kB / 1.411 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.5374, allocations: 181 kB / 1.411 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.301e-05/0.5375, allocations: 105 kB / 1.411 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 6.023e-05/0.5375, allocations: 108.8 kB / 1.411 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.81e-07/0.5376, allocations: 0 / 1.411 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0008885/0.5384, allocations: 319.5 kB / 1.412 GB, free: 248 kB / 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.001552/0.54, allocations: 1.187 MB / 1.413 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.534e-05/0.5401, allocations: 41.69 kB / 1.413 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5401, allocations: 0 / 1.413 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.741e-06/0.5401, allocations: 8 kB / 1.413 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.5405, allocations: 0.5264 MB / 1.413 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008192/0.5413, allocations: 0.6027 MB / 1.414 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.5416, allocations: 0.6848 MB / 1.415 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.406e-05/0.5416, allocations: 0 / 1.415 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.5416, allocations: 24.62 kB / 1.415 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of SimCode: time 1.794e-06/0.5416, allocations: 0 / 1.415 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01983/0.5615, allocations: 6.422 MB / 1.421 GB, free: 6.867 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003451/0.5619, allocations: 251.8 kB / 1.421 GB, free: 6.527 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/2.423, allocations: 2.844 kB / 1.421 GB, free: 6.527 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube_res.mat does not exist to compare? outputFormat=mat