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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.51/2.51, allocations: 393.5 MB / 408.4 MB, free: 11 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.001231/0.001231, allocations: 184 kB / 0.4901 GB, free: 2.234 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.672/1.672, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.001021/0.001021, allocations: 103 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003686, allocations: 10.66 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3228, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2189/0.5418, allocations: 170.3 MB / 1.396 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003588/0.5422, allocations: 123.9 kB / 1.396 GB, free: 15 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.04706/0.5893, allocations: 15.14 MB / 1.411 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.635e-06/0.5893, allocations: 0 / 1.411 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.886e-06/0.5893, allocations: 4 kB / 1.411 GB, free: 15.83 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.00118/0.5905, allocations: 0.5739 MB / 1.411 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/0.5906, allocations: 15.98 kB / 1.411 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.995e-05/0.5906, allocations: 105.8 kB / 1.411 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.396e-05/0.5907, allocations: 79.23 kB / 1.411 GB, free: 15 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.5909, allocations: 246.2 kB / 1.412 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.164e-05/0.591, allocations: 162.5 kB / 1.412 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.335e-05/0.591, allocations: 154.6 kB / 1.412 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.935e-05/0.5911, allocations: 101 kB / 1.412 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.19e-05/0.5912, allocations: 75.28 kB / 1.412 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.811e-05/0.5912, allocations: 150.6 kB / 1.412 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.952e-05/0.5913, allocations: 158.5 kB / 1.412 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.934e-05/0.5913, allocations: 158.5 kB / 1.412 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.5917, allocations: 461.9 kB / 1.413 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.305e-05/0.5918, allocations: 173.1 kB / 1.413 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.5918, allocations: 75.28 kB / 1.413 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.779e-05/0.5919, allocations: 109.8 kB / 1.413 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 1.302e-06/0.5919, allocations: 0 / 1.413 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 9.97e-05/0.592, allocations: 41.55 kB / 1.413 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/0.592, allocations: 126.7 kB / 1.413 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.5922, allocations: 118.7 kB / 1.413 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.5922, allocations: 25.7 kB / 1.414 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.696e-05/0.5923, allocations: 92.12 kB / 1.414 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.5923, allocations: 0 / 1.414 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.5923, allocations: 4 kB / 1.414 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.5924, allocations: 322.8 kB / 1.414 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.842e-05/0.5925, allocations: 4 kB / 1.414 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.537e-05/0.5925, allocations: 4 kB / 1.414 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.167e-05/0.5925, allocations: 8 kB / 1.414 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5925, allocations: 0 / 1.414 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001371/0.5927, allocations: 49.64 kB / 1.414 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.5927, allocations: 4.781 kB / 1.414 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/0.5927, allocations: 15.86 kB / 1.414 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.5928, allocations: 4.062 kB / 1.414 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.332e-06/0.5928, allocations: 0 / 1.414 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.5928, allocations: 0 / 1.414 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.316e-05/0.5928, allocations: 4 kB / 1.414 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.5928, allocations: 0 / 1.414 GB, free: 12.04 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 0.0001068/0.5929, allocations: 185.9 kB / 1.414 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.882e-05/0.593, allocations: 108.9 kB / 1.414 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.805e-05/0.5931, allocations: 116.8 kB / 1.414 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.586e-05/0.5931, allocations: 184.4 kB / 1.415 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.442e-05/0.5932, allocations: 180.3 kB / 1.415 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-05/0.5933, allocations: 180.2 kB / 1.415 GB, free: 11.06 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.5936, allocations: 417.2 kB / 1.415 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.266e-05/0.5936, allocations: 108.9 kB / 1.415 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.391e-05/0.5937, allocations: 109 kB / 1.416 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-05/0.5938, allocations: 180.3 kB / 1.416 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.072e-05/0.5938, allocations: 180.2 kB / 1.416 GB, free: 10 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.419e-05/0.5939, allocations: 176.3 kB / 1.416 GB, free: 9.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.306e-05/0.594, allocations: 184.2 kB / 1.416 GB, free: 9.633 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.5942, allocations: 315.7 kB / 1.417 GB, free: 9.301 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-05/0.5942, allocations: 182 kB / 1.417 GB, free: 9.098 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.438e-05/0.5943, allocations: 188.2 kB / 1.417 GB, free: 8.906 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.363e-05/0.5944, allocations: 104.9 kB / 1.417 GB, free: 8.797 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.935e-05/0.5945, allocations: 176.6 kB / 1.417 GB, free: 8.617 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.243e-05/0.5946, allocations: 109 kB / 1.417 GB, free: 8.504 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.288e-05/0.5946, allocations: 96.36 kB / 1.417 GB, free: 8.41 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5946, allocations: 3.938 kB / 1.417 GB, free: 8.406 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001149/0.5958, allocations: 323.4 kB / 1.418 GB, free: 8.09 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.001965/0.5978, allocations: 1.195 MB / 1.419 GB, free: 6.863 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.5979, allocations: 37.7 kB / 1.419 GB, free: 6.82 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5979, allocations: 0 / 1.419 GB, free: 6.82 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.332e-06/0.5979, allocations: 3.938 kB / 1.419 GB, free: 6.816 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.5983, allocations: 0.5263 MB / 1.419 GB, free: 6.285 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.5993, allocations: 0.5921 MB / 1.42 GB, free: 5.645 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.5996, allocations: 0.6926 MB / 1.421 GB, free: 4.926 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.905e-05/0.5996, allocations: 3.938 kB / 1.421 GB, free: 4.922 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.151e-05/0.5997, allocations: 15.44 kB / 1.421 GB, free: 4.906 MB / 0.9167 GB Notification: Performance of SimCode: time 3.21e-07/0.5997, allocations: 0 / 1.421 GB, free: 4.906 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5771/1.177, allocations: 6.249 MB / 1.427 GB, free: 183.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/1.177, allocations: 267.2 kB / 1.427 GB, free: 183.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.054/3.231, allocations: 0 / 1.427 GB, free: 183.3 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.InternalResistancesOneUTube_res.mat does not exist to compare? outputFormat=mat