Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.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.0012/0.0012, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001339/0.001339, allocations: 213 kB / 23.04 MB, free: 5.07 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.361/1.361, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.09/3.09, allocations: 0.5003 GB / 0.8061 GB, free: 26.82 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ExchangeValues,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",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.001847/0.001847, allocations: 63.33 kB / 1.171 GB, free: 19.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3267, allocations: 179 MB / 1.345 GB, free: 0.5273 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001915/0.3286, allocations: 0.5683 MB / 1.346 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.000255/0.3289, allocations: 115.7 kB / 1.346 GB, free: 15.84 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.309e-05/0.3289, allocations: 0 / 1.346 GB, free: 15.84 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.302e-05/0.329, allocations: 4 kB / 1.346 GB, free: 15.84 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.137e-05/0.329, allocations: 3.938 kB / 1.346 GB, free: 15.84 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001442/0.3292, allocations: 35.97 kB / 1.346 GB, free: 15.8 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.3293, allocations: 27.97 kB / 1.346 GB, free: 15.77 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.774e-05/0.3293, allocations: 3.984 kB / 1.346 GB, free: 15.77 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.518e-05/0.3294, allocations: 12 kB / 1.346 GB, free: 15.76 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.14e-05/0.3294, allocations: 15.92 kB / 1.346 GB, free: 15.74 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.3294, allocations: 4 kB / 1.346 GB, free: 15.74 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.227e-05/0.3295, allocations: 11.98 kB / 1.346 GB, free: 15.73 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.3295, allocations: 11.88 kB / 1.346 GB, free: 15.71 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.3295, allocations: 11.98 kB / 1.346 GB, free: 15.7 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.474e-05/0.3296, allocations: 28.19 kB / 1.346 GB, free: 15.68 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.3296, allocations: 0 / 1.346 GB, free: 15.68 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3296, allocations: 0 / 1.346 GB, free: 15.68 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.3296, allocations: 0 / 1.346 GB, free: 15.68 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000345/0.33, allocations: 288 kB / 1.346 GB, free: 15.36 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.33, allocations: 11.97 kB / 1.346 GB, free: 15.34 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.184e-05/0.33, allocations: 192 / 1.346 GB, free: 15.34 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.624e-05/0.3301, allocations: 38.75 kB / 1.346 GB, free: 15.3 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.3301, allocations: 4.938 kB / 1.346 GB, free: 15.29 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.3302, allocations: 102.5 kB / 1.347 GB, free: 15.17 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.3302, allocations: 4.375 kB / 1.347 GB, free: 15.16 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.3302, allocations: 4.375 kB / 1.347 GB, free: 15.16 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.3303, allocations: 53.98 kB / 1.347 GB, free: 15.1 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.3304, allocations: 3.938 kB / 1.347 GB, free: 15.1 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.3304, allocations: 3.984 kB / 1.347 GB, free: 15.09 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3304, allocations: 4 kB / 1.347 GB, free: 15.09 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.34e-05/0.3304, allocations: 12 kB / 1.347 GB, free: 15.08 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001347/0.3305, allocations: 120.8 kB / 1.347 GB, free: 14.92 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.794e-05/0.3306, allocations: 30.59 kB / 1.347 GB, free: 14.88 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.528e-05/0.3306, allocations: 16.92 kB / 1.347 GB, free: 14.86 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-06/0.3307, allocations: 0 / 1.347 GB, free: 14.86 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.3307, allocations: 38.48 kB / 1.347 GB, free: 14.81 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.3307, allocations: 4 kB / 1.347 GB, free: 14.81 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0002326/0.3309, allocations: 107.3 kB / 1.347 GB, free: 14.69 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.331, allocations: 85.11 kB / 1.347 GB, free: 14.59 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.752e-05/0.3311, allocations: 89.86 kB / 1.347 GB, free: 14.49 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.3311, allocations: 29.7 kB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.605e-05/0.3311, allocations: 80.14 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.3311, allocations: 7.938 kB / 1.347 GB, free: 14.37 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.3312, allocations: 21.72 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3313, allocations: 319.1 kB / 1.348 GB, free: 14.02 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.048e-05/0.3314, allocations: 11.98 kB / 1.348 GB, free: 14.01 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.734e-05/0.3314, allocations: 8 kB / 1.348 GB, free: 14 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.258e-05/0.3315, allocations: 88.19 kB / 1.348 GB, free: 13.9 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3315, allocations: 0 / 1.348 GB, free: 13.9 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001547/0.3316, allocations: 95.38 kB / 1.348 GB, free: 13.79 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/0.3317, allocations: 33.64 kB / 1.348 GB, free: 13.75 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.3317, allocations: 4 kB / 1.348 GB, free: 13.75 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.3317, allocations: 4.094 kB / 1.348 GB, free: 13.75 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.408e-06/0.3317, allocations: 7.938 kB / 1.348 GB, free: 13.74 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.3317, allocations: 0 / 1.348 GB, free: 13.74 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.3318, allocations: 11.92 kB / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.3318, allocations: 11.98 kB / 1.348 GB, free: 13.71 MB / 1.045 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: 1 * 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.0001016/0.3319, allocations: 135.5 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.332, allocations: 7.938 kB / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.118e-05/0.332, allocations: 3.156 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.332, allocations: 4 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.332, allocations: 0 / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.332, allocations: 7.984 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.3321, allocations: 124.8 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3321, allocations: 3.984 kB / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.3321, allocations: 0 / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.3321, allocations: 3.938 kB / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.3321, allocations: 7.938 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.3321, allocations: 0 / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3321, allocations: 0 / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.3323, allocations: 122.8 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-06/0.3323, allocations: 7.938 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.3323, allocations: 0 / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.3324, allocations: 7.984 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.698e-05/0.3324, allocations: 4 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.3324, allocations: 4 kB / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.615e-05/0.3325, allocations: 75.28 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3325, allocations: 4.125 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001912/0.3327, allocations: 16 kB / 1.348 GB, free: 13.1 MB / 1.045 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0006163/0.3333, allocations: 0.6842 MB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001478/0.3334, allocations: 79.39 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3334, allocations: 0 / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.477e-05/0.3335, allocations: 71.39 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.3336, allocations: 5.203 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.3341, allocations: 138.6 kB / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.3344, allocations: 0.6806 MB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.567e-05/0.3344, allocations: 8 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.754e-05/0.3345, allocations: 7.438 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of SimCode: time 3.31e-07/0.3345, allocations: 0 / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.3569, allocations: 2.007 MB / 1.352 GB, free: 9.457 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/10.82, allocations: 10.06 kB / 1.352 GB, free: 9.449 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.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: 17.153177918982692]