Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00198/0.00198, allocations: 84.91 kB / 19.76 MB, free: 2.023 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.002317/0.002317, allocations: 159.3 kB / 23 MB, free: 4.961 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.499/1.499, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.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.833/2.833, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 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: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") [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.002418/0.002418, allocations: 71.89 kB / 0.982 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9276/0.93, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001777/0.9318, allocations: 0.5693 MB / 1.154 GB, free: 32.98 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0002169/0.932, allocations: 95.66 kB / 1.155 GB, free: 32.92 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.85e-05/0.9321, allocations: 0 / 1.155 GB, free: 32.92 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 9.229e-05/0.9322, allocations: 15.86 kB / 1.155 GB, free: 32.91 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.634e-05/0.9322, allocations: 2.906 kB / 1.155 GB, free: 32.91 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001374/0.9323, allocations: 36.77 kB / 1.155 GB, free: 32.89 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.494e-05/0.9324, allocations: 27.08 kB / 1.155 GB, free: 32.88 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.723e-05/0.9325, allocations: 0 / 1.155 GB, free: 32.88 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.715e-05/0.9325, allocations: 25.56 kB / 1.155 GB, free: 32.87 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.845e-05/0.9326, allocations: 8.812 kB / 1.155 GB, free: 32.87 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.9326, allocations: 0 / 1.155 GB, free: 32.87 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.061e-05/0.9326, allocations: 16 kB / 1.155 GB, free: 32.86 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.084e-05/0.9326, allocations: 0 / 1.155 GB, free: 32.86 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.9327, allocations: 12.95 kB / 1.155 GB, free: 32.86 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 9.992e-05/0.9328, allocations: 37.31 kB / 1.155 GB, free: 32.84 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.9328, allocations: 0 / 1.155 GB, free: 32.84 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9328, allocations: 0 / 1.155 GB, free: 32.84 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.9328, allocations: 4 kB / 1.155 GB, free: 32.84 MB / 1.076 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.0002677/0.933, allocations: 279.1 kB / 1.155 GB, free: 32.54 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.9331, allocations: 10.72 kB / 1.155 GB, free: 32.54 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.9331, allocations: 3.562 kB / 1.155 GB, free: 32.54 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.293e-05/0.9332, allocations: 109.9 kB / 1.155 GB, free: 32.41 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.9332, allocations: 3.344 kB / 1.155 GB, free: 32.41 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.9332, allocations: 6 kB / 1.155 GB, free: 32.41 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.9333, allocations: 83.25 kB / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.9333, allocations: 192 / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.9334, allocations: 6.812 kB / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-06/0.9334, allocations: 7.984 kB / 1.155 GB, free: 32.33 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.344e-05/0.9334, allocations: 41.05 kB / 1.155 GB, free: 32.3 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.582e-05/0.9335, allocations: 99.53 kB / 1.155 GB, free: 32.18 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 6.91e-05/0.9336, allocations: 52.78 kB / 1.155 GB, free: 32.12 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.792e-05/0.9336, allocations: 46.2 kB / 1.155 GB, free: 32.07 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.9336, allocations: 0 / 1.155 GB, free: 32.07 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.9336, allocations: 44.41 kB / 1.156 GB, free: 32.03 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.9336, allocations: 0 / 1.156 GB, free: 32.03 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0002234/0.9339, allocations: 164.5 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.9339, allocations: 81.23 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.863e-05/0.9339, allocations: 95.11 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.9339, allocations: 25.7 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.405e-05/0.934, allocations: 83.02 kB / 1.156 GB, free: 31.58 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.934, allocations: 0 / 1.156 GB, free: 31.58 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.934, allocations: 31.36 kB / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.324e-05/0.934, allocations: 310.8 kB / 1.156 GB, free: 31.24 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.367e-05/0.9341, allocations: 40.89 kB / 1.156 GB, free: 31.21 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.102e-05/0.9341, allocations: 41.16 kB / 1.156 GB, free: 31.17 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.098e-05/0.9342, allocations: 89.02 kB / 1.156 GB, free: 31.09 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.9342, allocations: 2.562 kB / 1.156 GB, free: 31.09 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001137/0.9343, allocations: 118.5 kB / 1.157 GB, free: 30.98 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.9343, allocations: 33.48 kB / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.9343, allocations: 0 / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.9343, allocations: 3.938 kB / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.9343, allocations: 0 / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.9343, allocations: 0 / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.9345, allocations: 8.578 kB / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.9345, allocations: 6.562 kB / 1.157 GB, free: 30.95 MB / 1.076 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 5.218e-05/0.9345, allocations: 144.3 kB / 1.157 GB, free: 30.8 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.9346, allocations: 7.266 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.668e-06/0.9346, allocations: 5.844 kB / 1.157 GB, free: 30.78 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.9346, allocations: 3.938 kB / 1.157 GB, free: 30.78 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.9346, allocations: 0 / 1.157 GB, free: 30.78 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.9346, allocations: 3.938 kB / 1.157 GB, free: 30.77 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.323e-05/0.9346, allocations: 106.1 kB / 1.157 GB, free: 30.65 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.9346, allocations: 0 / 1.157 GB, free: 30.65 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.91e-07/0.9346, allocations: 0 / 1.157 GB, free: 30.65 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.9346, allocations: 0 / 1.157 GB, free: 30.65 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.9346, allocations: 7.125 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.9346, allocations: 4 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.9346, allocations: 3.938 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.9348, allocations: 147.3 kB / 1.157 GB, free: 30.5 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-06/0.9348, allocations: 7.156 kB / 1.157 GB, free: 30.5 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.9348, allocations: 0 / 1.157 GB, free: 30.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.9349, allocations: 6.062 kB / 1.157 GB, free: 30.5 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/0.9349, allocations: 7.406 kB / 1.157 GB, free: 30.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.9349, allocations: 5.781 kB / 1.157 GB, free: 30.5 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.726e-05/0.9349, allocations: 79.31 kB / 1.157 GB, free: 30.42 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9349, allocations: 0 / 1.157 GB, free: 30.42 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002037/0.9351, allocations: 11.78 kB / 1.157 GB, free: 30.42 MB / 1.076 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.0001871/0.9353, allocations: 129.2 kB / 1.157 GB, free: 30.32 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001341/0.9355, allocations: 137.8 kB / 1.157 GB, free: 30.18 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.9355, allocations: 0 / 1.157 GB, free: 30.18 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.85e-05/0.9355, allocations: 100.6 kB / 1.157 GB, free: 30.08 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/0.9357, allocations: 3 kB / 1.157 GB, free: 30.08 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002589/0.9359, allocations: 136.5 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.826e-05/0.9359, allocations: 62.83 kB / 1.158 GB, free: 29.87 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.687e-05/0.936, allocations: 5.75 kB / 1.158 GB, free: 29.87 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.205e-05/0.936, allocations: 10.97 kB / 1.158 GB, free: 29.86 MB / 1.076 GB Notification: Performance of SimCode: time 3.41e-07/0.936, allocations: 0 / 1.158 GB, free: 29.86 MB / 1.076 GB Notification: Performance of Templates: time 0.003434/0.9395, allocations: 1.242 MB / 1.159 GB, free: 29.64 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.913673065952025]