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.InternalResistancesTwoUTube.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.0008736/0.0008736, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001111/0.001111, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.878/0.878, allocations: 177.2 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.714/1.714, allocations: 377.9 MB / 0.6221 GB, free: 8.676 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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 0.9811 GB, free: 2.496 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.399e-05/1.566e-05, allocations: 4.953 kB / 0.9811 GB, free: 2.492 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001609/0.001625, allocations: 1.45 MB / 0.9825 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002761/0.004386, allocations: 2.668 MB / 0.9851 GB, free: 14.35 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.963e-05/0.004416, allocations: 0 / 0.9851 GB, free: 14.35 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 2.072e-05/0.004437, allocations: 11.92 kB / 0.9851 GB, free: 14.34 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 5.234e-05/0.004489, allocations: 15.86 kB / 0.9851 GB, free: 14.32 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002418/0.006907, allocations: 1.654 MB / 0.9867 GB, free: 12.69 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 7.001e-05/0.006977, allocations: 47.67 kB / 0.9868 GB, free: 12.64 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.204e-05/0.007009, allocations: 0 / 0.9868 GB, free: 12.64 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.631e-05/0.007045, allocations: 23.91 kB / 0.9868 GB, free: 12.62 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.082e-05/0.007066, allocations: 12 kB / 0.9868 GB, free: 12.61 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.007077, allocations: 0 / 0.9868 GB, free: 12.61 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.008399, allocations: 1.493 MB / 0.9883 GB, free: 11.11 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.008411, allocations: 3.938 kB / 0.9883 GB, free: 11.11 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 1.902e-05/0.00843, allocations: 11.98 kB / 0.9883 GB, free: 11.1 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009925/0.009422, allocations: 1.278 MB / 0.9895 GB, free: 9.816 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.009424, allocations: 0 / 0.9895 GB, free: 9.816 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.71e-07/0.009425, allocations: 0 / 0.9895 GB, free: 9.816 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.00943, allocations: 4 kB / 0.9895 GB, free: 9.812 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.0003959/0.009826, allocations: 473.9 kB / 0.99 GB, free: 9.32 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.009861, allocations: 11.98 kB / 0.99 GB, free: 9.309 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.511e-05/0.009896, allocations: 106 kB / 0.9901 GB, free: 9.195 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.445e-05/0.009941, allocations: 88.17 kB / 0.9902 GB, free: 9.109 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.055e-05/0.01003, allocations: 189 kB / 0.9904 GB, free: 8.898 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.748e-05/0.01007, allocations: 158.9 kB / 0.9905 GB, free: 8.742 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/0.01011, allocations: 150.9 kB / 0.9907 GB, free: 8.594 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.841e-05/0.01015, allocations: 105.5 kB / 0.9908 GB, free: 8.484 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.01017, allocations: 75.47 kB / 0.9908 GB, free: 8.41 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.807e-05/0.01021, allocations: 154.5 kB / 0.991 GB, free: 8.258 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.335e-05/0.01024, allocations: 154.6 kB / 0.9911 GB, free: 8.105 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.729e-05/0.01028, allocations: 158.5 kB / 0.9913 GB, free: 7.949 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001981/0.01048, allocations: 429 kB / 0.9917 GB, free: 7.488 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.108e-05/0.01054, allocations: 173.1 kB / 0.9918 GB, free: 7.309 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.252e-05/0.01056, allocations: 84.14 kB / 0.9919 GB, free: 7.223 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.01058, allocations: 79.28 kB / 0.992 GB, free: 7.145 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.01061, allocations: 105.8 kB / 0.9921 GB, free: 7.031 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 5.91e-07/0.01061, allocations: 0 / 0.9921 GB, free: 7.031 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 5.648e-05/0.01067, allocations: 41.58 kB / 0.9921 GB, free: 6.984 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.01071, allocations: 126.7 kB / 0.9923 GB, free: 6.848 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.01081, allocations: 141.5 kB / 0.9924 GB, free: 6.699 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.01082, allocations: 25.7 kB / 0.9924 GB, free: 6.668 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.56e-05/0.01085, allocations: 100 kB / 0.9925 GB, free: 6.566 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.01086, allocations: 0 / 0.9925 GB, free: 6.566 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.01088, allocations: 29.64 kB / 0.9925 GB, free: 6.531 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.872e-05/0.01095, allocations: 310.8 kB / 0.9928 GB, free: 6.219 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.981e-05/0.01097, allocations: 12 kB / 0.9929 GB, free: 6.207 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.161e-05/0.01098, allocations: 4 kB / 0.9929 GB, free: 6.203 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.392e-05/0.01102, allocations: 20.84 kB / 0.9929 GB, free: 6.18 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01102, allocations: 0 / 0.9929 GB, free: 6.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.639e-05/0.01111, allocations: 45.66 kB / 0.9929 GB, free: 6.129 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.01113, allocations: 13.81 kB / 0.9929 GB, free: 6.117 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.01114, allocations: 4 kB / 0.9929 GB, free: 6.113 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.01116, allocations: 0 / 0.9929 GB, free: 6.113 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-07/0.01116, allocations: 0 / 0.9929 GB, free: 6.113 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.01116, allocations: 8 kB / 0.9929 GB, free: 6.105 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.454e-05/0.01118, allocations: 3.984 kB / 0.9929 GB, free: 6.102 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.01118, allocations: 4 kB / 0.993 GB, free: 6.098 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 0.0003442/0.01153, allocations: 181.1 kB / 0.9931 GB, free: 5.91 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.01156, allocations: 112.9 kB / 0.9932 GB, free: 5.793 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.343e-05/0.0116, allocations: 108.7 kB / 0.9933 GB, free: 5.684 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.963e-05/0.01164, allocations: 188.2 kB / 0.9935 GB, free: 5.492 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.97e-05/0.01168, allocations: 176.3 kB / 0.9937 GB, free: 5.312 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-05/0.01171, allocations: 184.2 kB / 0.9939 GB, free: 5.125 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.01187, allocations: 380.3 kB / 0.9942 GB, free: 4.703 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-05/0.0119, allocations: 109 kB / 0.9943 GB, free: 4.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.639e-05/0.01192, allocations: 108.9 kB / 0.9944 GB, free: 4.477 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.314e-05/0.01197, allocations: 176.3 kB / 0.9946 GB, free: 4.297 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.724e-05/0.01201, allocations: 188.1 kB / 0.9948 GB, free: 4.105 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.05e-05/0.01205, allocations: 184.3 kB / 0.995 GB, free: 3.918 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.345e-05/0.0121, allocations: 180.3 kB / 0.9951 GB, free: 3.734 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.125e-05/0.01219, allocations: 311.8 kB / 0.9954 GB, free: 3.406 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.01223, allocations: 112.9 kB / 0.9955 GB, free: 3.289 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.347e-05/0.01228, allocations: 184.2 kB / 0.9957 GB, free: 3.102 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.978e-05/0.01233, allocations: 105.2 kB / 0.9958 GB, free: 2.992 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.837e-05/0.01239, allocations: 188.2 kB / 0.996 GB, free: 2.801 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.01241, allocations: 101 kB / 0.9961 GB, free: 2.695 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.575e-05/0.01246, allocations: 99.27 kB / 0.9962 GB, free: 2.598 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01246, allocations: 4 kB / 0.9962 GB, free: 2.594 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000458/0.01292, allocations: 298.8 kB / 0.9965 GB, free: 2.301 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.0009247/0.01384, allocations: 1.235 MB / 0.9977 GB, free: 1.035 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.786e-05/0.01392, allocations: 37.7 kB / 0.9977 GB, free: 0.9922 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01392, allocations: 3.938 kB / 0.9977 GB, free: 0.9883 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.01392, allocations: 0 / 0.9977 GB, free: 0.9883 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.0142, allocations: 478.8 kB / 0.9982 GB, free: 0.5195 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009835/0.01518, allocations: 1.579 MB / 0.9997 GB, free: 14.86 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.525e-05/0.01523, allocations: 79.62 kB / 0.9998 GB, free: 14.76 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.216e-05/0.01524, allocations: 0 / 0.9998 GB, free: 14.76 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.642e-05/0.01526, allocations: 20.48 kB / 0.9998 GB, free: 14.74 MB / 0.9636 GB Notification: Performance of SimCode: time 4.71e-07/0.01526, allocations: 0 / 0.9998 GB, free: 14.74 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.019/0.03427, allocations: 7.988 MB / 1.008 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.035/7.069, allocations: 28.05 kB / 1.008 GB, free: 6.961 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_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_InternalResistancesTwoUTube.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube_res.csv. Warning: Get data of variable x from file Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.228869955055416]