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.001918/0.001918, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.002371/0.002371, allocations: 211 kB / 23 MB, free: 4.934 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.581/1.581, allocations: 230.6 MB / 256.8 MB, free: 7.785 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 3.387/3.387, allocations: 0.49 GB / 0.7959 GB, free: 35.51 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: 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.002061/0.002061, allocations: 75.92 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.4268, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002147/0.429, allocations: 0.5714 MB / 1.328 GB, free: 408 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002847/0.4293, allocations: 107.7 kB / 1.328 GB, free: 300 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.058e-05/0.4293, allocations: 0 / 1.328 GB, free: 300 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.4294, allocations: 0 / 1.328 GB, free: 300 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.847e-05/0.4295, allocations: 0 / 1.328 GB, free: 300 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.4296, allocations: 51.81 kB / 1.328 GB, free: 248 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.4298, allocations: 27.98 kB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.228e-05/0.4298, allocations: 0 / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.862e-05/0.4298, allocations: 12 kB / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.344e-05/0.4299, allocations: 19.97 kB / 1.328 GB, free: 188 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.4299, allocations: 7.938 kB / 1.328 GB, free: 180 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.719e-05/0.43, allocations: 4 kB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.43, allocations: 3.938 kB / 1.328 GB, free: 172 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.314e-05/0.43, allocations: 19.97 kB / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.4302, allocations: 23.91 kB / 1.328 GB, free: 128 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.4302, allocations: 4 kB / 1.328 GB, free: 124 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4302, allocations: 0 / 1.328 GB, free: 124 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.4302, allocations: 0 / 1.328 GB, free: 124 kB / 1.014 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.0004332/0.4306, allocations: 276.1 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/0.4307, allocations: 15.97 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.4307, allocations: 0.9375 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.4308, allocations: 110.5 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.4308, allocations: 384 / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.4309, allocations: 4.375 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.431, allocations: 87.92 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.431, allocations: 4.188 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.4311, allocations: 7.938 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.4311, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.09e-05/0.4311, allocations: 41.62 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.4313, allocations: 105.3 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.478e-05/0.4314, allocations: 52.27 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.95e-05/0.4314, allocations: 46.61 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.4314, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.4315, allocations: 30.56 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.4315, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0003111/0.4318, allocations: 170.7 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.618e-05/0.4318, allocations: 85.09 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.471e-05/0.4319, allocations: 89.86 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.432, allocations: 29.7 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.93e-05/0.432, allocations: 88.08 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.432, allocations: 4 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/0.4321, allocations: 17.72 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.4322, allocations: 318.8 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.889e-05/0.4323, allocations: 33.7 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.451e-05/0.4323, allocations: 45.94 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.4325, allocations: 76.25 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4325, allocations: 0 / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000169/0.4326, allocations: 125 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.265e-05/0.4327, allocations: 35.42 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.4327, allocations: 0 / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.4327, allocations: 0 / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.767e-06/0.4327, allocations: 3.938 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.4327, allocations: 0 / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.4329, allocations: 20.08 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.4329, allocations: 4 kB / 1.33 GB, free: 13.96 MB / 1.029 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.0001169/0.433, allocations: 144 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.819e-05/0.433, allocations: 7.953 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.829e-05/0.433, allocations: 3.156 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.433, allocations: 7.922 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.433, allocations: 0 / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-06/0.433, allocations: 0 / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.4331, allocations: 4 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.4332, allocations: 4 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/0.4332, allocations: 12 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002394/0.4334, allocations: 251.7 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002716/0.4337, allocations: 298.2 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.401e-05/0.4338, allocations: 41.67 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.257e-05/0.4338, allocations: 83.28 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of Backend: time 2.91e-07/0.4338, allocations: 0 / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006431/0.4344, allocations: 191.1 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of SimCode: time 0.000456/0.4349, allocations: 0.5833 MB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of Templates: time 0.004379/0.4393, allocations: 1.275 MB / 1.333 GB, free: 10.92 MB / 1.029 GB " [Timeout remaining time 300] 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 -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: 9.564396341003885]