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.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.0007814/0.0007814, 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.0008433/0.0008433, allocations: 170.3 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.8801/0.8801, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.741/1.741, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.955e-06/2.955e-06, allocations: 0 / 0.9998 GB, free: 13.4 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.379e-05/3.675e-05, allocations: 2.281 kB / 0.9998 GB, free: 13.4 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003458/0.003495, allocations: 1.435 MB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003574/0.007069, allocations: 2.673 MB / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.714e-05/0.007116, allocations: 0 / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.238e-05/0.007139, allocations: 7.922 kB / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.483e-05/0.007193, allocations: 15.86 kB / 1.004 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002252/0.009445, allocations: 1.653 MB / 1.005 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.223e-05/0.009518, allocations: 55.61 kB / 1.005 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.571e-05/0.009553, allocations: 3.906 kB / 1.005 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.378e-05/0.009587, allocations: 15.98 kB / 1.005 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.053e-05/0.009608, allocations: 23.92 kB / 1.006 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.009618, allocations: 0 / 1.006 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.01085, allocations: 1.493 MB / 1.007 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.966e-06/0.01086, allocations: 3.938 kB / 1.007 GB, free: 6.008 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.796e-05/0.01088, allocations: 11.94 kB / 1.007 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0009349/0.01182, allocations: 1.267 MB / 1.008 GB, free: 4.727 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.01182, allocations: 4 kB / 1.008 GB, free: 4.723 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.222e-06/0.01182, allocations: 3.938 kB / 1.008 GB, free: 4.719 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.01183, allocations: 0 / 1.008 GB, free: 4.719 MB / 0.9636 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.0004028/0.01223, allocations: 480 kB / 1.009 GB, free: 4.219 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.01227, allocations: 8.031 kB / 1.009 GB, free: 4.211 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.726e-05/0.0123, allocations: 106 kB / 1.009 GB, free: 4.098 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.01235, allocations: 84.17 kB / 1.009 GB, free: 4.016 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.111e-05/0.01244, allocations: 194.7 kB / 1.009 GB, free: 3.801 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.845e-05/0.01251, allocations: 154.9 kB / 1.009 GB, free: 3.648 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.01254, allocations: 150.9 kB / 1.009 GB, free: 3.5 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.542e-05/0.01259, allocations: 101.5 kB / 1.009 GB, free: 3.395 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.0126, allocations: 75.47 kB / 1.01 GB, free: 3.32 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.383e-05/0.01264, allocations: 158.5 kB / 1.01 GB, free: 3.164 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.108e-05/0.01267, allocations: 154.5 kB / 1.01 GB, free: 3.012 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.229e-05/0.0127, allocations: 158.5 kB / 1.01 GB, free: 2.855 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002573/0.01296, allocations: 441 kB / 1.01 GB, free: 2.383 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.627e-05/0.01301, allocations: 173.1 kB / 1.011 GB, free: 2.203 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.058e-05/0.01303, allocations: 80.14 kB / 1.011 GB, free: 2.121 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.01305, allocations: 75.28 kB / 1.011 GB, free: 2.047 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.01308, allocations: 113.8 kB / 1.011 GB, free: 1.926 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 6.62e-07/0.01308, allocations: 0 / 1.011 GB, free: 1.926 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 5.358e-05/0.01314, allocations: 33.59 kB / 1.011 GB, free: 1.887 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.01317, allocations: 130.7 kB / 1.011 GB, free: 1.746 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.469e-05/0.01327, allocations: 129.8 kB / 1.011 GB, free: 1.609 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.01328, allocations: 29.7 kB / 1.011 GB, free: 1.574 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.365e-05/0.01331, allocations: 92.12 kB / 1.011 GB, free: 1.48 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.01331, allocations: 0 / 1.011 GB, free: 1.48 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.01334, allocations: 17.72 kB / 1.011 GB, free: 1.457 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.922e-05/0.01341, allocations: 322.8 kB / 1.012 GB, free: 1.133 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.712e-05/0.01343, allocations: 0 / 1.012 GB, free: 1.133 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.018e-05/0.01344, allocations: 4 kB / 1.012 GB, free: 1.129 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.219e-05/0.01347, allocations: 24.86 kB / 1.012 GB, free: 1.102 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01347, allocations: 0 / 1.012 GB, free: 1.102 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.181e-05/0.01356, allocations: 53.64 kB / 1.012 GB, free: 1.043 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.01357, allocations: 10.12 kB / 1.012 GB, free: 1.035 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.01359, allocations: 8.062 kB / 1.012 GB, free: 1.027 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.0136, allocations: 0 / 1.012 GB, free: 1.027 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-07/0.0136, allocations: 0 / 1.012 GB, free: 1.027 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.01361, allocations: 0 / 1.012 GB, free: 1.027 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.392e-05/0.01362, allocations: 7.891 kB / 1.012 GB, free: 1.02 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.01363, allocations: 4 kB / 1.012 GB, free: 1.016 MB / 0.9636 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 0.0001946/0.01382, allocations: 185.1 kB / 1.012 GB, free: 0.8242 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.01385, allocations: 108.9 kB / 1.012 GB, free: 0.7109 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.329e-05/0.01389, allocations: 116.7 kB / 1.012 GB, free: 0.5898 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-05/0.01392, allocations: 180.2 kB / 1.012 GB, free: 416 kB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.771e-05/0.01396, allocations: 180.3 kB / 1.012 GB, free: 228 kB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-05/0.014, allocations: 184.3 kB / 1.013 GB, free: 36 kB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.01414, allocations: 388.2 kB / 1.013 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.008e-05/0.01416, allocations: 101 kB / 1.013 GB, free: 15.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.093e-05/0.01418, allocations: 108.9 kB / 1.013 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-05/0.01422, allocations: 180.3 kB / 1.013 GB, free: 15.2 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/0.01426, allocations: 184.2 kB / 1.013 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.543e-05/0.01429, allocations: 184.2 kB / 1.014 GB, free: 14.83 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.573e-05/0.01433, allocations: 184.3 kB / 1.014 GB, free: 14.64 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.297e-05/0.01441, allocations: 307.7 kB / 1.014 GB, free: 14.32 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 3.038e-05/0.01444, allocations: 120.9 kB / 1.014 GB, free: 14.19 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.01449, allocations: 184.1 kB / 1.014 GB, free: 14 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.44e-05/0.01453, allocations: 105.3 kB / 1.015 GB, free: 13.89 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.01457, allocations: 180.2 kB / 1.015 GB, free: 13.71 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.01459, allocations: 105 kB / 1.015 GB, free: 13.6 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 3.807e-05/0.01463, allocations: 107.2 kB / 1.015 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.01463, allocations: 0 / 1.015 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003797/0.01501, allocations: 295 kB / 1.015 GB, free: 13.21 MB / 0.9792 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.001137/0.01615, allocations: 1.237 MB / 1.016 GB, free: 11.94 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 7.459e-05/0.01622, allocations: 33.7 kB / 1.016 GB, free: 11.9 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01622, allocations: 0 / 1.016 GB, free: 11.9 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.01623, allocations: 0 / 1.016 GB, free: 11.9 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.01649, allocations: 467.7 kB / 1.017 GB, free: 11.44 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008932/0.01739, allocations: 1.593 MB / 1.018 GB, free: 9.766 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.874e-05/0.01743, allocations: 67.33 kB / 1.018 GB, free: 9.68 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 1.004e-05/0.01744, allocations: 0 / 1.018 GB, free: 9.68 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.01746, allocations: 16.5 kB / 1.018 GB, free: 9.664 MB / 0.9792 GB Notification: Performance of SimCode: time 3.71e-07/0.01746, allocations: 0 / 1.018 GB, free: 9.664 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01902/0.03648, allocations: 8.014 MB / 1.026 GB, free: 1.879 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.735/6.771, allocations: 14.84 kB / 1.026 GB, free: 1.871 MB / 0.9792 GB " [Timeout remaining time 293] (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/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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.788985381834209]