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.001948/0.001948, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.00269/0.00269, allocations: 165.7 kB / 23.55 MB, free: 0.8867 MB / 18.57 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.554/1.554, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 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.985/2.985, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 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.593e-06/1.593e-06, allocations: 0 / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/3.005e-05, allocations: 3.125 kB / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001878/0.001908, allocations: 0.5622 MB / 0.8114 GB, free: 1.527 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003074/0.002215, allocations: 107.7 kB / 0.8115 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.848e-05/0.002243, allocations: 0 / 0.8115 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.002352, allocations: 5.672 kB / 0.8115 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.972e-05/0.002402, allocations: 3.938 kB / 0.8115 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.002586, allocations: 42.36 kB / 0.8115 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.582e-05/0.002682, allocations: 21.3 kB / 0.8116 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.191e-05/0.002724, allocations: 0 / 0.8116 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.114e-05/0.002775, allocations: 24.14 kB / 0.8116 GB, free: 1.332 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.817e-05/0.002843, allocations: 17.5 kB / 0.8116 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.002865, allocations: 4 kB / 0.8116 GB, free: 1.312 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.587e-05/0.002911, allocations: 4 kB / 0.8116 GB, free: 1.309 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.002923, allocations: 4 kB / 0.8116 GB, free: 1.305 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.839e-05/0.002961, allocations: 13.36 kB / 0.8116 GB, free: 1.293 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.003102, allocations: 39.83 kB / 0.8117 GB, free: 1.254 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.003104, allocations: 0 / 0.8117 GB, free: 1.254 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003104, allocations: 0 / 0.8117 GB, free: 1.254 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.003108, allocations: 1.75 kB / 0.8117 GB, free: 1.254 MB / 0.7605 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.000408/0.003516, allocations: 276.1 kB / 0.8119 GB, free: 0.9453 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.00356, allocations: 12.03 kB / 0.8119 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.63e-05/0.003617, allocations: 4.938 kB / 0.8119 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.003749, allocations: 114.9 kB / 0.812 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.003762, allocations: 384 / 0.812 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.003779, allocations: 4.375 kB / 0.812 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.003941, allocations: 85.48 kB / 0.8121 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.003948, allocations: 192 / 0.8121 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.003961, allocations: 4.312 kB / 0.8121 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.003966, allocations: 384 / 0.8121 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.566e-05/0.004042, allocations: 44.22 kB / 0.8122 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.004191, allocations: 101.3 kB / 0.8123 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.004294, allocations: 60.3 kB / 0.8123 GB, free: 452 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.303e-05/0.004357, allocations: 42.61 kB / 0.8124 GB, free: 400 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 8.897e-06/0.004366, allocations: 0 / 0.8124 GB, free: 400 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.004403, allocations: 30.56 kB / 0.8124 GB, free: 360 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.004404, allocations: 0 / 0.8124 GB, free: 360 kB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.0003513/0.004755, allocations: 171.4 kB / 0.8126 GB, free: 164 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/0.004826, allocations: 77.64 kB / 0.8126 GB, free: 68 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.004945, allocations: 99.45 kB / 0.8127 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.591e-05/0.004991, allocations: 33.7 kB / 0.8128 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.95e-05/0.005041, allocations: 80.14 kB / 0.8128 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.005065, allocations: 3.953 kB / 0.8128 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-05/0.005116, allocations: 22.2 kB / 0.8129 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001869/0.005303, allocations: 319.4 kB / 0.8132 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.559e-05/0.005358, allocations: 37.69 kB / 0.8132 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.231e-05/0.005411, allocations: 38.52 kB / 0.8132 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.005518, allocations: 81.34 kB / 0.8133 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.00552, allocations: 0 / 0.8133 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000192/0.005712, allocations: 129.6 kB / 0.8134 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.274e-05/0.005755, allocations: 34.73 kB / 0.8135 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.005759, allocations: 0 / 0.8135 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.005776, allocations: 0 / 0.8135 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.005777, allocations: 0.9062 kB / 0.8135 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.005782, allocations: 0 / 0.8135 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.005941, allocations: 16.77 kB / 0.8135 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.005955, allocations: 4 kB / 0.8135 GB, free: 15.11 MB / 0.7761 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.0001286/0.006084, allocations: 141.7 kB / 0.8136 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.006109, allocations: 8 kB / 0.8136 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.073e-05/0.00612, allocations: 7.094 kB / 0.8136 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.006124, allocations: 4 kB / 0.8137 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.006128, allocations: 0 / 0.8137 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.006133, allocations: 3.938 kB / 0.8137 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.006243, allocations: 104 kB / 0.8138 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.006244, allocations: 0 / 0.8138 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.644e-06/0.006252, allocations: 7.922 kB / 0.8138 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.006253, allocations: 0 / 0.8138 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.006266, allocations: 4 kB / 0.8138 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.006267, allocations: 0 / 0.8138 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.006267, allocations: 0 / 0.8138 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.006494, allocations: 158 kB / 0.8139 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-06/0.006501, allocations: 3.953 kB / 0.8139 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.006521, allocations: 4 kB / 0.8139 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.006631, allocations: 8.484 kB / 0.8139 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.131e-05/0.006653, allocations: 3.984 kB / 0.8139 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.006664, allocations: 4.5 kB / 0.8139 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.604e-05/0.00672, allocations: 81.16 kB / 0.814 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.006721, allocations: 0 / 0.814 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002237/0.006944, allocations: 19.94 kB / 0.814 GB, free: 14.49 MB / 0.7761 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.0002567/0.007201, allocations: 118.8 kB / 0.8142 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000212/0.007413, allocations: 138.7 kB / 0.8143 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.007417, allocations: 4.656 kB / 0.8143 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.99e-05/0.007517, allocations: 96.78 kB / 0.8144 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.007671, allocations: 9.688 kB / 0.8144 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003546/0.008026, allocations: 130.6 kB / 0.8145 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.292e-05/0.008089, allocations: 59.22 kB / 0.8146 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.447e-05/0.008163, allocations: 7.984 kB / 0.8146 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.094e-05/0.008184, allocations: 8.5 kB / 0.8146 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of SimCode: time 3.8e-07/0.008184, allocations: 0 / 0.8146 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of Templates: time 0.004151/0.01234, allocations: 1.261 MB / 0.8158 GB, free: 12.61 MB / 0.7761 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.114613999961875]