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.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.0008363/0.0008363, 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.000935/0.000935, allocations: 165.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.8818/0.8818, 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 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.671/1.671, allocations: 377.8 MB / 0.6221 GB, free: 8.668 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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_12_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_12_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 1.443e-06/1.443e-06, allocations: 0 / 0.981 GB, free: 2.5 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.307e-05/1.451e-05, allocations: 6.281 kB / 0.981 GB, free: 2.492 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001735/0.00175, allocations: 1.454 MB / 0.9825 GB, free: 1.027 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002826/0.004576, allocations: 2.672 MB / 0.9851 GB, free: 14.34 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.845e-05/0.004605, allocations: 0 / 0.9851 GB, free: 14.34 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 1.779e-05/0.004622, allocations: 3.938 kB / 0.9851 GB, free: 14.34 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 4.811e-05/0.00467, allocations: 19.78 kB / 0.9851 GB, free: 14.32 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002276/0.006946, allocations: 1.651 MB / 0.9867 GB, free: 12.69 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 7.07e-05/0.007017, allocations: 47.67 kB / 0.9868 GB, free: 12.64 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.792e-05/0.007055, allocations: 11.98 kB / 0.9868 GB, free: 12.63 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.532e-05/0.00709, allocations: 15.92 kB / 0.9868 GB, free: 12.61 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 1.895e-05/0.007109, allocations: 8 kB / 0.9868 GB, free: 12.61 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.007122, allocations: 8 kB / 0.9868 GB, free: 12.6 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.008444, allocations: 1.493 MB / 0.9883 GB, free: 11.1 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.008454, allocations: 4 kB / 0.9883 GB, free: 11.1 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.008477, allocations: 7.938 kB / 0.9883 GB, free: 11.09 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.009668, allocations: 1.278 MB / 0.9895 GB, free: 9.809 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.00967, allocations: 0 / 0.9895 GB, free: 9.809 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.62e-07/0.009671, allocations: 0 / 0.9895 GB, free: 9.809 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.009675, allocations: 0 / 0.9895 GB, free: 9.809 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.0003995/0.01007, allocations: 472 kB / 0.99 GB, free: 9.316 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.01011, allocations: 15.98 kB / 0.99 GB, free: 9.301 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.972e-05/0.01015, allocations: 114 kB / 0.9901 GB, free: 9.18 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.485e-05/0.0102, allocations: 80.17 kB / 0.9902 GB, free: 9.102 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.0103, allocations: 199.9 kB / 0.9904 GB, free: 8.883 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.475e-05/0.01035, allocations: 150.9 kB / 0.9905 GB, free: 8.734 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.093e-05/0.01039, allocations: 154.9 kB / 0.9907 GB, free: 8.582 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.416e-05/0.01044, allocations: 101.5 kB / 0.9907 GB, free: 8.477 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.01046, allocations: 79.47 kB / 0.9908 GB, free: 8.398 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.844e-05/0.0105, allocations: 154.5 kB / 0.991 GB, free: 8.246 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.408e-05/0.01053, allocations: 150.6 kB / 0.9911 GB, free: 8.098 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.687e-05/0.01057, allocations: 162.5 kB / 0.9913 GB, free: 7.938 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002164/0.01079, allocations: 437 kB / 0.9917 GB, free: 7.469 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.389e-05/0.01085, allocations: 165.1 kB / 0.9918 GB, free: 7.297 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.279e-05/0.01087, allocations: 80.14 kB / 0.9919 GB, free: 7.215 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.01089, allocations: 75.28 kB / 0.992 GB, free: 7.141 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.01093, allocations: 121.8 kB / 0.9921 GB, free: 7.012 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 6.21e-07/0.01093, allocations: 0 / 0.9921 GB, free: 7.012 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 5.839e-05/0.01098, allocations: 41.53 kB / 0.9921 GB, free: 6.965 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.01103, allocations: 126.7 kB / 0.9923 GB, free: 6.828 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.01113, allocations: 137.5 kB / 0.9924 GB, free: 6.684 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.01114, allocations: 25.7 kB / 0.9924 GB, free: 6.652 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.56e-05/0.01118, allocations: 100.1 kB / 0.9925 GB, free: 6.551 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-06/0.01118, allocations: 0 / 0.9925 GB, free: 6.551 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/0.0112, allocations: 17.72 kB / 0.9925 GB, free: 6.527 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.2e-05/0.01127, allocations: 318.8 kB / 0.9928 GB, free: 6.207 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.068e-05/0.0113, allocations: 8 kB / 0.9928 GB, free: 6.199 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.124e-05/0.01131, allocations: 4 kB / 0.9929 GB, free: 6.195 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.956e-05/0.01134, allocations: 12.86 kB / 0.9929 GB, free: 6.18 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.01134, allocations: 0 / 0.9929 GB, free: 6.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.798e-05/0.01144, allocations: 57.58 kB / 0.9929 GB, free: 6.117 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.01145, allocations: 7.938 kB / 0.9929 GB, free: 6.109 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.01147, allocations: 12.05 kB / 0.9929 GB, free: 6.098 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.01148, allocations: 0 / 0.9929 GB, free: 6.098 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.01148, allocations: 0 / 0.9929 GB, free: 6.098 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.01148, allocations: 0 / 0.9929 GB, free: 6.098 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.521e-05/0.0115, allocations: 4 kB / 0.9929 GB, free: 6.094 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.0115, allocations: 0 / 0.9929 GB, free: 6.094 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.717e-05/0.01157, allocations: 189.1 kB / 0.9931 GB, free: 5.898 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.0116, allocations: 104.9 kB / 0.9932 GB, free: 5.789 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.385e-05/0.01164, allocations: 120.7 kB / 0.9933 GB, free: 5.668 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-05/0.01168, allocations: 176.3 kB / 0.9935 GB, free: 5.488 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.15e-05/0.01172, allocations: 188.2 kB / 0.9937 GB, free: 5.297 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-05/0.01176, allocations: 180.3 kB / 0.9939 GB, free: 5.113 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.0119, allocations: 388.2 kB / 0.9942 GB, free: 4.684 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.208e-05/0.01192, allocations: 101 kB / 0.9943 GB, free: 4.578 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.188e-05/0.01194, allocations: 101 kB / 0.9944 GB, free: 4.473 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.121e-05/0.01198, allocations: 188.2 kB / 0.9946 GB, free: 4.281 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.086e-05/0.01202, allocations: 180.2 kB / 0.9948 GB, free: 4.098 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.995e-05/0.01206, allocations: 188.3 kB / 0.995 GB, free: 3.906 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.824e-05/0.0121, allocations: 184.3 kB / 0.9951 GB, free: 3.719 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.421e-05/0.01218, allocations: 307.7 kB / 0.9954 GB, free: 3.395 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.225e-05/0.01222, allocations: 112.9 kB / 0.9955 GB, free: 3.277 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.804e-05/0.01226, allocations: 192.1 kB / 0.9957 GB, free: 3.082 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.551e-05/0.01231, allocations: 105.3 kB / 0.9958 GB, free: 2.973 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.01235, allocations: 176.3 kB / 0.996 GB, free: 2.793 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000169/0.01252, allocations: 108.9 kB / 0.9961 GB, free: 2.68 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.076e-05/0.01256, allocations: 101 kB / 0.9962 GB, free: 2.582 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01256, allocations: 0 / 0.9962 GB, free: 2.582 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004153/0.01298, allocations: 302.9 kB / 0.9965 GB, free: 2.285 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.001015/0.01399, allocations: 1.226 MB / 0.9977 GB, free: 1.031 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.833e-05/0.01409, allocations: 45.62 kB / 0.9977 GB, free: 0.9805 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01409, allocations: 3.938 kB / 0.9977 GB, free: 0.9766 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.01409, allocations: 0 / 0.9977 GB, free: 0.9766 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.01442, allocations: 468.3 kB / 0.9982 GB, free: 0.5156 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.01553, allocations: 1.596 MB / 0.9997 GB, free: 14.84 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.401e-05/0.01559, allocations: 67.59 kB / 0.9998 GB, free: 14.75 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.423e-05/0.0156, allocations: 0 / 0.9998 GB, free: 14.75 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.01564, allocations: 20.5 kB / 0.9998 GB, free: 14.73 MB / 0.9636 GB Notification: Performance of SimCode: time 4.71e-07/0.01564, allocations: 0 / 0.9998 GB, free: 14.73 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02131/0.03695, allocations: 8.005 MB / 1.008 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.021/7.057, allocations: 9.734 kB / 1.008 GB, free: 6.953 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_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_InternalResistancesTwoUTubeNegative.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative_res.csv. Warning: Get data of variable x from file Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.160661725327373]