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.MultipoleThermalResistances_OneUTube.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.MultipoleThermalResistances_OneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",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.334/2.334, allocations: 390.3 MB / 402.8 MB, free: 6.66 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.001244/0.001243, allocations: 176.8 kB / 496.1 MB, free: 12.84 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.772/1.772, allocations: 221.3 MB / 0.7915 GB, free: 5.352 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.001082/0.001082, allocations: 87.77 kB / 0.9317 GB, free: 5.664 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.717e-05/3.721e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3306, allocations: 143 MB / 1.219 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.007/1.338, allocations: 162.4 MB / 1.377 GB, free: 7.719 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/1.338, allocations: 119.4 kB / 1.378 GB, free: 7.641 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02448/1.363, allocations: 8.015 MB / 1.385 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.394e-06/1.363, allocations: 0 / 1.385 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.226e-05/1.363, allocations: 0 / 1.385 GB, free: 0.5234 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009568/1.364, allocations: 486.2 kB / 1.386 GB, free: 12 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.448e-05/1.364, allocations: 8.031 kB / 1.386 GB, free: 4 kB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.106e-05/1.364, allocations: 37.69 kB / 1.386 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/1.364, allocations: 11.86 kB / 1.386 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/1.364, allocations: 184.2 kB / 1.386 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.472e-06/1.364, allocations: 0 / 1.386 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/1.364, allocations: 0 / 1.386 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/1.365, allocations: 57.44 kB / 1.386 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/1.365, allocations: 0 / 1.386 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/1.365, allocations: 0 / 1.386 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/1.365, allocations: 4 kB / 1.386 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.647e-05/1.365, allocations: 31.42 kB / 1.386 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002328/1.365, allocations: 182.8 kB / 1.386 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.241e-05/1.365, allocations: 49.12 kB / 1.386 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.769e-05/1.365, allocations: 39.19 kB / 1.386 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/1.365, allocations: 0 / 1.386 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/1.365, allocations: 34.5 kB / 1.387 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/1.365, allocations: 0 / 1.387 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0001998/1.365, allocations: 95.59 kB / 1.387 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/1.365, allocations: 55.34 kB / 1.387 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/1.366, allocations: 142.1 kB / 1.387 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/1.366, allocations: 25.7 kB / 1.387 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.697e-05/1.366, allocations: 98.95 kB / 1.387 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/1.366, allocations: 30.81 kB / 1.387 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/1.366, allocations: 0 / 1.387 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001489/1.366, allocations: 326.1 kB / 1.387 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.567e-05/1.366, allocations: 27.11 kB / 1.387 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.165e-05/1.366, allocations: 27.05 kB / 1.387 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.415e-05/1.366, allocations: 28.28 kB / 1.387 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.366, allocations: 0 / 1.387 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001254/1.366, allocations: 97.44 kB / 1.387 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/1.366, allocations: 9.469 kB / 1.387 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/1.366, allocations: 4 kB / 1.387 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/1.366, allocations: 3.984 kB / 1.387 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/1.366, allocations: 0 / 1.387 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/1.366, allocations: 0 / 1.387 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.349e-05/1.366, allocations: 7.844 kB / 1.387 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/1.366, allocations: 4 kB / 1.387 GB, free: 14.32 MB / 0.8542 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 7.904e-05/1.366, allocations: 104.9 kB / 1.388 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/1.366, allocations: 7.906 kB / 1.388 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/1.367, allocations: 213 kB / 1.388 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.818e-05/1.367, allocations: 176.3 kB / 1.388 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.182e-05/1.367, allocations: 184.2 kB / 1.388 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-05/1.367, allocations: 176.3 kB / 1.388 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/1.367, allocations: 447.3 kB / 1.389 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.92e-05/1.367, allocations: 105 kB / 1.389 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.43e-05/1.367, allocations: 101 kB / 1.389 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.497e-05/1.367, allocations: 180.2 kB / 1.389 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-05/1.367, allocations: 180.3 kB / 1.389 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.509e-05/1.368, allocations: 187.3 kB / 1.389 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.891e-05/1.368, allocations: 176.3 kB / 1.39 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/1.368, allocations: 323.5 kB / 1.39 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/1.368, allocations: 221.6 kB / 1.39 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.635e-05/1.368, allocations: 184.2 kB / 1.39 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.747e-05/1.368, allocations: 101 kB / 1.39 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.451e-05/1.368, allocations: 188.3 kB / 1.391 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.585e-05/1.368, allocations: 108.9 kB / 1.391 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002378/1.369, allocations: 259.2 kB / 1.391 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/1.369, allocations: 0 / 1.391 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008163/1.369, allocations: 246.8 kB / 1.391 GB, free: 10.4 MB / 0.8542 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.001183/1.371, allocations: 1.079 MB / 1.392 GB, free: 9.305 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001217/1.371, allocations: 64.62 kB / 1.392 GB, free: 9.242 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.371, allocations: 3.938 kB / 1.392 GB, free: 9.238 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.316e-06/1.371, allocations: 7.938 kB / 1.392 GB, free: 9.23 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/1.371, allocations: 0.5287 MB / 1.393 GB, free: 8.703 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005741/1.372, allocations: 340.5 kB / 1.393 GB, free: 8.336 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/1.372, allocations: 0.7082 MB / 1.394 GB, free: 7.602 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.923e-05/1.372, allocations: 3.859 kB / 1.394 GB, free: 7.598 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/1.372, allocations: 24.36 kB / 1.394 GB, free: 7.586 MB / 0.8542 GB Notification: Performance of SimCode: time 5.41e-07/1.372, allocations: 0 / 1.394 GB, free: 7.586 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01896/1.391, allocations: 5.652 MB / 1.399 GB, free: 2.152 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002405/1.391, allocations: 242.5 kB / 1.4 GB, free: 1.816 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.988/3.379, allocations: 3.562 kB / 1.4 GB, free: 1.816 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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.MultipoleThermalResistances_OneUTube_res.mat does not exist to compare? outputFormat=mat