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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.272/2.272, allocations: 390.3 MB / 402.8 MB, free: 6.719 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.001401/0.001401, 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.631/1.631, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.0009361/0.0009362, allocations: 87.91 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.547e-05/3.559e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3062, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.01/1.316, allocations: 171 MB / 1.386 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/1.317, allocations: 119.8 kB / 1.386 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.0473/1.364, allocations: 15.4 MB / 1.401 GB, free: 1.688 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.124e-06/1.364, allocations: 4 kB / 1.401 GB, free: 1.684 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.947e-06/1.364, allocations: 0 / 1.401 GB, free: 1.684 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.00114/1.365, allocations: 0.5561 MB / 1.402 GB, free: 1.094 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/1.365, allocations: 8.031 kB / 1.402 GB, free: 1.086 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.72e-05/1.365, allocations: 109.8 kB / 1.402 GB, free: 0.9688 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.018e-05/1.365, allocations: 83.23 kB / 1.402 GB, free: 0.8867 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/1.366, allocations: 251.8 kB / 1.402 GB, free: 0.6016 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.348e-05/1.366, allocations: 154.6 kB / 1.402 GB, free: 460 kB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.445e-05/1.366, allocations: 154.6 kB / 1.402 GB, free: 304 kB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.635e-05/1.366, allocations: 104.3 kB / 1.402 GB, free: 196 kB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/1.366, allocations: 79.22 kB / 1.402 GB, free: 116 kB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-05/1.366, allocations: 150.6 kB / 1.403 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.855e-05/1.366, allocations: 154.5 kB / 1.403 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.429e-05/1.366, allocations: 154.6 kB / 1.403 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/1.366, allocations: 464.4 kB / 1.403 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/1.367, allocations: 172.8 kB / 1.404 GB, free: 14.99 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.679e-05/1.367, allocations: 84.08 kB / 1.404 GB, free: 14.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/1.367, allocations: 79.28 kB / 1.404 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.162e-05/1.367, allocations: 109.8 kB / 1.404 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/1.367, allocations: 0 / 1.404 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 7.611e-05/1.367, allocations: 37.55 kB / 1.404 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/1.367, allocations: 126.7 kB / 1.404 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/1.367, allocations: 123.8 kB / 1.404 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/1.367, allocations: 25.7 kB / 1.404 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.684e-05/1.367, allocations: 95.27 kB / 1.404 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/1.367, allocations: 0 / 1.404 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/1.367, allocations: 0 / 1.404 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.367, allocations: 318.5 kB / 1.404 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.375e-05/1.367, allocations: 7.938 kB / 1.404 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.562e-05/1.367, allocations: 6.938 kB / 1.404 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.766e-05/1.367, allocations: 4 kB / 1.404 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.367, allocations: 3.938 kB / 1.404 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001203/1.367, allocations: 53.22 kB / 1.405 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/1.367, allocations: 8.062 kB / 1.405 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/1.367, allocations: 4 kB / 1.405 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/1.367, allocations: 0 / 1.405 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/1.367, allocations: 0 / 1.405 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/1.367, allocations: 0 / 1.405 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.094e-05/1.368, allocations: 3.938 kB / 1.405 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/1.368, allocations: 7.953 kB / 1.405 GB, free: 13.88 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 0.0001009/1.368, allocations: 176.3 kB / 1.405 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.987e-05/1.368, allocations: 116.8 kB / 1.405 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.458e-05/1.368, allocations: 108.6 kB / 1.405 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.541e-05/1.368, allocations: 184.3 kB / 1.405 GB, free: 13.26 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.899e-05/1.368, allocations: 183.4 kB / 1.405 GB, free: 13.08 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-05/1.368, allocations: 176.3 kB / 1.405 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/1.368, allocations: 424.2 kB / 1.406 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.916e-05/1.368, allocations: 105 kB / 1.406 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.185e-05/1.368, allocations: 104.9 kB / 1.406 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.205e-05/1.369, allocations: 180.2 kB / 1.406 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.411e-05/1.369, allocations: 180.3 kB / 1.406 GB, free: 11.85 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.683e-05/1.369, allocations: 184.2 kB / 1.407 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.59e-05/1.369, allocations: 180.3 kB / 1.407 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/1.369, allocations: 311 kB / 1.407 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/1.369, allocations: 193.1 kB / 1.407 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/1.369, allocations: 184.3 kB / 1.407 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.361e-05/1.369, allocations: 106 kB / 1.408 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.195e-05/1.369, allocations: 184.2 kB / 1.408 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.147e-05/1.369, allocations: 105 kB / 1.408 GB, free: 10.35 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.24e-05/1.37, allocations: 103.6 kB / 1.408 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.31e-07/1.37, allocations: 0 / 1.408 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001276/1.371, allocations: 325.8 kB / 1.408 GB, free: 9.945 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.001545/1.372, allocations: 1.191 MB / 1.409 GB, free: 8.738 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001098/1.373, allocations: 42.83 kB / 1.409 GB, free: 8.695 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.373, allocations: 0 / 1.409 GB, free: 8.695 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/1.373, allocations: 0 / 1.409 GB, free: 8.695 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/1.373, allocations: 0.5262 MB / 1.41 GB, free: 8.168 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005906/1.374, allocations: 345.6 kB / 1.41 GB, free: 7.797 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/1.374, allocations: 0.6887 MB / 1.411 GB, free: 7.082 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.419e-05/1.374, allocations: 0 / 1.411 GB, free: 7.082 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/1.374, allocations: 15.38 kB / 1.411 GB, free: 7.07 MB / 0.8698 GB Notification: Performance of SimCode: time 2.41e-07/1.374, allocations: 0 / 1.411 GB, free: 7.07 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02094/1.395, allocations: 6.47 MB / 1.417 GB, free: 0.8242 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002341/1.395, allocations: 252.8 kB / 1.417 GB, free: 492 kB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/3.28, allocations: 4 kB / 1.417 GB, free: 488 kB / 0.8698 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative_res.mat does not exist to compare? outputFormat=mat