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/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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001271/0.001271, allocations: 168.7 kB / 15.95 MB, free: 204 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.443/1.443, allocations: 223.2 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.484/2.484, allocations: 409.4 MB / 0.684 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003307/0.0003308, allocations: 12 kB / 0.8378 GB, free: 6.422 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.799/0.7994, allocations: 146.8 MB / 0.9812 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001577/0.801, allocations: 1.151 MB / 0.9823 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004251/0.8053, allocations: 2.661 MB / 0.9849 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.703e-05/0.8053, allocations: 0 / 0.9849 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.807e-05/0.8053, allocations: 3.938 kB / 0.9849 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.995e-05/0.8054, allocations: 15.84 kB / 0.9849 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003182/0.8086, allocations: 1.253 MB / 0.9862 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.043e-05/0.8087, allocations: 43.73 kB / 0.9862 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5e-05/0.8088, allocations: 0 / 0.9862 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.643e-05/0.8088, allocations: 19.92 kB / 0.9862 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.325e-05/0.8088, allocations: 15.92 kB / 0.9862 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.8089, allocations: 4 kB / 0.9862 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002059/0.8109, allocations: 1.248 MB / 0.9875 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 1.828e-05/0.811, allocations: 7.938 kB / 0.9875 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 4.453e-05/0.811, allocations: 29.7 kB / 0.9875 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.8121, allocations: 0.7079 MB / 0.9882 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.8121, allocations: 3.938 kB / 0.9882 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8121, allocations: 0 / 0.9882 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.8121, allocations: 0 / 0.9882 GB, free: 15.07 MB / 0.7481 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.0005296/0.8126, allocations: 0.5116 MB / 0.9887 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.8127, allocations: 8.031 kB / 0.9887 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.826e-05/0.8127, allocations: 113.8 kB / 0.9888 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.906e-05/0.8128, allocations: 83.28 kB / 0.9889 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.813, allocations: 247.5 kB / 0.9891 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.877e-05/0.8131, allocations: 150.6 kB / 0.9893 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.79e-05/0.8131, allocations: 154.5 kB / 0.9894 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.309e-05/0.8132, allocations: 101 kB / 0.9895 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.571e-05/0.8132, allocations: 75.28 kB / 0.9896 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.766e-05/0.8133, allocations: 158.5 kB / 0.9897 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-05/0.8134, allocations: 158.6 kB / 0.9899 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.005e-05/0.8134, allocations: 150.6 kB / 0.99 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002926/0.8137, allocations: 461.9 kB / 0.9905 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 8.348e-05/0.8138, allocations: 173.1 kB / 0.9906 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.999e-05/0.8138, allocations: 80.14 kB / 0.9907 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/0.8139, allocations: 87.11 kB / 0.9908 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.8139, allocations: 105.8 kB / 0.9909 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.8139, allocations: 4 kB / 0.9909 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 8.346e-05/0.814, allocations: 33.59 kB / 0.9909 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.8141, allocations: 138.7 kB / 0.9911 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.8142, allocations: 131.4 kB / 0.9912 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.8143, allocations: 25.7 kB / 0.9912 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 5.256e-05/0.8143, allocations: 92.12 kB / 0.9913 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/0.8143, allocations: 0 / 0.9913 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.8143, allocations: 0 / 0.9913 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.8145, allocations: 318.8 kB / 0.9916 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.186e-05/0.8145, allocations: 4 kB / 0.9916 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.55e-05/0.8145, allocations: 11.94 kB / 0.9916 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.927e-05/0.8145, allocations: 11.98 kB / 0.9916 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.8146, allocations: 0 / 0.9916 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000134/0.8147, allocations: 45.61 kB / 0.9917 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.8147, allocations: 11.95 kB / 0.9917 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/0.8147, allocations: 3.984 kB / 0.9917 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.8148, allocations: 4 kB / 0.9917 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.273e-06/0.8148, allocations: 0 / 0.9917 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.8148, allocations: 0 / 0.9917 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.052e-05/0.8148, allocations: 0 / 0.9917 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.8148, allocations: 4.062 kB / 0.9917 GB, free: 11.25 MB / 0.7481 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.0001102/0.8149, allocations: 193 kB / 0.9919 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.01e-05/0.815, allocations: 108.8 kB / 0.992 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.41e-05/0.8151, allocations: 116.8 kB / 0.9921 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.916e-05/0.8151, allocations: 176.3 kB / 0.9923 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.599e-05/0.8152, allocations: 192.2 kB / 0.9924 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.804e-05/0.8153, allocations: 176.3 kB / 0.9926 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.8155, allocations: 413.2 kB / 0.993 GB, free: 9.801 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.394e-05/0.8156, allocations: 105 kB / 0.9931 GB, free: 9.691 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.528e-05/0.8156, allocations: 101 kB / 0.9932 GB, free: 9.586 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-05/0.8157, allocations: 184.2 kB / 0.9934 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.426e-05/0.8158, allocations: 184.3 kB / 0.9936 GB, free: 9.211 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.92e-05/0.8158, allocations: 192.2 kB / 0.9937 GB, free: 9.016 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.206e-05/0.8159, allocations: 176.3 kB / 0.9939 GB, free: 8.836 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.8161, allocations: 311.6 kB / 0.9942 GB, free: 8.508 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.131e-05/0.8162, allocations: 194 kB / 0.9944 GB, free: 8.293 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.995e-05/0.8163, allocations: 184.2 kB / 0.9946 GB, free: 8.105 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.133e-05/0.8163, allocations: 101 kB / 0.9947 GB, free: 8 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.595e-05/0.8164, allocations: 196.1 kB / 0.9948 GB, free: 7.801 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/0.8165, allocations: 101 kB / 0.9949 GB, free: 7.695 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.04e-05/0.8166, allocations: 102.1 kB / 0.995 GB, free: 7.598 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8166, allocations: 0 / 0.995 GB, free: 7.598 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006798/0.8172, allocations: 275.8 kB / 0.9953 GB, free: 7.328 MB / 0.7481 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 (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.001249/0.8185, allocations: 1.14 MB / 0.9964 GB, free: 6.156 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001224/0.8186, allocations: 37.7 kB / 0.9964 GB, free: 6.113 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8187, allocations: 0 / 0.9964 GB, free: 6.113 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.824e-06/0.8187, allocations: 4.062 kB / 0.9965 GB, free: 6.109 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/0.8191, allocations: 0.5341 MB / 0.997 GB, free: 5.57 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008746/0.82, allocations: 0.6904 MB / 0.9976 GB, free: 4.832 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.8203, allocations: 0.6848 MB / 0.9983 GB, free: 4.121 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.459e-05/0.8203, allocations: 0 / 0.9983 GB, free: 4.121 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.8203, allocations: 19.5 kB / 0.9983 GB, free: 4.102 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.8203, allocations: 4 kB / 0.9983 GB, free: 4.098 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/0.8401, allocations: 6.852 MB / 1.005 GB, free: 13.49 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/0.8403, allocations: 274.9 kB / 1.005 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.013/2.854, allocations: 0 / 1.005 GB, free: 13.14 MB / 0.7637 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) Environment - environmentSimulation: 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