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.0008238/0.0008238, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.0008665/0.0008665, allocations: 165.9 kB / 22.46 MB, free: 2.102 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.8576/0.8576, 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.687/1.687, allocations: 377.8 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.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.643e-06/1.643e-06, allocations: 0 / 0.981 GB, free: 2.5 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/2.027e-05, allocations: 6.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.InternalResistancesOneUTubeNegative): time 0.001713/0.001733, allocations: 1.448 MB / 0.9825 GB, free: 1.035 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002772/0.004505, allocations: 2.637 MB / 0.985 GB, free: 14.38 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.826e-05/0.004543, allocations: 0 / 0.985 GB, free: 14.38 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 2.019e-05/0.004563, allocations: 7.922 kB / 0.9851 GB, free: 14.38 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 5.103e-05/0.004614, allocations: 15.81 kB / 0.9851 GB, free: 14.36 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002644/0.007259, allocations: 1.624 MB / 0.9867 GB, free: 12.76 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 7.266e-05/0.007331, allocations: 39.75 kB / 0.9867 GB, free: 12.72 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.52e-05/0.007367, allocations: 3.984 kB / 0.9867 GB, free: 12.71 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.726e-05/0.007404, allocations: 19.92 kB / 0.9867 GB, free: 12.7 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.163e-05/0.007425, allocations: 12 kB / 0.9867 GB, free: 12.68 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.007438, allocations: 4 kB / 0.9867 GB, free: 12.68 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.008924, allocations: 1.458 MB / 0.9882 GB, free: 11.22 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.164e-05/0.008936, allocations: 4 kB / 0.9882 GB, free: 11.21 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.00896, allocations: 15.92 kB / 0.9882 GB, free: 11.2 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.0101, allocations: 1.239 MB / 0.9894 GB, free: 9.957 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.0101, allocations: 0 / 0.9894 GB, free: 9.957 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.313e-06/0.0101, allocations: 0 / 0.9894 GB, free: 9.957 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.01011, allocations: 0 / 0.9894 GB, free: 9.957 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.0004092/0.01052, allocations: 472 kB / 0.9898 GB, free: 9.465 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.01055, allocations: 11.98 kB / 0.9898 GB, free: 9.453 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.905e-05/0.01059, allocations: 114 kB / 0.99 GB, free: 9.332 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/0.01064, allocations: 80.22 kB / 0.99 GB, free: 9.254 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.307e-05/0.01072, allocations: 191.6 kB / 0.9902 GB, free: 9.043 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.66e-05/0.01075, allocations: 158.9 kB / 0.9904 GB, free: 8.887 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/0.01079, allocations: 154.9 kB / 0.9905 GB, free: 8.734 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.443e-05/0.01084, allocations: 101.5 kB / 0.9906 GB, free: 8.629 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.01085, allocations: 75.47 kB / 0.9907 GB, free: 8.555 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.562e-05/0.01089, allocations: 158.5 kB / 0.9908 GB, free: 8.398 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.15e-05/0.01092, allocations: 154.6 kB / 0.991 GB, free: 8.246 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.516e-05/0.01096, allocations: 150.6 kB / 0.9911 GB, free: 8.098 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001884/0.01114, allocations: 448.9 kB / 0.9915 GB, free: 7.617 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.318e-05/0.01121, allocations: 173.1 kB / 0.9917 GB, free: 7.438 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.6e-05/0.01123, allocations: 80.14 kB / 0.9918 GB, free: 7.355 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.01125, allocations: 75.28 kB / 0.9919 GB, free: 7.281 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.01128, allocations: 105.8 kB / 0.992 GB, free: 7.168 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.01128, allocations: 4 kB / 0.992 GB, free: 7.164 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 5.646e-05/0.01134, allocations: 33.58 kB / 0.992 GB, free: 7.125 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.01139, allocations: 126.7 kB / 0.9921 GB, free: 6.988 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.0115, allocations: 137.8 kB / 0.9923 GB, free: 6.844 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.01151, allocations: 29.64 kB / 0.9923 GB, free: 6.809 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.101e-05/0.01155, allocations: 92.06 kB / 0.9924 GB, free: 6.715 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.01155, allocations: 4 kB / 0.9924 GB, free: 6.711 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.01158, allocations: 21.72 kB / 0.9924 GB, free: 6.684 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.288e-05/0.01165, allocations: 318.8 kB / 0.9927 GB, free: 6.363 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.753e-05/0.01167, allocations: 4 kB / 0.9927 GB, free: 6.359 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.12e-05/0.01168, allocations: 4 kB / 0.9927 GB, free: 6.355 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.985e-05/0.01171, allocations: 12.86 kB / 0.9927 GB, free: 6.34 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.01171, allocations: 0 / 0.9927 GB, free: 6.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.746e-05/0.01181, allocations: 49.66 kB / 0.9928 GB, free: 6.285 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.01182, allocations: 11.94 kB / 0.9928 GB, free: 6.273 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.01184, allocations: 0 / 0.9928 GB, free: 6.273 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.948e-06/0.01185, allocations: 8.062 kB / 0.9928 GB, free: 6.266 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.01185, allocations: 0 / 0.9928 GB, free: 6.266 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.01185, allocations: 0 / 0.9928 GB, free: 6.266 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.412e-05/0.01187, allocations: 3.953 kB / 0.9928 GB, free: 6.262 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.01187, allocations: 0 / 0.9928 GB, free: 6.262 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.357e-05/0.01194, allocations: 189.1 kB / 0.993 GB, free: 6.066 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.61e-05/0.01197, allocations: 112.9 kB / 0.9931 GB, free: 5.949 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.284e-05/0.012, allocations: 112.7 kB / 0.9932 GB, free: 5.836 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.27e-05/0.01205, allocations: 180.3 kB / 0.9934 GB, free: 5.652 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.2e-05/0.01209, allocations: 180.3 kB / 0.9935 GB, free: 5.469 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.915e-05/0.01213, allocations: 184.2 kB / 0.9937 GB, free: 5.281 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.01227, allocations: 384.3 kB / 0.9941 GB, free: 4.855 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.558e-05/0.01229, allocations: 104.9 kB / 0.9942 GB, free: 4.746 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.687e-05/0.01232, allocations: 105 kB / 0.9943 GB, free: 4.637 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.376e-05/0.01236, allocations: 184.2 kB / 0.9944 GB, free: 4.449 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.427e-05/0.01241, allocations: 184.2 kB / 0.9946 GB, free: 4.262 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.035e-05/0.01245, allocations: 180.3 kB / 0.9948 GB, free: 4.078 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.62e-05/0.01249, allocations: 184.2 kB / 0.995 GB, free: 3.891 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.415e-05/0.01259, allocations: 307.8 kB / 0.9953 GB, free: 3.566 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.161e-05/0.01262, allocations: 108.9 kB / 0.9954 GB, free: 3.453 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.835e-05/0.01267, allocations: 188.2 kB / 0.9955 GB, free: 3.262 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.698e-05/0.01272, allocations: 109.2 kB / 0.9956 GB, free: 3.148 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.01276, allocations: 176.3 kB / 0.9958 GB, free: 2.969 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/0.01278, allocations: 108.9 kB / 0.9959 GB, free: 2.855 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.293e-05/0.01283, allocations: 109.4 kB / 0.996 GB, free: 2.75 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01283, allocations: 0 / 0.996 GB, free: 2.75 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004691/0.0133, allocations: 291 kB / 0.9963 GB, free: 2.465 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.000857/0.01415, allocations: 1.21 MB / 0.9975 GB, free: 1.223 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.984e-05/0.01422, allocations: 37.64 kB / 0.9975 GB, free: 1.18 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01422, allocations: 11.88 kB / 0.9975 GB, free: 1.168 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.01422, allocations: 0 / 0.9975 GB, free: 1.168 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.01448, allocations: 460.4 kB / 0.998 GB, free: 0.7148 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009082/0.01539, allocations: 1.577 MB / 0.9995 GB, free: 15.05 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.333e-05/0.01543, allocations: 63.34 kB / 0.9996 GB, free: 14.97 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.226e-05/0.01544, allocations: 4.094 kB / 0.9996 GB, free: 14.97 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.01547, allocations: 20.48 kB / 0.9996 GB, free: 14.95 MB / 0.9636 GB Notification: Performance of SimCode: time 7.91e-07/0.01547, allocations: 3.938 kB / 0.9996 GB, free: 14.95 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/0.03429, allocations: 7.812 MB / 1.007 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.949/6.983, allocations: 3.984 kB / 1.007 GB, free: 7.371 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] "" Variables in the reference:time,Rgb,Rgg,RCondGro,x Variables in the result:RCondGro,Rb,Rgb,Rgg,cpMed,eTub,hSeg,kFil,kMed,kSoi,kTub,m_flow_nominal,muMed,rBor,rTub,sha,time,x [Calling sys.exit(0), Time elapsed: 10.934529627673328]