Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009254/0.0009254, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009423/0.0009424, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.487/2.487, allocations: 390.3 MB / 0.6653 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003537, allocations: 8 kB / 0.8147 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7805/0.7809, allocations: 142.3 MB / 0.9537 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.001457/0.7824, allocations: 1.074 MB / 0.9547 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002442/0.7849, allocations: 1.623 MB / 0.9563 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.762e-05/0.785, allocations: 0 / 0.9563 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.567e-05/0.7851, allocations: 17.11 kB / 0.9563 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.7852, allocations: 19.88 kB / 0.9563 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002399/0.7876, allocations: 0.9068 MB / 0.9572 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.619e-05/0.7877, allocations: 36.34 kB / 0.9573 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.624e-05/0.7878, allocations: 3.984 kB / 0.9573 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.304e-05/0.7879, allocations: 32.67 kB / 0.9573 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.696e-05/0.788, allocations: 28.09 kB / 0.9573 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.788, allocations: 0.9062 kB / 0.9573 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.7891, allocations: 0.6336 MB / 0.9579 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.242e-05/0.7892, allocations: 70.3 kB / 0.958 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.7893, allocations: 48.23 kB / 0.958 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006731/0.7899, allocations: 0.5466 MB / 0.9586 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.7899, allocations: 5.312 kB / 0.9586 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.79, allocations: 0 / 0.9586 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.217e-06/0.79, allocations: 0 / 0.9586 GB, free: 4.562 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005242/0.7905, allocations: 0.5641 MB / 0.9591 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.7905, allocations: 9.625 kB / 0.9591 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.644e-05/0.7906, allocations: 54.56 kB / 0.9592 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.7906, allocations: 23.97 kB / 0.9592 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.7908, allocations: 211.5 kB / 0.9594 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.7908, allocations: 1.375 kB / 0.9594 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.7908, allocations: 3.938 kB / 0.9594 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.791, allocations: 103.3 kB / 0.9595 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.791, allocations: 3.938 kB / 0.9595 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.791, allocations: 0 / 0.9595 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.791, allocations: 5.328 kB / 0.9595 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.856e-05/0.7911, allocations: 74.84 kB / 0.9596 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002139/0.7913, allocations: 277.4 kB / 0.9599 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.7914, allocations: 124.1 kB / 0.96 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.7915, allocations: 5.062 kB / 0.96 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.524e-05/0.7915, allocations: 31.69 kB / 0.96 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=32): time 1.122e-06/0.7915, allocations: 0 / 0.96 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=32): time 0.0004506/0.7919, allocations: 427.6 kB / 0.9604 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.792, allocations: 56.33 kB / 0.9605 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.7922, allocations: 260.5 kB / 0.9607 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.223e-06/0.7922, allocations: 26.86 kB / 0.9608 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.999e-05/0.7923, allocations: 131 kB / 0.9609 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.017e-05/0.7923, allocations: 102.5 kB / 0.961 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/0.7924, allocations: 0 / 0.961 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.407e-05/0.7924, allocations: 341.1 kB / 0.9613 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.566e-05/0.7925, allocations: 79.42 kB / 0.9614 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.122e-05/0.7926, allocations: 75.67 kB / 0.9615 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.7927, allocations: 103.2 kB / 0.9616 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7927, allocations: 0 / 0.9616 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002249/0.7929, allocations: 226.5 kB / 0.9618 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.793, allocations: 5.969 kB / 0.9618 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.793, allocations: 5.016 kB / 0.9618 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.793, allocations: 0 / 0.9618 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.114e-06/0.793, allocations: 1.5 kB / 0.9618 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.793, allocations: 0 / 0.9618 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.548e-05/0.7931, allocations: 13.3 kB / 0.9618 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.7931, allocations: 1 kB / 0.9618 GB, free: 2.031 MB / 0.7169 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.0001052/0.7932, allocations: 160.2 kB / 0.9619 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.7932, allocations: 23.44 kB / 0.962 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.7935, allocations: 251.7 kB / 0.9622 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.7935, allocations: 0 / 0.9622 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.7935, allocations: 0 / 0.9622 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.7935, allocations: 1.125 kB / 0.9622 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.7937, allocations: 288.9 kB / 0.9625 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.7937, allocations: 9.031 kB / 0.9625 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.7937, allocations: 0 / 0.9625 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.7937, allocations: 5.266 kB / 0.9625 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.7937, allocations: 1.469 kB / 0.9625 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.7937, allocations: 0 / 0.9625 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.7937, allocations: 0 / 0.9625 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.794, allocations: 262.8 kB / 0.9628 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.201e-05/0.794, allocations: 99.11 kB / 0.9628 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.7941, allocations: 9.344 kB / 0.9629 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.935e-05/0.7941, allocations: 0 / 0.9629 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/0.7941, allocations: 5.266 kB / 0.9629 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.7941, allocations: 1.469 kB / 0.9629 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001201/0.7943, allocations: 193.4 kB / 0.963 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7943, allocations: 0 / 0.963 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007021/0.795, allocations: 205.2 kB / 0.9632 GB, free: 1.07 MB / 0.7169 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 (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 Backend phase and start with SimCode phase: time 0.001024/0.796, allocations: 1.016 MB / 0.9642 GB, free: 312 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003226/0.7963, allocations: 267.8 kB / 0.9645 GB, free: 188 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7963, allocations: 0.9062 kB / 0.9645 GB, free: 188 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.7965, allocations: 173.9 kB / 0.9647 GB, free: 100 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.7967, allocations: 18.7 kB / 0.9647 GB, free: 88 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.7988, allocations: 1.556 MB / 0.9662 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.7992, allocations: 0.7752 MB / 0.9669 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.205e-05/0.7992, allocations: 10.19 kB / 0.967 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.6e-05/0.7993, allocations: 58.44 kB / 0.967 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of SimCode: time 6.11e-07/0.7993, allocations: 1.031 kB / 0.967 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.023/0.8223, allocations: 7.369 MB / 0.9742 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002352/0.8226, allocations: 273.8 kB / 0.9745 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.94/2.762, allocations: 6.578 kB / 0.9745 GB, free: 10.52 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_res.mat does not exist to compare? outputFormat=mat