Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001005/0.001005, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008054/0.0008054, allocations: 165.9 kB / 22.46 MB, free: 2.105 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 0.886/0.886, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.68/1.68, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.82e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001853/0.001881, allocations: 0.5713 MB / 0.9511 GB, free: 2.93 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002576/0.002139, allocations: 99.67 kB / 0.9512 GB, free: 2.832 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.755e-05/0.002166, allocations: 0 / 0.9512 GB, free: 2.832 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 9.872e-05/0.002265, allocations: 7.938 kB / 0.9512 GB, free: 2.824 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.353e-05/0.002318, allocations: 0 / 0.9512 GB, free: 2.824 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.002486, allocations: 47.83 kB / 0.9512 GB, free: 2.777 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.942e-05/0.002585, allocations: 27.92 kB / 0.9512 GB, free: 2.75 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.509e-05/0.00267, allocations: 3.984 kB / 0.9512 GB, free: 2.746 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.002785, allocations: 19.98 kB / 0.9513 GB, free: 2.727 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.355e-05/0.002849, allocations: 11.98 kB / 0.9513 GB, free: 2.715 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.002869, allocations: 0 / 0.9513 GB, free: 2.715 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.732e-05/0.002916, allocations: 11.98 kB / 0.9513 GB, free: 2.703 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.084e-05/0.002927, allocations: 4 kB / 0.9513 GB, free: 2.699 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.233e-05/0.002959, allocations: 8 kB / 0.9513 GB, free: 2.691 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.003077, allocations: 39.89 kB / 0.9513 GB, free: 2.652 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.00308, allocations: 0 / 0.9513 GB, free: 2.652 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.543e-06/0.003082, allocations: 0 / 0.9513 GB, free: 2.652 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.003086, allocations: 3.938 kB / 0.9513 GB, free: 2.648 MB / 0.9011 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.0003253/0.003411, allocations: 284 kB / 0.9516 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.003452, allocations: 8.031 kB / 0.9516 GB, free: 2.324 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.686e-05/0.003489, allocations: 38.73 kB / 0.9517 GB, free: 2.277 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.003523, allocations: 4.938 kB / 0.9517 GB, free: 2.273 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.003624, allocations: 105.8 kB / 0.9518 GB, free: 2.145 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.003637, allocations: 4.375 kB / 0.9518 GB, free: 2.141 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.003649, allocations: 4.375 kB / 0.9518 GB, free: 2.137 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.003782, allocations: 79.94 kB / 0.9518 GB, free: 2.047 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.003791, allocations: 4.172 kB / 0.9518 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.003803, allocations: 8.312 kB / 0.9519 GB, free: 2.035 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.00381, allocations: 8.109 kB / 0.9519 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.306e-05/0.003863, allocations: 37.7 kB / 0.9519 GB, free: 1.984 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/0.004117, allocations: 120.8 kB / 0.952 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.293e-05/0.0042, allocations: 56.3 kB / 0.9521 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.778e-05/0.004248, allocations: 42.62 kB / 0.9521 GB, free: 1.703 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.004258, allocations: 4 kB / 0.9521 GB, free: 1.699 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.004284, allocations: 34.55 kB / 0.9521 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/0.004285, allocations: 0 / 0.9521 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0002659/0.004551, allocations: 162.7 kB / 0.9523 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.004597, allocations: 85.05 kB / 0.9524 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.481e-05/0.004662, allocations: 93.84 kB / 0.9525 GB, free: 1.27 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.004677, allocations: 29.7 kB / 0.9525 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.855e-05/0.004706, allocations: 80.14 kB / 0.9526 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.004733, allocations: 7.953 kB / 0.9526 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.004775, allocations: 25.97 kB / 0.9526 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.088e-05/0.004866, allocations: 314.8 kB / 0.9529 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.499e-05/0.004911, allocations: 41.7 kB / 0.9529 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.795e-05/0.004949, allocations: 41.62 kB / 0.953 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.054e-05/0.00503, allocations: 84.19 kB / 0.9531 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.005032, allocations: 0 / 0.9531 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001715/0.005203, allocations: 125.1 kB / 0.9532 GB, free: 476 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.005234, allocations: 29.7 kB / 0.9532 GB, free: 440 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.005239, allocations: 0 / 0.9532 GB, free: 440 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.005252, allocations: 4.094 kB / 0.9532 GB, free: 436 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.154e-06/0.005254, allocations: 3.938 kB / 0.9532 GB, free: 432 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.005261, allocations: 4 kB / 0.9532 GB, free: 428 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.00538, allocations: 7.984 kB / 0.9532 GB, free: 420 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.005394, allocations: 4 kB / 0.9532 GB, free: 416 kB / 0.9011 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 7.948e-05/0.005473, allocations: 139.5 kB / 0.9534 GB, free: 260 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.005488, allocations: 4 kB / 0.9534 GB, free: 256 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.443e-05/0.005503, allocations: 3.156 kB / 0.9534 GB, free: 252 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.005505, allocations: 3.938 kB / 0.9534 GB, free: 248 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.00551, allocations: 3.938 kB / 0.9534 GB, free: 244 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.005512, allocations: 4 kB / 0.9534 GB, free: 240 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.739e-05/0.00559, allocations: 120.8 kB / 0.9535 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.005591, allocations: 0 / 0.9535 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-07/0.005592, allocations: 0 / 0.9535 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.005595, allocations: 4 kB / 0.9535 GB, free: 72 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.005606, allocations: 4 kB / 0.9535 GB, free: 68 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.005609, allocations: 7.922 kB / 0.9535 GB, free: 60 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.005612, allocations: 7.938 kB / 0.9535 GB, free: 52 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.00579, allocations: 144.5 kB / 0.9537 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.112e-06/0.005796, allocations: 0 / 0.9537 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.00581, allocations: 4.031 kB / 0.9537 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.533e-05/0.005895, allocations: 8 kB / 0.9537 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.005913, allocations: 11.92 kB / 0.9537 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.005922, allocations: 4 kB / 0.9537 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.972e-05/0.005951, allocations: 75.28 kB / 0.9538 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.01e-07/0.005951, allocations: 0 / 0.9538 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001877/0.006139, allocations: 12 kB / 0.9538 GB, free: 15.77 MB / 0.9167 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.0004029/0.006542, allocations: 0.7094 MB / 0.9545 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001148/0.006657, allocations: 134.8 kB / 0.9546 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.006659, allocations: 0 / 0.9546 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.135e-05/0.0067, allocations: 97.09 kB / 0.9547 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001088/0.006809, allocations: 8.5 kB / 0.9547 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003305/0.007139, allocations: 168.2 kB / 0.9549 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.224e-05/0.007172, allocations: 59.42 kB / 0.9549 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.801e-05/0.00724, allocations: 11.98 kB / 0.9549 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.801e-05/0.007258, allocations: 8.5 kB / 0.9549 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of SimCode: time 4.71e-07/0.007258, allocations: 0 / 0.9549 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01643/0.02369, allocations: 2.654 MB / 0.9575 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.556/7.58, allocations: 4.312 kB / 0.9575 GB, free: 11.93 MB / 0.9167 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.504555933177471]