Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.001725/0.001725, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002194/0.002194, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.463/1.463, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.938/2.938, allocations: 0.49 GB / 0.7923 GB, free: 1.363 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="cs",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.001944/0.001944, allocations: 63.89 kB / 1.15 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9025/0.9044, allocations: 176.1 MB / 1.322 GB, free: 24.79 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003329/0.9078, allocations: 3.077 MB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002241/0.91, allocations: 2.198 MB / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002159/0.9102, allocations: 5.562 kB / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.9114, allocations: 0.5138 MB / 1.327 GB, free: 20.81 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.9117, allocations: 148.6 kB / 1.327 GB, free: 20.71 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001002/0.9118, allocations: 57.83 kB / 1.327 GB, free: 20.67 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003827/0.9122, allocations: 441.3 kB / 1.328 GB, free: 20.45 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001926/0.9124, allocations: 108.5 kB / 1.328 GB, free: 20.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002895/0.9126, allocations: 167.8 kB / 1.328 GB, free: 20.3 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.9129, allocations: 181.5 kB / 1.328 GB, free: 20.21 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.907e-05/0.9129, allocations: 33.5 kB / 1.328 GB, free: 20.21 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.39e-05/0.913, allocations: 34.66 kB / 1.328 GB, free: 20.21 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.636e-05/0.9131, allocations: 99.03 kB / 1.328 GB, free: 20.15 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000179/0.9133, allocations: 214.7 kB / 1.329 GB, free: 20.02 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004992/0.9138, allocations: 0.5421 MB / 1.329 GB, free: 19.83 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.9138, allocations: 0 / 1.329 GB, free: 19.83 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.303e-06/0.9138, allocations: 1.062 kB / 1.329 GB, free: 19.83 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.9138, allocations: 0 / 1.329 GB, free: 19.83 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009603/0.9147, allocations: 0.7226 MB / 1.33 GB, free: 19.24 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.9148, allocations: 13.73 kB / 1.33 GB, free: 19.23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.933e-05/0.9148, allocations: 5.969 kB / 1.33 GB, free: 19.23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.099e-05/0.9148, allocations: 56.97 kB / 1.33 GB, free: 19.18 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.812e-05/0.9149, allocations: 51.08 kB / 1.33 GB, free: 19.15 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004963/0.9154, allocations: 369.9 kB / 1.33 GB, free: 18.85 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.9154, allocations: 13 kB / 1.33 GB, free: 18.85 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.9155, allocations: 22.41 kB / 1.33 GB, free: 18.84 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003897/0.9159, allocations: 204.2 kB / 1.331 GB, free: 18.74 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.9159, allocations: 4.469 kB / 1.331 GB, free: 18.74 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.9159, allocations: 6.656 kB / 1.331 GB, free: 18.73 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.9159, allocations: 8.5 kB / 1.331 GB, free: 18.73 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003994/0.9163, allocations: 166 kB / 1.331 GB, free: 18.68 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.9174, allocations: 0.8683 MB / 1.332 GB, free: 18.07 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.9177, allocations: 150 kB / 1.332 GB, free: 17.99 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.9179, allocations: 102.6 kB / 1.332 GB, free: 17.95 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.9179, allocations: 2.094 kB / 1.332 GB, free: 17.95 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.346e-05/0.918, allocations: 32.39 kB / 1.332 GB, free: 17.91 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.918, allocations: 0 / 1.332 GB, free: 17.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.0005898/0.9185, allocations: 265.5 kB / 1.332 GB, free: 17.79 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.9186, allocations: 54.31 kB / 1.332 GB, free: 17.72 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004673/0.919, allocations: 412.3 kB / 1.333 GB, free: 17.52 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.919, allocations: 33.64 kB / 1.333 GB, free: 17.48 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.9192, allocations: 203.5 kB / 1.333 GB, free: 17.31 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.187e-05/0.9192, allocations: 68.16 kB / 1.333 GB, free: 17.26 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.608e-05/0.9193, allocations: 39.47 kB / 1.333 GB, free: 17.23 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.342e-05/0.9193, allocations: 347.1 kB / 1.333 GB, free: 16.9 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.9195, allocations: 53.27 kB / 1.333 GB, free: 16.88 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.9196, allocations: 59.41 kB / 1.333 GB, free: 16.86 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/0.9199, allocations: 136.3 kB / 1.333 GB, free: 16.8 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.9199, allocations: 0 / 1.333 GB, free: 16.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003791/0.9203, allocations: 211.3 kB / 1.334 GB, free: 16.7 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.9203, allocations: 11.33 kB / 1.334 GB, free: 16.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.9203, allocations: 0 / 1.334 GB, free: 16.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.9203, allocations: 1.375 kB / 1.334 GB, free: 16.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.9206, allocations: 54.25 kB / 1.334 GB, free: 16.69 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.9206, allocations: 5.828 kB / 1.334 GB, free: 16.69 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.9207, allocations: 16.31 kB / 1.334 GB, free: 16.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.9208, allocations: 11.72 kB / 1.334 GB, free: 16.67 MB / 1.061 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001242/0.9209, allocations: 166.7 kB / 1.334 GB, free: 16.53 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.32e-05/0.9209, allocations: 41.56 kB / 1.334 GB, free: 16.5 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.289e-05/0.921, allocations: 39.86 kB / 1.334 GB, free: 16.47 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.921, allocations: 2.672 kB / 1.334 GB, free: 16.47 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.921, allocations: 0 / 1.334 GB, free: 16.47 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.921, allocations: 2.312 kB / 1.334 GB, free: 16.47 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003879/0.9214, allocations: 370.8 kB / 1.334 GB, free: 16.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.9214, allocations: 3.938 kB / 1.334 GB, free: 16.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.9217, allocations: 54.88 kB / 1.334 GB, free: 16.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.9217, allocations: 5.188 kB / 1.334 GB, free: 16.19 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.9217, allocations: 5.188 kB / 1.334 GB, free: 16.19 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.9217, allocations: 5.609 kB / 1.334 GB, free: 16.18 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.9217, allocations: 0 / 1.334 GB, free: 16.18 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005712/0.9223, allocations: 378 kB / 1.335 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.206e-05/0.9223, allocations: 118.7 kB / 1.335 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.459e-05/0.9224, allocations: 10.36 kB / 1.335 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.9225, allocations: 9.703 kB / 1.335 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.9226, allocations: 10.44 kB / 1.335 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.9226, allocations: 3.188 kB / 1.335 GB, free: 15.82 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003393/0.9229, allocations: 303.6 kB / 1.335 GB, free: 15.68 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9229, allocations: 0 / 1.335 GB, free: 15.68 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003295/0.9233, allocations: 71.45 kB / 1.335 GB, free: 15.66 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0007834/0.9241, allocations: 0.934 MB / 1.336 GB, free: 14.89 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000423/0.9245, allocations: 143.6 kB / 1.336 GB, free: 14.84 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.9245, allocations: 0.5 kB / 1.336 GB, free: 14.84 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.9247, allocations: 74.33 kB / 1.336 GB, free: 14.82 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005669/0.9252, allocations: 82.97 kB / 1.336 GB, free: 14.79 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004118/0.9294, allocations: 3.491 MB / 1.34 GB, free: 12.7 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.9296, allocations: 0.7963 MB / 1.341 GB, free: 12 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001565/0.9297, allocations: 35.2 kB / 1.341 GB, free: 11.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.9299, allocations: 124.8 kB / 1.341 GB, free: 11.89 MB / 1.061 GB Notification: Performance of SimCode: time 8.82e-07/0.9299, allocations: 0 / 1.341 GB, free: 11.89 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0287/0.9586, allocations: 8.038 MB / 1.349 GB, free: 11.02 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.682/9.64, allocations: 12.47 kB / 1.349 GB, free: 11.02 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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: 16.077870012959465]