Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.001894/0.001894, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002525/0.002525, allocations: 218.7 kB / 22.26 MB, free: 5.121 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.98 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.735/2.735, allocations: 476.8 MB / 0.7707 GB, free: 4.281 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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",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.001948/0.001948, allocations: 64.09 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3116, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.003213/0.3148, allocations: 1.517 MB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001573/0.3163, allocations: 0.9481 MB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.473e-05/0.3164, allocations: 3.938 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002113/0.3166, allocations: 51.75 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.765e-05/0.3167, allocations: 15.86 kB / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005776/0.3173, allocations: 189.8 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.3174, allocations: 51.72 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.846e-05/0.3174, allocations: 4 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.81e-05/0.3175, allocations: 23.81 kB / 1.286 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.313e-05/0.3175, allocations: 15.92 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.3175, allocations: 0 / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004563/0.318, allocations: 179.8 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.829e-05/0.318, allocations: 15.92 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.318, allocations: 11.88 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.3183, allocations: 127.1 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3183, allocations: 0 / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3183, allocations: 0 / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.3183, allocations: 0 / 1.286 GB, free: 8.586 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.0003854/0.3187, allocations: 307.4 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.3187, allocations: 8.031 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.534e-05/0.3188, allocations: 110 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.327e-05/0.3189, allocations: 88.11 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.3191, allocations: 201.7 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.376e-05/0.3192, allocations: 150.9 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.159e-05/0.3193, allocations: 154.9 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.192e-05/0.3193, allocations: 109.1 kB / 1.288 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.797e-05/0.3194, allocations: 75.28 kB / 1.288 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.083e-05/0.3194, allocations: 158.6 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.49e-05/0.3195, allocations: 150.6 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.756e-05/0.3196, allocations: 158.5 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003302/0.3199, allocations: 441 kB / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.982e-05/0.32, allocations: 165.1 kB / 1.289 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.298e-05/0.32, allocations: 84.19 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.3201, allocations: 75.28 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.539e-05/0.3201, allocations: 117.7 kB / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.3201, allocations: 4 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.086e-05/0.3202, allocations: 29.66 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.3203, allocations: 126.7 kB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.3204, allocations: 143.9 kB / 1.289 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.3204, allocations: 25.7 kB / 1.289 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.901e-05/0.3205, allocations: 96.12 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.3205, allocations: 0 / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.3205, allocations: 13.72 kB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3207, allocations: 322.8 kB / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.201e-05/0.3207, allocations: 4 kB / 1.29 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.951e-05/0.3207, allocations: 8 kB / 1.29 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.396e-05/0.3207, allocations: 12.8 kB / 1.29 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3207, allocations: 0 / 1.29 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001208/0.3209, allocations: 53.58 kB / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.3209, allocations: 4 kB / 1.29 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/0.3209, allocations: 4 kB / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.3209, allocations: 0 / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.3209, allocations: 4.062 kB / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.3209, allocations: 0 / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.121e-05/0.3209, allocations: 0 / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.3209, allocations: 0 / 1.29 GB, free: 5.051 MB / 0.9825 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.0001083/0.321, allocations: 185.1 kB / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.196e-05/0.3211, allocations: 132.8 kB / 1.29 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.955e-05/0.3212, allocations: 104.8 kB / 1.29 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.894e-05/0.3213, allocations: 188.2 kB / 1.29 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-05/0.3213, allocations: 176.3 kB / 1.29 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.118e-05/0.3214, allocations: 176.3 kB / 1.291 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.3217, allocations: 392.2 kB / 1.291 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.733e-05/0.3217, allocations: 104.9 kB / 1.291 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.358e-05/0.3218, allocations: 104.9 kB / 1.291 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.593e-05/0.3218, allocations: 184.3 kB / 1.291 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.89e-05/0.3219, allocations: 180.3 kB / 1.292 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.27e-05/0.322, allocations: 184.2 kB / 1.292 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.338e-05/0.3221, allocations: 176.3 kB / 1.292 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.3222, allocations: 319.7 kB / 1.292 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-05/0.3223, allocations: 112.9 kB / 1.292 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.811e-05/0.3224, allocations: 184.2 kB / 1.292 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.55e-05/0.3225, allocations: 105 kB / 1.293 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.062e-05/0.3225, allocations: 180.2 kB / 1.293 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.196e-05/0.3226, allocations: 101 kB / 1.293 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.413e-05/0.3227, allocations: 114.1 kB / 1.293 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3227, allocations: 0 / 1.293 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002804/0.3229, allocations: 31.88 kB / 1.293 GB, free: 1.492 MB / 0.9825 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.000607/0.3236, allocations: 0.8597 MB / 1.294 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.084e-05/0.3236, allocations: 41.69 kB / 1.294 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3236, allocations: 0 / 1.294 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.964e-06/0.3236, allocations: 0 / 1.294 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.3241, allocations: 459.7 kB / 1.294 GB, free: 108 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.3254, allocations: 1.465 MB / 1.296 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.3258, allocations: 0.6807 MB / 1.296 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.054e-05/0.3258, allocations: 3.984 kB / 1.296 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.929e-05/0.3258, allocations: 15.44 kB / 1.296 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/0.3258, allocations: 3.938 kB / 1.296 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05463/0.3804, allocations: 2.836 MB / 1.299 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.72, allocations: 11.48 kB / 1.299 GB, free: 11.13 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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: 18.36511080292985]