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.InternalResistancesOneUTube.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.0008389/0.0008389, 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.0008378/0.0008378, 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.9005/0.9005, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.708/1.708, allocations: 377.8 MB / 0.6221 GB, free: 8.648 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.InternalResistancesOneUTube,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.9811 GB, free: 2.496 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.486e-05/1.651e-05, allocations: 2.281 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.InternalResistancesOneUTube): time 0.001884/0.0019, allocations: 1.442 MB / 0.9825 GB, free: 1.043 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002783/0.004683, allocations: 2.641 MB / 0.985 GB, free: 14.39 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.928e-05/0.004712, allocations: 4 kB / 0.985 GB, free: 14.38 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 1.929e-05/0.004731, allocations: 7.922 kB / 0.9851 GB, free: 14.38 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 4.799e-05/0.004779, allocations: 11.92 kB / 0.9851 GB, free: 14.36 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002281/0.00706, allocations: 1.618 MB / 0.9866 GB, free: 12.76 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 6.866e-05/0.007129, allocations: 47.67 kB / 0.9867 GB, free: 12.71 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.087e-05/0.00716, allocations: 0 / 0.9867 GB, free: 12.71 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.405e-05/0.007194, allocations: 19.98 kB / 0.9867 GB, free: 12.7 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.096e-05/0.007215, allocations: 11.94 kB / 0.9867 GB, free: 12.68 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.007225, allocations: 0 / 0.9867 GB, free: 12.68 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.008534, allocations: 1.458 MB / 0.9881 GB, free: 11.22 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.008545, allocations: 0 / 0.9881 GB, free: 11.22 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.164e-05/0.008567, allocations: 15.94 kB / 0.9882 GB, free: 11.21 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.009752, allocations: 1.243 MB / 0.9894 GB, free: 9.961 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.009753, allocations: 0 / 0.9894 GB, free: 9.961 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.072e-06/0.009754, allocations: 0 / 0.9894 GB, free: 9.961 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.009759, 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.000379/0.01014, allocations: 472 kB / 0.9898 GB, free: 9.469 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.01017, allocations: 15.98 kB / 0.9898 GB, free: 9.453 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.674e-05/0.01021, allocations: 110 kB / 0.9899 GB, free: 9.336 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.01025, allocations: 76.22 kB / 0.99 GB, free: 9.262 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.147e-05/0.01035, allocations: 204.9 kB / 0.9902 GB, free: 9.035 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.527e-05/0.01038, allocations: 150.9 kB / 0.9904 GB, free: 8.887 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/0.01042, allocations: 150.9 kB / 0.9905 GB, free: 8.738 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.625e-05/0.01046, allocations: 101.5 kB / 0.9906 GB, free: 8.633 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.01048, allocations: 79.47 kB / 0.9907 GB, free: 8.555 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.4e-05/0.01051, allocations: 154.5 kB / 0.9908 GB, free: 8.402 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.174e-05/0.01055, allocations: 150.6 kB / 0.991 GB, free: 8.254 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.454e-05/0.01058, allocations: 158.5 kB / 0.9911 GB, free: 8.098 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001889/0.01077, allocations: 444.9 kB / 0.9915 GB, free: 7.621 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.847e-05/0.01083, allocations: 169.1 kB / 0.9917 GB, free: 7.445 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.331e-05/0.01085, allocations: 84.14 kB / 0.9918 GB, free: 7.359 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.01087, allocations: 79.28 kB / 0.9919 GB, free: 7.281 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.0109, allocations: 109.8 kB / 0.992 GB, free: 7.164 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 6.51e-07/0.0109, allocations: 0 / 0.992 GB, free: 7.164 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 5.342e-05/0.01096, allocations: 33.58 kB / 0.992 GB, free: 7.125 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.011, allocations: 134.7 kB / 0.9921 GB, free: 6.98 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.0111, allocations: 132.1 kB / 0.9922 GB, free: 6.844 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.836e-06/0.01111, allocations: 25.7 kB / 0.9923 GB, free: 6.812 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.024e-05/0.01115, allocations: 100 kB / 0.9924 GB, free: 6.711 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-06/0.01115, allocations: 0 / 0.9924 GB, free: 6.711 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.356e-05/0.01118, allocations: 13.72 kB / 0.9924 GB, free: 6.691 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.523e-05/0.01125, allocations: 322.8 kB / 0.9927 GB, free: 6.367 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.94e-05/0.01127, allocations: 8 kB / 0.9927 GB, free: 6.359 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.274e-05/0.01129, allocations: 8 kB / 0.9927 GB, free: 6.352 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.061e-05/0.01132, allocations: 12.8 kB / 0.9927 GB, free: 6.336 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.01132, allocations: 0 / 0.9927 GB, free: 6.336 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.974e-05/0.01142, allocations: 49.69 kB / 0.9928 GB, free: 6.281 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.01143, allocations: 7.938 kB / 0.9928 GB, free: 6.273 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.01145, allocations: 4 kB / 0.9928 GB, free: 6.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.01146, allocations: 0 / 0.9928 GB, free: 6.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.01146, allocations: 0 / 0.9928 GB, free: 6.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.01146, allocations: 4.062 kB / 0.9928 GB, free: 6.266 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.316e-05/0.01148, allocations: 3.953 kB / 0.9928 GB, free: 6.262 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.01148, allocations: 4 kB / 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 6.472e-05/0.01155, allocations: 181.1 kB / 0.993 GB, free: 6.07 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.01158, allocations: 112.9 kB / 0.9931 GB, free: 5.953 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.176e-05/0.01161, allocations: 112.7 kB / 0.9932 GB, free: 5.84 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-05/0.01165, allocations: 180.3 kB / 0.9933 GB, free: 5.656 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-05/0.0117, allocations: 180.2 kB / 0.9935 GB, free: 5.473 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.819e-05/0.01173, allocations: 180.2 kB / 0.9937 GB, free: 5.289 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.01188, allocations: 388.2 kB / 0.9941 GB, free: 4.859 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.782e-05/0.01191, allocations: 109 kB / 0.9942 GB, free: 4.746 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-05/0.01193, allocations: 101 kB / 0.9943 GB, free: 4.641 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.221e-05/0.01197, allocations: 180.2 kB / 0.9944 GB, free: 4.457 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.594e-05/0.01202, allocations: 192.1 kB / 0.9946 GB, free: 4.262 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-05/0.01206, allocations: 180.2 kB / 0.9948 GB, free: 4.078 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.123e-05/0.0121, allocations: 184.3 kB / 0.995 GB, free: 3.891 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.611e-05/0.01219, allocations: 307.7 kB / 0.9953 GB, free: 3.566 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002931/0.01249, allocations: 112.9 kB / 0.9954 GB, free: 3.449 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.01253, allocations: 184.1 kB / 0.9955 GB, free: 3.262 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.678e-05/0.01258, allocations: 105.3 kB / 0.9956 GB, free: 3.152 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.01262, allocations: 184.2 kB / 0.9958 GB, free: 2.965 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.01265, allocations: 105 kB / 0.9959 GB, free: 2.855 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.368e-05/0.01269, allocations: 101.8 kB / 0.996 GB, free: 2.758 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01269, allocations: 0 / 0.996 GB, free: 2.758 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004416/0.01313, allocations: 295 kB / 0.9963 GB, free: 2.469 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.0008454/0.01398, allocations: 1.217 MB / 0.9975 GB, free: 1.223 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.626e-05/0.01405, allocations: 33.7 kB / 0.9975 GB, free: 1.184 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01405, allocations: 12 kB / 0.9975 GB, free: 1.172 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.01406, allocations: 0 / 0.9975 GB, free: 1.172 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.01432, allocations: 462.4 kB / 0.998 GB, free: 0.7188 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009245/0.01525, allocations: 1.582 MB / 0.9995 GB, free: 15.05 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.804e-05/0.01528, allocations: 63.34 kB / 0.9996 GB, free: 14.97 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.103e-05/0.0153, allocations: 0 / 0.9996 GB, free: 14.97 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.34e-05/0.01532, allocations: 28.52 kB / 0.9996 GB, free: 14.94 MB / 0.9636 GB Notification: Performance of SimCode: time 5.71e-07/0.01532, allocations: 0 / 0.9996 GB, free: 14.94 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/0.03305, allocations: 7.799 MB / 1.007 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.809/6.842, allocations: 4.484 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.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.810463931411505]