Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001333/0.001333, allocations: 114.5 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001541/0.001541, allocations: 217.2 kB / 22.25 MB, free: 5.082 MB / 14.72 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 1.391/1.391, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.7/2.7, allocations: 476.8 MB / 0.7707 GB, free: 4.227 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 72.09 kB / 1.117 GB, free: 39.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.283, allocations: 170 MB / 1.283 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002604/0.2856, allocations: 1.472 MB / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004585/0.2902, allocations: 2.954 MB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.791e-05/0.2902, allocations: 0 / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.789e-05/0.2903, allocations: 11.92 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.788e-05/0.2903, allocations: 11.88 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004287/0.2946, allocations: 1.684 MB / 1.289 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.889e-05/0.2947, allocations: 39.73 kB / 1.289 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.606e-05/0.2947, allocations: 4 kB / 1.289 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.78e-05/0.2948, allocations: 15.92 kB / 1.29 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.971e-05/0.2948, allocations: 19.92 kB / 1.29 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.997e-06/0.2948, allocations: 3.938 kB / 1.29 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002495/0.2973, allocations: 1.708 MB / 1.291 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.2973, allocations: 11.92 kB / 1.291 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.198e-05/0.2974, allocations: 19.88 kB / 1.291 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.2989, allocations: 1.121 MB / 1.292 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.2989, allocations: 0 / 1.292 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2989, allocations: 0 / 1.292 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.2989, allocations: 0 / 1.292 GB, free: 2.246 MB / 0.9825 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.0006424/0.2995, allocations: 476 kB / 1.293 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.2996, allocations: 8.031 kB / 1.293 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.497e-05/0.2996, allocations: 106 kB / 1.293 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.409e-05/0.2997, allocations: 84.22 kB / 1.293 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.2999, allocations: 197.7 kB / 1.293 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.057e-05/0.2999, allocations: 150.9 kB / 1.293 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-05/0.3, allocations: 158.9 kB / 1.293 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.62e-05/0.3001, allocations: 108.9 kB / 1.294 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.353e-05/0.3001, allocations: 79.22 kB / 1.294 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.934e-05/0.3002, allocations: 154.6 kB / 1.294 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.668e-05/0.3002, allocations: 150.6 kB / 1.294 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.412e-05/0.3003, allocations: 150.6 kB / 1.294 GB, free: 392 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.3007, allocations: 433 kB / 1.294 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.3008, allocations: 181.1 kB / 1.295 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.94e-05/0.3008, allocations: 84.08 kB / 1.295 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.222e-05/0.3008, allocations: 79.22 kB / 1.295 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.841e-05/0.3009, allocations: 109.8 kB / 1.295 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.3009, allocations: 0 / 1.295 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.198e-05/0.301, allocations: 29.7 kB / 1.295 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/0.3011, allocations: 130.7 kB / 1.295 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.3012, allocations: 133.7 kB / 1.295 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.3012, allocations: 25.7 kB / 1.295 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.867e-05/0.3013, allocations: 96.12 kB / 1.295 GB, free: 15 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-06/0.3013, allocations: 0 / 1.295 GB, free: 15 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.3013, allocations: 13.72 kB / 1.295 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3015, allocations: 318.8 kB / 1.296 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.621e-05/0.3015, allocations: 11.94 kB / 1.296 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.633e-05/0.3015, allocations: 8 kB / 1.296 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.446e-05/0.3016, allocations: 12.89 kB / 1.296 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3016, allocations: 0 / 1.296 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001239/0.3017, allocations: 57.58 kB / 1.296 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3017, allocations: 6.031 kB / 1.296 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/0.3017, allocations: 4 kB / 1.296 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3017, allocations: 0 / 1.296 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.3017, allocations: 0 / 1.296 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3017, allocations: 3.984 kB / 1.296 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.202e-05/0.3018, allocations: 4.062 kB / 1.296 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.3018, allocations: 4 kB / 1.296 GB, free: 14.55 MB / 0.9981 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.0001229/0.3019, allocations: 185.1 kB / 1.296 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-05/0.302, allocations: 112.9 kB / 1.296 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.3021, allocations: 112.8 kB / 1.296 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.758e-05/0.3022, allocations: 184.2 kB / 1.296 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.262e-05/0.3022, allocations: 184.3 kB / 1.296 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.806e-05/0.3023, allocations: 180.2 kB / 1.297 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003077/0.3026, allocations: 392.2 kB / 1.297 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.798e-05/0.3027, allocations: 105 kB / 1.297 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.282e-05/0.3028, allocations: 104.9 kB / 1.297 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.423e-05/0.3028, allocations: 176.3 kB / 1.297 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.577e-05/0.3029, allocations: 188.2 kB / 1.298 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.421e-05/0.303, allocations: 184.2 kB / 1.298 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.627e-05/0.3031, allocations: 176.3 kB / 1.298 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.3033, allocations: 307.7 kB / 1.298 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.3034, allocations: 116.9 kB / 1.298 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.967e-05/0.3035, allocations: 184.2 kB / 1.298 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.065e-05/0.3035, allocations: 105 kB / 1.299 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.516e-05/0.3036, allocations: 184.2 kB / 1.299 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.355e-05/0.3037, allocations: 101 kB / 1.299 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.855e-05/0.3037, allocations: 95.27 kB / 1.299 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3037, allocations: 4 kB / 1.299 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008417/0.3046, allocations: 295 kB / 1.299 GB, free: 10.75 MB / 0.9981 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.001447/0.306, allocations: 1.182 MB / 1.3 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.915e-05/0.3061, allocations: 37.7 kB / 1.3 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.3061, allocations: 0 / 1.3 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.033e-06/0.3061, allocations: 0 / 1.3 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.3065, allocations: 463.6 kB / 1.301 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.308, allocations: 1.59 MB / 1.302 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.3084, allocations: 0.6884 MB / 1.303 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.478e-05/0.3084, allocations: 4 kB / 1.303 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.547e-05/0.3084, allocations: 11.44 kB / 1.303 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/0.3084, allocations: 0 / 1.303 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03642/0.3448, allocations: 7.171 MB / 1.31 GB, free: 15.66 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.08, allocations: 0.75 kB / 1.31 GB, free: 15.66 MB / 1.014 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.csv. Warning: Get data of variable x from file Buildings_11_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: 17.52327522199994]