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.327/2.327, allocations: 390.3 MB / 402.8 MB, free: 6.668 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.001175/0.001174, allocations: 176.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.734/1.734, allocations: 221.3 MB / 0.7915 GB, free: 5.445 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.001399/0.001398, allocations: 91.97 kB / 0.9317 GB, free: 5.754 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.942e-05/3.95e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3035, allocations: 143 MB / 1.219 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9803/1.284, allocations: 171 MB / 1.386 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/1.284, allocations: 113.2 kB / 1.386 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.0474/1.332, allocations: 15.4 MB / 1.401 GB, free: 1.656 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.593e-06/1.332, allocations: 0 / 1.401 GB, free: 1.656 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.408e-06/1.332, allocations: 4 kB / 1.401 GB, free: 1.652 MB / 0.8542 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.0009468/1.333, allocations: 0.559 MB / 1.402 GB, free: 1.059 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/1.333, allocations: 8.031 kB / 1.402 GB, free: 1.051 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.557e-05/1.333, allocations: 105.8 kB / 1.402 GB, free: 0.9375 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.924e-05/1.333, allocations: 87.23 kB / 1.402 GB, free: 0.8516 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/1.333, allocations: 255.7 kB / 1.402 GB, free: 0.5625 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.221e-05/1.333, allocations: 150.6 kB / 1.402 GB, free: 424 kB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.503e-05/1.333, allocations: 150.6 kB / 1.402 GB, free: 272 kB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.402e-05/1.333, allocations: 101 kB / 1.402 GB, free: 164 kB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.684e-05/1.333, allocations: 79.28 kB / 1.402 GB, free: 84 kB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-05/1.333, allocations: 158.5 kB / 1.403 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-05/1.333, allocations: 157.6 kB / 1.403 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.368e-05/1.334, allocations: 154.5 kB / 1.403 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/1.334, allocations: 461.7 kB / 1.403 GB, free: 15.13 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.458e-05/1.334, allocations: 169.1 kB / 1.404 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.661e-05/1.334, allocations: 80.14 kB / 1.404 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/1.334, allocations: 75.28 kB / 1.404 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.354e-05/1.334, allocations: 121.5 kB / 1.404 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.373e-06/1.334, allocations: 0 / 1.404 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 8.553e-05/1.334, allocations: 29.61 kB / 1.404 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/1.334, allocations: 134.7 kB / 1.404 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/1.334, allocations: 121.6 kB / 1.404 GB, free: 14.37 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/1.334, allocations: 29.7 kB / 1.404 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/1.335, allocations: 87.2 kB / 1.404 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-06/1.335, allocations: 0 / 1.404 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/1.335, allocations: 0 / 1.404 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.335, allocations: 322.7 kB / 1.404 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.276e-05/1.335, allocations: 4 kB / 1.404 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.748e-05/1.335, allocations: 11.94 kB / 1.404 GB, free: 13.92 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.984e-05/1.335, allocations: 7.938 kB / 1.404 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.335, allocations: 3.938 kB / 1.404 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001238/1.335, allocations: 45.55 kB / 1.405 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/1.335, allocations: 8 kB / 1.405 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/1.335, allocations: 3.984 kB / 1.405 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/1.335, allocations: 4 kB / 1.405 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.616e-06/1.335, allocations: 4.062 kB / 1.405 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/1.335, allocations: 0 / 1.405 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.22e-05/1.335, allocations: 0 / 1.405 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/1.335, allocations: 4.016 kB / 1.405 GB, free: 13.84 MB / 0.8698 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 () * 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.625e-05/1.335, allocations: 184.3 kB / 1.405 GB, free: 13.65 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.689e-05/1.335, allocations: 108.8 kB / 1.405 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.808e-05/1.335, allocations: 115.9 kB / 1.405 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.554e-05/1.335, allocations: 180.4 kB / 1.405 GB, free: 13.23 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.877e-05/1.335, allocations: 180.2 kB / 1.405 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.564e-05/1.335, allocations: 184.3 kB / 1.405 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/1.336, allocations: 415.7 kB / 1.406 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.156e-05/1.336, allocations: 109 kB / 1.406 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.544e-05/1.336, allocations: 104.2 kB / 1.406 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.882e-05/1.336, allocations: 180.2 kB / 1.406 GB, free: 12 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.548e-05/1.336, allocations: 180.3 kB / 1.406 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-05/1.336, allocations: 184.2 kB / 1.407 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.604e-05/1.336, allocations: 176.3 kB / 1.407 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/1.336, allocations: 319.5 kB / 1.407 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.387e-05/1.336, allocations: 186 kB / 1.407 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.7e-05/1.336, allocations: 188.2 kB / 1.407 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.552e-05/1.337, allocations: 105.8 kB / 1.408 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.535e-05/1.337, allocations: 176.3 kB / 1.408 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.553e-05/1.337, allocations: 112.9 kB / 1.408 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.549e-05/1.337, allocations: 96.48 kB / 1.408 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/1.337, allocations: 0 / 1.408 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009625/1.338, allocations: 323.5 kB / 1.408 GB, free: 9.918 MB / 0.8698 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 () * 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.001663/1.339, allocations: 1.188 MB / 1.409 GB, free: 8.715 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.416e-05/1.34, allocations: 41.44 kB / 1.409 GB, free: 8.672 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/1.34, allocations: 0 / 1.409 GB, free: 8.672 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.254e-06/1.34, allocations: 3.938 kB / 1.409 GB, free: 8.668 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/1.34, allocations: 0.5258 MB / 1.41 GB, free: 8.141 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006778/1.341, allocations: 351.1 kB / 1.41 GB, free: 7.766 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/1.341, allocations: 0.6848 MB / 1.411 GB, free: 7.055 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.912e-05/1.341, allocations: 8 kB / 1.411 GB, free: 7.047 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/1.341, allocations: 14.12 kB / 1.411 GB, free: 7.039 MB / 0.8698 GB Notification: Performance of SimCode: time 4.31e-07/1.341, allocations: 0 / 1.411 GB, free: 7.039 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0206/1.362, allocations: 6.465 MB / 1.417 GB, free: 0.8086 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003713/1.362, allocations: 234.3 kB / 1.417 GB, free: 0.4961 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.849/3.211, allocations: 0 / 1.417 GB, free: 0.4961 MB / 0.8698 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