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.002085/0.002085, allocations: 82.48 kB / 19.18 MB, free: 2.527 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.00229/0.00229, allocations: 168.5 kB / 22.46 MB, free: 5.359 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.503/1.503, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.981/2.981, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.878e-05/3.053e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001737/0.001768, allocations: 0.5566 MB / 0.982 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002859/0.002054, allocations: 103.7 kB / 0.9821 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.187e-05/0.002085, allocations: 4 kB / 0.9821 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.0022, allocations: 7.938 kB / 0.9821 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.596e-05/0.002256, allocations: 0 / 0.9821 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.002419, allocations: 35.89 kB / 0.9821 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.00253, allocations: 31.92 kB / 0.9822 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.45e-05/0.002575, allocations: 0 / 0.9822 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.336e-05/0.002628, allocations: 19.92 kB / 0.9822 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.331e-05/0.002702, allocations: 19.97 kB / 0.9822 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.002723, allocations: 0 / 0.9822 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.058e-05/0.002773, allocations: 12 kB / 0.9822 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.002787, allocations: 0 / 0.9822 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.64e-05/0.002824, allocations: 7.984 kB / 0.9822 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.002948, allocations: 39.89 kB / 0.9823 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.00295, allocations: 0 / 0.9823 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.11e-07/0.002951, allocations: 0 / 0.9823 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.002955, allocations: 0 / 0.9823 GB, free: 11.11 MB / 0.9356 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.000407/0.003362, allocations: 280.1 kB / 0.9825 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.003404, allocations: 8.031 kB / 0.9825 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.003451, allocations: 8.938 kB / 0.9825 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.003579, allocations: 113.8 kB / 0.9827 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.003596, allocations: 4.375 kB / 0.9827 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.003612, allocations: 8.312 kB / 0.9827 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.003776, allocations: 79.88 kB / 0.9827 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.003785, allocations: 4.188 kB / 0.9827 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.003798, allocations: 384 / 0.9827 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.003803, allocations: 384 / 0.9827 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.037e-05/0.003873, allocations: 45.62 kB / 0.9828 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001343/0.004007, allocations: 97.33 kB / 0.9829 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.38e-05/0.004101, allocations: 60.3 kB / 0.9829 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.071e-05/0.004162, allocations: 42.61 kB / 0.983 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.004172, allocations: 0 / 0.983 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.004206, allocations: 42.5 kB / 0.983 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.213e-06/0.004208, allocations: 0 / 0.983 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0003032/0.004511, allocations: 166.8 kB / 0.9832 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/0.004573, allocations: 77.11 kB / 0.9833 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.973e-05/0.004663, allocations: 101.8 kB / 0.9833 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.004694, allocations: 25.7 kB / 0.9834 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.00474, allocations: 88.39 kB / 0.9835 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.004767, allocations: 3.953 kB / 0.9835 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.018e-05/0.004818, allocations: 25.7 kB / 0.9835 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.004958, allocations: 310.8 kB / 0.9838 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.442e-05/0.005012, allocations: 37.69 kB / 0.9838 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.104e-05/0.005073, allocations: 45.62 kB / 0.9839 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.381e-05/0.005167, allocations: 80.27 kB / 0.9839 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.005169, allocations: 0 / 0.9839 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000167/0.005336, allocations: 125 kB / 0.9841 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/0.00537, allocations: 33.8 kB / 0.9841 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.005374, allocations: 4 kB / 0.9841 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.005388, allocations: 0 / 0.9841 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.005389, allocations: 0 / 0.9841 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.005396, allocations: 3.984 kB / 0.9841 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.00554, allocations: 7.938 kB / 0.9841 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.005554, allocations: 4 kB / 0.9841 GB, free: 8.938 MB / 0.9356 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.0001089/0.005663, allocations: 139.5 kB / 0.9842 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.836e-05/0.005681, allocations: 4 kB / 0.9842 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.184e-05/0.005693, allocations: 7.156 kB / 0.9843 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.005694, allocations: 7.938 kB / 0.9843 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.005698, allocations: 7.938 kB / 0.9843 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.005703, allocations: 3.938 kB / 0.9843 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.486e-05/0.005787, allocations: 101.3 kB / 0.9844 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.005788, allocations: 0 / 0.9844 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.005789, allocations: 0 / 0.9844 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.00579, allocations: 0 / 0.9844 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.005802, allocations: 4 kB / 0.9844 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.005803, allocations: 0 / 0.9844 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.005804, allocations: 0 / 0.9844 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.006002, allocations: 152.5 kB / 0.9845 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-06/0.006008, allocations: 7.969 kB / 0.9845 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.006027, allocations: 4 kB / 0.9845 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.006138, allocations: 7.984 kB / 0.9845 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.006153, allocations: 0 / 0.9845 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.006164, allocations: 4 kB / 0.9845 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.766e-05/0.006212, allocations: 83.28 kB / 0.9846 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7.1e-08/0.006212, allocations: 0 / 0.9846 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000208/0.00642, allocations: 15.94 kB / 0.9846 GB, free: 8.324 MB / 0.9356 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.0002437/0.006663, allocations: 122.9 kB / 0.9848 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002168/0.00688, allocations: 138.8 kB / 0.9849 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.006882, allocations: 4 kB / 0.9849 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.006986, allocations: 93.09 kB / 0.985 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.007149, allocations: 8 kB / 0.985 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003395/0.007489, allocations: 130.7 kB / 0.9851 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.406e-05/0.007543, allocations: 59.36 kB / 0.9852 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.921e-05/0.007602, allocations: 11.92 kB / 0.9852 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.597e-05/0.007618, allocations: 8.5 kB / 0.9852 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.007618, allocations: 0 / 0.9852 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of Templates: time 0.004171/0.01179, allocations: 1.24 MB / 0.9864 GB, free: 6.441 MB / 0.9356 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/jenkins/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.465256806463003]