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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008337/0.0008337, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.0008207/0.0008208, 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.429/1.429, allocations: 223.2 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.472/2.472, allocations: 409.4 MB / 0.684 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003778, allocations: 16 kB / 0.8378 GB, free: 6.422 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8152/0.8156, allocations: 146.8 MB / 0.9812 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001786/0.8175, allocations: 1.147 MB / 0.9823 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004592/0.8221, allocations: 2.661 MB / 0.9849 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.568e-05/0.8222, allocations: 0 / 0.9849 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.252e-05/0.8222, allocations: 0 / 0.9849 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.291e-05/0.8223, allocations: 15.84 kB / 0.9849 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003954/0.8263, allocations: 1.268 MB / 0.9862 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.069e-05/0.8264, allocations: 47.67 kB / 0.9862 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.42e-05/0.8264, allocations: 0 / 0.9862 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.797e-05/0.8265, allocations: 15.92 kB / 0.9862 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.621e-05/0.8265, allocations: 19.92 kB / 0.9862 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.8265, allocations: 11.94 kB / 0.9863 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002436/0.829, allocations: 1.244 MB / 0.9875 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.829, allocations: 4 kB / 0.9875 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 4.8e-05/0.8291, allocations: 33.64 kB / 0.9875 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.8304, allocations: 0.7079 MB / 0.9882 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.8304, allocations: 0 / 0.9882 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.956e-06/0.8304, allocations: 0 / 0.9882 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.8304, allocations: 0 / 0.9882 GB, free: 15.2 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.0007934/0.8312, allocations: 0.5145 MB / 0.9887 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.8313, allocations: 8.031 kB / 0.9887 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.984e-05/0.8314, allocations: 105.8 kB / 0.9888 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.399e-05/0.8314, allocations: 79.28 kB / 0.9889 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.8316, allocations: 250.2 kB / 0.9891 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.819e-05/0.8317, allocations: 154.5 kB / 0.9893 GB, free: 14 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.675e-05/0.8318, allocations: 154.5 kB / 0.9894 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.279e-05/0.8318, allocations: 105 kB / 0.9895 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/0.8319, allocations: 75.28 kB / 0.9896 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.83e-05/0.8319, allocations: 154.6 kB / 0.9897 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-05/0.832, allocations: 150.6 kB / 0.9899 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.076e-05/0.8321, allocations: 154.6 kB / 0.99 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.8324, allocations: 465.9 kB / 0.9905 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 8.448e-05/0.8325, allocations: 169.1 kB / 0.9906 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.335e-05/0.8325, allocations: 80.14 kB / 0.9907 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.8325, allocations: 79.23 kB / 0.9908 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.635e-05/0.8326, allocations: 113.8 kB / 0.9909 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 1.282e-06/0.8326, allocations: 4 kB / 0.9909 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 8.533e-05/0.8327, allocations: 33.59 kB / 0.9909 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.8328, allocations: 130.7 kB / 0.9911 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.8329, allocations: 135.9 kB / 0.9912 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.833, allocations: 25.7 kB / 0.9912 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 5.868e-05/0.833, allocations: 88.14 kB / 0.9913 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.086e-06/0.833, allocations: 0 / 0.9913 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-06/0.833, allocations: 4 kB / 0.9913 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.8332, allocations: 318.8 kB / 0.9916 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.994e-05/0.8332, allocations: 8 kB / 0.9916 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.012e-05/0.8332, allocations: 8 kB / 0.9916 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.283e-05/0.8333, allocations: 8 kB / 0.9916 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.8333, allocations: 0 / 0.9916 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001616/0.8334, allocations: 49.59 kB / 0.9917 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.8335, allocations: 15.89 kB / 0.9917 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-05/0.8335, allocations: 0 / 0.9917 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.8335, allocations: 8.062 kB / 0.9917 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.8335, allocations: 3.938 kB / 0.9917 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.8335, allocations: 0 / 0.9917 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.382e-05/0.8336, allocations: 3.938 kB / 0.9917 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.8336, allocations: 0 / 0.9917 GB, free: 11.37 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.0001047/0.8337, allocations: 189.1 kB / 0.9919 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.439e-05/0.8338, allocations: 112.9 kB / 0.992 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.409e-05/0.8338, allocations: 120.7 kB / 0.9921 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.65e-05/0.8339, allocations: 180.3 kB / 0.9923 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.018e-05/0.834, allocations: 180.3 kB / 0.9924 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.419e-05/0.8341, allocations: 184.2 kB / 0.9926 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.8343, allocations: 409.2 kB / 0.993 GB, free: 9.926 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.533e-05/0.8343, allocations: 108.9 kB / 0.9931 GB, free: 9.812 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.795e-05/0.8344, allocations: 105 kB / 0.9932 GB, free: 9.703 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.325e-05/0.8344, allocations: 176.3 kB / 0.9934 GB, free: 9.523 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.508e-05/0.8345, allocations: 184.2 kB / 0.9936 GB, free: 9.336 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-05/0.8346, allocations: 184.2 kB / 0.9937 GB, free: 9.148 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.635e-05/0.8347, allocations: 180.2 kB / 0.9939 GB, free: 8.965 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.8348, allocations: 307.7 kB / 0.9942 GB, free: 8.641 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.659e-05/0.8349, allocations: 193.9 kB / 0.9944 GB, free: 8.426 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.502e-05/0.835, allocations: 184.3 kB / 0.9946 GB, free: 8.238 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.014e-05/0.8351, allocations: 104.9 kB / 0.9947 GB, free: 8.129 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.532e-05/0.8352, allocations: 184.2 kB / 0.9948 GB, free: 7.941 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.8352, allocations: 109 kB / 0.9949 GB, free: 7.828 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.836e-05/0.8353, allocations: 100.6 kB / 0.995 GB, free: 7.73 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8353, allocations: 0 / 0.995 GB, free: 7.73 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008967/0.8362, allocations: 275.8 kB / 0.9953 GB, free: 7.461 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.001546/0.8377, allocations: 1.137 MB / 0.9964 GB, free: 6.293 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001077/0.8379, allocations: 37.7 kB / 0.9964 GB, free: 6.25 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.8379, allocations: 4 kB / 0.9964 GB, free: 6.246 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 4.208e-06/0.8379, allocations: 3.938 kB / 0.9965 GB, free: 6.242 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004603/0.8383, allocations: 0.5302 MB / 0.997 GB, free: 5.707 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.8395, allocations: 0.6888 MB / 0.9976 GB, free: 4.973 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.8398, allocations: 0.6887 MB / 0.9983 GB, free: 4.258 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.897e-05/0.8398, allocations: 0 / 0.9983 GB, free: 4.258 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.8398, allocations: 19.5 kB / 0.9983 GB, free: 4.238 MB / 0.7481 GB Notification: Performance of SimCode: time 3.11e-07/0.8398, allocations: 0 / 0.9983 GB, free: 4.238 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.8629, allocations: 6.86 MB / 1.005 GB, free: 13.63 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003608/0.8633, allocations: 280 kB / 1.005 GB, free: 13.28 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.985/2.848, allocations: 8 kB / 1.005 GB, free: 13.27 MB / 0.7637 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) Environment - environmentSimulation: 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