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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.00105/0.001049, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001487/0.001487, allocations: 172.7 kB / 15.95 MB, free: 208 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.53/1.53, allocations: 223.2 MB / 240 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.682/2.682, allocations: 409.4 MB / 0.684 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003827/0.0003829, allocations: 8 kB / 0.8378 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7901/0.7905, 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.InternalResistancesOneUTubeNegative): time 0.001513/0.792, allocations: 1.139 MB / 0.9823 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003769/0.7958, allocations: 2.618 MB / 0.9849 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.488e-05/0.7959, allocations: 7.938 kB / 0.9849 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.689e-05/0.7959, allocations: 0 / 0.9849 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.859e-05/0.796, allocations: 15.86 kB / 0.9849 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002941/0.7989, allocations: 1.245 MB / 0.9861 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.446e-05/0.799, allocations: 35.75 kB / 0.9861 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.848e-05/0.7991, allocations: 7.984 kB / 0.9861 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.678e-05/0.7991, allocations: 11.94 kB / 0.9861 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.962e-05/0.7991, allocations: 11.94 kB / 0.9862 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.7991, allocations: 8 kB / 0.9862 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001899/0.8011, allocations: 1.209 MB / 0.9873 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.8011, allocations: 4 kB / 0.9874 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.8011, allocations: 33.64 kB / 0.9874 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.8022, allocations: 0.6884 MB / 0.9881 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.8022, allocations: 4 kB / 0.9881 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8022, allocations: 0 / 0.9881 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.8022, allocations: 0 / 0.9881 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.000728/0.803, allocations: 0.5106 MB / 0.9886 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.803, allocations: 8.031 kB / 0.9886 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.773e-05/0.8031, allocations: 105.8 kB / 0.9887 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.317e-05/0.8032, allocations: 79.28 kB / 0.9887 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.8033, allocations: 251.7 kB / 0.989 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.29e-05/0.8034, allocations: 150.6 kB / 0.9891 GB, free: 14 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.096e-05/0.8035, allocations: 150.6 kB / 0.9893 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.798e-05/0.8036, allocations: 112.9 kB / 0.9894 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/0.8036, allocations: 75.28 kB / 0.9894 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.533e-05/0.8037, allocations: 150.6 kB / 0.9896 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.676e-05/0.8037, allocations: 150.6 kB / 0.9897 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.082e-05/0.8038, allocations: 154.6 kB / 0.9899 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003178/0.8041, allocations: 469.9 kB / 0.9903 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 8.924e-05/0.8042, allocations: 169.1 kB / 0.9905 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.169e-05/0.8042, allocations: 84.14 kB / 0.9906 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.8043, allocations: 75.28 kB / 0.9906 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.878e-05/0.8043, allocations: 117.8 kB / 0.9908 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.8043, allocations: 0 / 0.9908 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 8.056e-05/0.8044, allocations: 33.61 kB / 0.9908 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.8045, allocations: 130.6 kB / 0.9909 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.8046, allocations: 127.4 kB / 0.991 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.8046, allocations: 29.7 kB / 0.9911 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 6.52e-05/0.8047, allocations: 92.12 kB / 0.9912 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.8047, allocations: 0 / 0.9912 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.8047, allocations: 0 / 0.9912 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.8049, allocations: 322.8 kB / 0.9915 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.162e-05/0.8049, allocations: 4 kB / 0.9915 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.592e-05/0.8049, allocations: 7.938 kB / 0.9915 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.937e-05/0.8049, allocations: 8 kB / 0.9915 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8049, allocations: 0 / 0.9915 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000142/0.8051, allocations: 45.59 kB / 0.9915 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.8051, allocations: 8 kB / 0.9915 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.55e-05/0.8052, allocations: 7.953 kB / 0.9915 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.8052, allocations: 3.938 kB / 0.9915 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.096e-06/0.8052, allocations: 4.062 kB / 0.9915 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.8052, allocations: 3.938 kB / 0.9915 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.349e-05/0.8052, allocations: 4 kB / 0.9916 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.8052, allocations: 0 / 0.9916 GB, free: 11.38 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.0001138/0.8054, allocations: 185.1 kB / 0.9917 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.306e-05/0.8054, allocations: 121 kB / 0.9918 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.051e-05/0.8055, allocations: 108.9 kB / 0.9919 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-05/0.8056, allocations: 188.2 kB / 0.9921 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.449e-05/0.8056, allocations: 180.3 kB / 0.9923 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.375e-05/0.8057, allocations: 180.2 kB / 0.9925 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.806, allocations: 413.2 kB / 0.9929 GB, free: 9.934 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.114e-05/0.806, allocations: 101 kB / 0.993 GB, free: 9.828 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.026e-05/0.8061, allocations: 108.9 kB / 0.9931 GB, free: 9.715 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.702e-05/0.8062, allocations: 184.3 kB / 0.9932 GB, free: 9.527 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.412e-05/0.8062, allocations: 180.2 kB / 0.9934 GB, free: 9.344 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.772e-05/0.8063, allocations: 180.2 kB / 0.9936 GB, free: 9.16 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-05/0.8064, allocations: 188.2 kB / 0.9938 GB, free: 8.969 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.8065, allocations: 307.7 kB / 0.9941 GB, free: 8.645 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.898e-05/0.8066, allocations: 186 kB / 0.9942 GB, free: 8.438 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.801e-05/0.8067, allocations: 180.3 kB / 0.9944 GB, free: 8.254 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.642e-05/0.8068, allocations: 108.9 kB / 0.9945 GB, free: 8.141 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.275e-05/0.8069, allocations: 180.2 kB / 0.9947 GB, free: 7.957 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.8069, allocations: 105 kB / 0.9948 GB, free: 7.848 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.952e-05/0.807, allocations: 106.1 kB / 0.9949 GB, free: 7.746 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.807, allocations: 0 / 0.9949 GB, free: 7.746 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008631/0.8079, allocations: 275.8 kB / 0.9951 GB, free: 7.477 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.001582/0.8095, allocations: 1.136 MB / 0.9963 GB, free: 6.312 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 9.634e-05/0.8096, allocations: 41.7 kB / 0.9963 GB, free: 6.266 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.8096, allocations: 0 / 0.9963 GB, free: 6.266 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.224e-06/0.8096, allocations: 0 / 0.9963 GB, free: 6.266 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/0.8101, allocations: 0.5316 MB / 0.9968 GB, free: 5.73 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.8111, allocations: 0.6772 MB / 0.9975 GB, free: 5.004 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.8113, allocations: 0.6809 MB / 0.9981 GB, free: 4.297 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.669e-05/0.8114, allocations: 4 kB / 0.9981 GB, free: 4.293 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/0.8114, allocations: 15.42 kB / 0.9982 GB, free: 4.277 MB / 0.7481 GB Notification: Performance of SimCode: time 5.41e-07/0.8114, allocations: 0 / 0.9982 GB, free: 4.277 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02162/0.833, allocations: 6.638 MB / 1.005 GB, free: 13.9 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002277/0.8333, allocations: 278.6 kB / 1.005 GB, free: 13.54 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.05/2.883, allocations: 6.312 kB / 1.005 GB, free: 13.54 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative_res.mat does not exist to compare? outputFormat=mat