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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.313/2.313, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001479/0.001479, allocations: 180.8 kB / 496.1 MB, free: 12.88 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.616/1.616, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.001209/0.001209, allocations: 87.89 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.929e-05/3.957e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3037, allocations: 143 MB / 1.219 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9571/1.261, allocations: 170.2 MB / 1.385 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/1.261, allocations: 115.7 kB / 1.385 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.04612/1.307, allocations: 15.08 MB / 1.4 GB, free: 2.727 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.693e-06/1.307, allocations: 4 kB / 1.4 GB, free: 2.723 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.554e-06/1.307, allocations: 4 kB / 1.4 GB, free: 2.719 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.0008703/1.308, allocations: 0.5437 MB / 1.401 GB, free: 2.141 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/1.308, allocations: 12.03 kB / 1.401 GB, free: 2.129 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.878e-05/1.308, allocations: 105.8 kB / 1.401 GB, free: 2.016 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.044e-05/1.308, allocations: 83.14 kB / 1.401 GB, free: 1.934 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/1.309, allocations: 254.2 kB / 1.401 GB, free: 1.645 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.505e-05/1.309, allocations: 154.6 kB / 1.401 GB, free: 1.492 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.299e-05/1.309, allocations: 154.5 kB / 1.401 GB, free: 1.34 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.319e-05/1.309, allocations: 104.9 kB / 1.401 GB, free: 1.234 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/1.309, allocations: 75.28 kB / 1.401 GB, free: 1.16 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.974e-05/1.309, allocations: 150.6 kB / 1.402 GB, free: 1.012 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.489e-05/1.309, allocations: 154.5 kB / 1.402 GB, free: 0.8594 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.255e-05/1.309, allocations: 158.6 kB / 1.402 GB, free: 0.7031 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002883/1.309, allocations: 461.2 kB / 1.402 GB, free: 216 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.029e-05/1.309, allocations: 169.1 kB / 1.402 GB, free: 36 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.846e-05/1.309, allocations: 80.14 kB / 1.403 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.768e-05/1.31, allocations: 79.28 kB / 1.403 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/1.31, allocations: 109.2 kB / 1.403 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/1.31, allocations: 0 / 1.403 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 6.91e-05/1.31, allocations: 41.53 kB / 1.403 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/1.31, allocations: 126.7 kB / 1.403 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/1.31, allocations: 121.5 kB / 1.403 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/1.31, allocations: 29.7 kB / 1.403 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.181e-05/1.31, allocations: 87.7 kB / 1.403 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/1.31, allocations: 4 kB / 1.403 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-06/1.31, allocations: 0 / 1.403 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001134/1.31, allocations: 318 kB / 1.403 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.978e-05/1.31, allocations: 4 kB / 1.403 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.346e-05/1.31, allocations: 4 kB / 1.403 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.129e-05/1.31, allocations: 7.938 kB / 1.403 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/1.31, allocations: 7.875 kB / 1.403 GB, free: 15 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001152/1.31, allocations: 53.66 kB / 1.403 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/1.31, allocations: 4 kB / 1.403 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/1.31, allocations: 11.94 kB / 1.404 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/1.31, allocations: 0 / 1.404 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/1.31, allocations: 0 / 1.404 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/1.31, allocations: 0 / 1.404 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/1.31, allocations: 4 kB / 1.404 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/1.31, allocations: 3.953 kB / 1.404 GB, free: 14.92 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 8.497e-05/1.31, allocations: 179.9 kB / 1.404 GB, free: 14.74 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.885e-05/1.311, allocations: 112.9 kB / 1.404 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.426e-05/1.311, allocations: 112.6 kB / 1.404 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.077e-05/1.311, allocations: 184.4 kB / 1.404 GB, free: 14.31 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.881e-05/1.311, allocations: 179.6 kB / 1.404 GB, free: 14.13 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.111e-05/1.311, allocations: 180.2 kB / 1.404 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/1.311, allocations: 420.7 kB / 1.405 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.554e-05/1.311, allocations: 108 kB / 1.405 GB, free: 13.37 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.217e-05/1.311, allocations: 101 kB / 1.405 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-05/1.311, allocations: 176.3 kB / 1.405 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.958e-05/1.311, allocations: 184.2 kB / 1.405 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.165e-05/1.311, allocations: 176.3 kB / 1.406 GB, free: 12.72 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.691e-05/1.311, allocations: 188.2 kB / 1.406 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/1.312, allocations: 303.6 kB / 1.406 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.246e-05/1.312, allocations: 189.9 kB / 1.406 GB, free: 12 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.519e-05/1.312, allocations: 183.5 kB / 1.406 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.069e-05/1.312, allocations: 113.9 kB / 1.406 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.16e-05/1.312, allocations: 176.3 kB / 1.407 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.539e-05/1.312, allocations: 101 kB / 1.407 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.469e-05/1.312, allocations: 99.23 kB / 1.407 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/1.312, allocations: 7.938 kB / 1.407 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009105/1.313, allocations: 313.7 kB / 1.407 GB, free: 11.02 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.001263/1.314, allocations: 1.194 MB / 1.408 GB, free: 9.809 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.783e-05/1.314, allocations: 37.69 kB / 1.408 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.314, allocations: 3.875 kB / 1.408 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.537e-06/1.314, allocations: 4 kB / 1.408 GB, free: 9.762 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/1.315, allocations: 0.5186 MB / 1.409 GB, free: 9.238 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005103/1.315, allocations: 341.2 kB / 1.409 GB, free: 8.871 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/1.315, allocations: 0.6848 MB / 1.41 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.29e-05/1.316, allocations: 3.938 kB / 1.41 GB, free: 8.156 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/1.316, allocations: 27.11 kB / 1.41 GB, free: 8.137 MB / 0.8698 GB Notification: Performance of SimCode: time 1.573e-06/1.316, allocations: 0 / 1.41 GB, free: 8.137 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01867/1.334, allocations: 6.313 MB / 1.416 GB, free: 2.043 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002408/1.335, allocations: 260.1 kB / 1.416 GB, free: 1.695 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/3.221, allocations: 0 / 1.416 GB, free: 1.695 MB / 0.8698 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative_res.mat does not exist to compare? outputFormat=mat