Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000877/0.000877, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009319/0.0009319, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8922/0.8922, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.666/1.666, allocations: 377.9 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_12_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_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.981 GB, free: 2.504 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.57e-05/1.711e-05, allocations: 8.812 kB / 0.981 GB, free: 2.496 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001601/0.001618, allocations: 1.439 MB / 0.9825 GB, free: 1.047 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002595/0.004214, allocations: 2.649 MB / 0.985 GB, free: 14.38 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.697e-05/0.004241, allocations: 3.938 kB / 0.985 GB, free: 14.38 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 1.662e-05/0.004257, allocations: 3.938 kB / 0.985 GB, free: 14.38 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 4.407e-05/0.004301, allocations: 11.86 kB / 0.9851 GB, free: 14.36 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002065/0.006367, allocations: 1.63 MB / 0.9867 GB, free: 12.76 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 6.928e-05/0.006436, allocations: 43.67 kB / 0.9867 GB, free: 12.71 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.264e-05/0.006469, allocations: 4 kB / 0.9867 GB, free: 12.71 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.455e-05/0.006503, allocations: 19.98 kB / 0.9867 GB, free: 12.69 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 1.918e-05/0.006522, allocations: 11.92 kB / 0.9867 GB, free: 12.68 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.006533, allocations: 4 kB / 0.9867 GB, free: 12.68 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.007759, allocations: 1.446 MB / 0.9881 GB, free: 11.23 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.007771, allocations: 8 kB / 0.9882 GB, free: 11.22 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 1.941e-05/0.00779, allocations: 11.92 kB / 0.9882 GB, free: 11.21 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009945/0.008785, allocations: 1.243 MB / 0.9894 GB, free: 9.961 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.008786, allocations: 0 / 0.9894 GB, free: 9.961 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.112e-06/0.008787, allocations: 0 / 0.9894 GB, free: 9.961 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.008792, allocations: 0 / 0.9894 GB, free: 9.961 MB / 0.948 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.0003696/0.009161, allocations: 478.4 kB / 0.9898 GB, free: 9.465 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.009197, allocations: 11.98 kB / 0.9898 GB, free: 9.453 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.617e-05/0.009233, allocations: 110 kB / 0.9899 GB, free: 9.336 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.009275, allocations: 80.22 kB / 0.99 GB, free: 9.258 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.518e-05/0.00936, allocations: 188.9 kB / 0.9902 GB, free: 9.047 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/0.009393, allocations: 150.9 kB / 0.9904 GB, free: 8.898 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.009427, allocations: 154.9 kB / 0.9905 GB, free: 8.746 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.707e-05/0.009474, allocations: 105.5 kB / 0.9906 GB, free: 8.637 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.009491, allocations: 79.45 kB / 0.9907 GB, free: 8.559 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.346e-05/0.009525, allocations: 154.5 kB / 0.9908 GB, free: 8.406 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.948e-05/0.009554, allocations: 158.6 kB / 0.991 GB, free: 8.25 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.31e-05/0.009587, allocations: 154.6 kB / 0.9911 GB, free: 8.098 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.009773, allocations: 433 kB / 0.9915 GB, free: 7.633 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.867e-05/0.009832, allocations: 177.1 kB / 0.9917 GB, free: 7.449 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.161e-05/0.009853, allocations: 84.08 kB / 0.9918 GB, free: 7.363 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.009874, allocations: 75.28 kB / 0.9919 GB, free: 7.289 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.009905, allocations: 109.8 kB / 0.992 GB, free: 7.172 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 7.22e-07/0.009906, allocations: 0 / 0.992 GB, free: 7.172 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 5.203e-05/0.009958, allocations: 37.62 kB / 0.992 GB, free: 7.129 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.009995, allocations: 126.7 kB / 0.9921 GB, free: 6.992 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.713e-05/0.01009, allocations: 133.8 kB / 0.9922 GB, free: 6.852 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.817e-06/0.0101, allocations: 37.58 kB / 0.9923 GB, free: 6.809 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.01014, allocations: 96.08 kB / 0.9924 GB, free: 6.711 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.01014, allocations: 0 / 0.9924 GB, free: 6.711 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.01017, allocations: 21.7 kB / 0.9924 GB, free: 6.684 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.872e-05/0.01023, allocations: 314.8 kB / 0.9927 GB, free: 6.367 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.81e-05/0.01025, allocations: 8 kB / 0.9927 GB, free: 6.359 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.118e-05/0.01026, allocations: 3.984 kB / 0.9927 GB, free: 6.355 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.81e-05/0.01029, allocations: 16.84 kB / 0.9927 GB, free: 6.336 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.01029, allocations: 0 / 0.9927 GB, free: 6.336 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.117e-05/0.01038, allocations: 41.7 kB / 0.9928 GB, free: 6.289 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.0104, allocations: 17.72 kB / 0.9928 GB, free: 6.273 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.01041, allocations: 0 / 0.9928 GB, free: 6.273 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.01042, allocations: 0 / 0.9928 GB, free: 6.273 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.054e-06/0.01042, allocations: 3.938 kB / 0.9928 GB, free: 6.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.01043, allocations: 4 kB / 0.9928 GB, free: 6.266 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.348e-05/0.01044, allocations: 7.938 kB / 0.9928 GB, free: 6.258 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-06/0.01045, allocations: 0 / 0.9928 GB, free: 6.258 MB / 0.948 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.958e-05/0.0105, allocations: 189.1 kB / 0.993 GB, free: 6.062 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.01054, allocations: 101 kB / 0.9931 GB, free: 5.957 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.958e-05/0.01057, allocations: 112.7 kB / 0.9932 GB, free: 5.844 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.515e-05/0.0106, allocations: 188.2 kB / 0.9934 GB, free: 5.652 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.573e-05/0.01064, allocations: 180.3 kB / 0.9935 GB, free: 5.469 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.853e-05/0.01067, allocations: 184.2 kB / 0.9937 GB, free: 5.281 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.01081, allocations: 380.3 kB / 0.9941 GB, free: 4.859 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.12e-05/0.01083, allocations: 101 kB / 0.9942 GB, free: 4.754 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.063e-05/0.01085, allocations: 104.9 kB / 0.9943 GB, free: 4.645 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.983e-05/0.01089, allocations: 184.2 kB / 0.9944 GB, free: 4.457 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.795e-05/0.01094, allocations: 188.1 kB / 0.9946 GB, free: 4.266 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.531e-05/0.01097, allocations: 180.3 kB / 0.9948 GB, free: 4.082 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.472e-05/0.01101, allocations: 188.2 kB / 0.995 GB, free: 3.891 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.835e-05/0.01109, allocations: 303.8 kB / 0.9953 GB, free: 3.57 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.932e-05/0.01119, allocations: 120.9 kB / 0.9954 GB, free: 3.445 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.451e-05/0.01123, allocations: 184.2 kB / 0.9955 GB, free: 3.258 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.23e-05/0.01127, allocations: 105.2 kB / 0.9956 GB, free: 3.148 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.01131, allocations: 180.2 kB / 0.9958 GB, free: 2.965 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.01133, allocations: 105 kB / 0.9959 GB, free: 2.855 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.607e-05/0.01137, allocations: 95.27 kB / 0.996 GB, free: 2.762 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01137, allocations: 0 / 0.996 GB, free: 2.762 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003862/0.01175, allocations: 295 kB / 0.9963 GB, free: 2.473 MB / 0.948 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008231/0.01258, allocations: 1.222 MB / 0.9975 GB, free: 1.223 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.094e-05/0.01265, allocations: 41.64 kB / 0.9975 GB, free: 1.176 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01265, allocations: 0 / 0.9975 GB, free: 1.176 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.01265, allocations: 0 / 0.9975 GB, free: 1.176 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.01291, allocations: 476.5 kB / 0.998 GB, free: 0.7109 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008637/0.01377, allocations: 1.571 MB / 0.9995 GB, free: 15.05 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.008e-05/0.01381, allocations: 71.42 kB / 0.9996 GB, free: 14.96 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.09e-05/0.01382, allocations: 0 / 0.9996 GB, free: 14.96 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.087e-05/0.01384, allocations: 12.5 kB / 0.9996 GB, free: 14.95 MB / 0.9636 GB Notification: Performance of SimCode: time 6.31e-07/0.01384, allocations: 4 kB / 0.9996 GB, free: 14.95 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.0322, allocations: 7.8 MB / 1.007 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.199/7.231, allocations: 9.297 kB / 1.007 GB, free: 7.375 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable x in file Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.csv. Warning: Get data of variable x from file Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.302037321031094]