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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.385/2.385, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001182/0.001182, allocations: 190.9 kB / 0.4901 GB, free: 2.258 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.692/1.692, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.0009615/0.0009616, allocations: 99.42 kB / 0.9396 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003504, allocations: 14.23 kB / 1.09 GB, free: 216.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2832, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2095/0.4927, allocations: 171 MB / 1.396 GB, free: 14.56 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/0.4931, allocations: 123.9 kB / 1.396 GB, free: 14.44 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.04617/0.5392, allocations: 15.46 MB / 1.412 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.717e-06/0.5393, allocations: 0 / 1.412 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.5393, allocations: 3.938 kB / 1.412 GB, free: 14.95 MB / 0.9167 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.001009/0.5403, allocations: 0.5729 MB / 1.412 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.5404, allocations: 15.98 kB / 1.412 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.892e-05/0.5404, allocations: 105.8 kB / 1.412 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.034e-05/0.5405, allocations: 83.17 kB / 1.412 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.5407, allocations: 247.5 kB / 1.413 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.192e-05/0.5407, allocations: 150.6 kB / 1.413 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.598e-05/0.5408, allocations: 158.6 kB / 1.413 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.359e-05/0.5409, allocations: 105 kB / 1.413 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.5409, allocations: 75.28 kB / 1.413 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.42e-05/0.541, allocations: 150.6 kB / 1.413 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.466e-05/0.541, allocations: 158.5 kB / 1.413 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.118e-05/0.5411, allocations: 158.5 kB / 1.413 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003153/0.5414, allocations: 465.9 kB / 1.414 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.591e-05/0.5415, allocations: 169.1 kB / 1.414 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.5415, allocations: 75.28 kB / 1.414 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.5416, allocations: 109.8 kB / 1.414 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.5416, allocations: 0 / 1.414 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 8.523e-05/0.5417, allocations: 41.55 kB / 1.414 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/0.5417, allocations: 126.7 kB / 1.414 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.5419, allocations: 121.9 kB / 1.415 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.5419, allocations: 25.7 kB / 1.415 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.868e-05/0.542, allocations: 92.05 kB / 1.415 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.055e-06/0.542, allocations: 0 / 1.415 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/0.542, allocations: 0 / 1.415 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.5421, allocations: 330.8 kB / 1.415 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.207e-05/0.5421, allocations: 3.938 kB / 1.415 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.579e-05/0.5421, allocations: 8 kB / 1.415 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.68e-05/0.5422, allocations: 4 kB / 1.415 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.5422, allocations: 4 kB / 1.415 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001282/0.5423, allocations: 57.56 kB / 1.415 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.5423, allocations: 5.25 kB / 1.415 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.5424, allocations: 4 kB / 1.415 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.5424, allocations: 0 / 1.415 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.5424, allocations: 4.125 kB / 1.415 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.5424, allocations: 8 kB / 1.415 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.522e-05/0.5424, allocations: 3.906 kB / 1.415 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.5425, allocations: 0 / 1.415 GB, free: 11.14 MB / 0.9167 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.57e-05/0.5426, allocations: 189.9 kB / 1.415 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.792e-05/0.5426, allocations: 101 kB / 1.415 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.505e-05/0.5427, allocations: 116.8 kB / 1.415 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-05/0.5427, allocations: 184.4 kB / 1.416 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.534e-05/0.5428, allocations: 180.3 kB / 1.416 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.278e-05/0.5429, allocations: 184.2 kB / 1.416 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.5431, allocations: 413.2 kB / 1.416 GB, free: 9.695 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.016e-05/0.5431, allocations: 104.9 kB / 1.416 GB, free: 9.586 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.48e-05/0.5432, allocations: 113 kB / 1.417 GB, free: 9.469 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.413e-05/0.5433, allocations: 180.2 kB / 1.417 GB, free: 9.285 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-05/0.5433, allocations: 176.3 kB / 1.417 GB, free: 9.105 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.614e-05/0.5434, allocations: 180.2 kB / 1.417 GB, free: 8.922 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.626e-05/0.5435, allocations: 184.2 kB / 1.417 GB, free: 8.734 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.5436, allocations: 315.6 kB / 1.418 GB, free: 8.402 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.5437, allocations: 190 kB / 1.418 GB, free: 8.191 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.433e-05/0.5438, allocations: 176.3 kB / 1.418 GB, free: 8.012 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.526e-05/0.5439, allocations: 104.9 kB / 1.418 GB, free: 7.902 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.5439, allocations: 180.6 kB / 1.418 GB, free: 7.719 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.544, allocations: 112.9 kB / 1.418 GB, free: 7.602 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.925e-05/0.544, allocations: 100.7 kB / 1.418 GB, free: 7.504 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.31e-07/0.544, allocations: 0 / 1.418 GB, free: 7.504 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000961/0.545, allocations: 323.5 kB / 1.419 GB, free: 7.188 MB / 0.9167 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.001664/0.5467, allocations: 1.19 MB / 1.42 GB, free: 5.969 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.5468, allocations: 45.69 kB / 1.42 GB, free: 5.918 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5468, allocations: 3.938 kB / 1.42 GB, free: 5.914 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/0.5468, allocations: 4 kB / 1.42 GB, free: 5.91 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.5471, allocations: 0.528 MB / 1.42 GB, free: 5.379 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009236/0.5481, allocations: 0.6075 MB / 1.421 GB, free: 4.723 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.5483, allocations: 0.6848 MB / 1.422 GB, free: 4.012 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.907e-05/0.5484, allocations: 4 kB / 1.422 GB, free: 4.008 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.13e-05/0.5484, allocations: 19.42 kB / 1.422 GB, free: 3.988 MB / 0.9167 GB Notification: Performance of SimCode: time 5.31e-07/0.5484, allocations: 0 / 1.422 GB, free: 3.988 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5667/1.115, allocations: 6.4 MB / 1.428 GB, free: 179.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/1.115, allocations: 271.4 kB / 1.428 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/2.98, allocations: 0 / 1.428 GB, free: 179.4 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat does not exist to compare? outputFormat=mat