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.001484/0.001484, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.00151/0.00151, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.418/1.418, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.079/3.079, allocations: 0.49 GB / 0.7916 GB, free: 33.24 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) [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.003155/0.003155, allocations: 64.25 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.428, allocations: 176.1 MB / 1.321 GB, free: 3.316 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001826/0.4298, allocations: 0.5541 MB / 1.321 GB, free: 2.77 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002606/0.4301, allocations: 116.1 kB / 1.321 GB, free: 2.656 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.469e-05/0.4301, allocations: 0 / 1.321 GB, free: 2.656 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.375e-05/0.4302, allocations: 7.938 kB / 1.321 GB, free: 2.648 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.114e-05/0.4302, allocations: 0 / 1.321 GB, free: 2.648 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.4304, allocations: 43.89 kB / 1.322 GB, free: 2.605 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.06e-05/0.4305, allocations: 23.98 kB / 1.322 GB, free: 2.582 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.661e-05/0.4305, allocations: 0 / 1.322 GB, free: 2.582 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.22e-05/0.4306, allocations: 19.98 kB / 1.322 GB, free: 2.562 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.802e-05/0.4306, allocations: 19.91 kB / 1.322 GB, free: 2.543 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.4307, allocations: 4 kB / 1.322 GB, free: 2.539 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.25e-05/0.4307, allocations: 4 kB / 1.322 GB, free: 2.535 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.094e-05/0.4307, allocations: 0 / 1.322 GB, free: 2.535 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.986e-05/0.4307, allocations: 23.97 kB / 1.322 GB, free: 2.512 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.427e-05/0.4308, allocations: 20.2 kB / 1.322 GB, free: 2.492 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.4308, allocations: 0 / 1.322 GB, free: 2.492 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4308, allocations: 0 / 1.322 GB, free: 2.492 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.4309, allocations: 3.938 kB / 1.322 GB, free: 2.488 MB / 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.0003802/0.4312, allocations: 357.2 kB / 1.322 GB, free: 2.082 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.4313, allocations: 15.98 kB / 1.322 GB, free: 2.066 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.245e-05/0.4313, allocations: 34.69 kB / 1.322 GB, free: 2.023 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.4313, allocations: 4.938 kB / 1.322 GB, free: 2.02 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.4315, allocations: 168.3 kB / 1.322 GB, free: 1.816 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.4315, allocations: 4.375 kB / 1.322 GB, free: 1.812 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.4315, allocations: 4.375 kB / 1.322 GB, free: 1.809 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.4316, allocations: 62.16 kB / 1.322 GB, free: 1.742 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.4316, allocations: 3.938 kB / 1.322 GB, free: 1.738 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.4316, allocations: 4 kB / 1.322 GB, free: 1.734 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.4317, allocations: 0 / 1.322 GB, free: 1.734 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.048e-05/0.4317, allocations: 11.98 kB / 1.322 GB, free: 1.723 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.4318, allocations: 153.7 kB / 1.322 GB, free: 1.523 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.439e-05/0.4319, allocations: 30.59 kB / 1.322 GB, free: 1.484 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.931e-05/0.432, allocations: 20.91 kB / 1.322 GB, free: 1.461 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.963e-06/0.432, allocations: 3.938 kB / 1.322 GB, free: 1.457 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.432, allocations: 30.56 kB / 1.322 GB, free: 1.418 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.432, allocations: 4 kB / 1.323 GB, free: 1.414 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.000235/0.4322, allocations: 107.3 kB / 1.323 GB, free: 1.297 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/0.4323, allocations: 85.23 kB / 1.323 GB, free: 1.195 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.309e-05/0.4324, allocations: 93.84 kB / 1.323 GB, free: 1.094 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.4324, allocations: 29.7 kB / 1.323 GB, free: 1.059 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/0.4324, allocations: 84.12 kB / 1.323 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.4324, allocations: 0 / 1.323 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.713e-05/0.4325, allocations: 21.72 kB / 1.323 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.4326, allocations: 314.8 kB / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.203e-05/0.4326, allocations: 11.98 kB / 1.323 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.998e-05/0.4327, allocations: 20.05 kB / 1.323 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.623e-05/0.4328, allocations: 80.27 kB / 1.323 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4328, allocations: 0 / 1.323 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001439/0.4329, allocations: 95.38 kB / 1.323 GB, free: 408 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.4329, allocations: 33.64 kB / 1.323 GB, free: 368 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4329, allocations: 7.938 kB / 1.323 GB, free: 360 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.433, allocations: 0 / 1.323 GB, free: 360 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.433, allocations: 0 / 1.323 GB, free: 360 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.433, allocations: 96 / 1.323 GB, free: 360 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.4331, allocations: 15.94 kB / 1.323 GB, free: 344 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.4331, allocations: 8 kB / 1.323 GB, free: 336 kB / 1.014 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.000104/0.4332, allocations: 135.5 kB / 1.324 GB, free: 184 kB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.4332, allocations: 11.88 kB / 1.324 GB, free: 172 kB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.344e-05/0.4332, allocations: 7.109 kB / 1.324 GB, free: 164 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.4332, allocations: 0 / 1.324 GB, free: 164 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.4332, allocations: 0 / 1.324 GB, free: 164 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.4333, allocations: 4 kB / 1.324 GB, free: 160 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.4334, allocations: 157.6 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.4334, allocations: 4 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.4334, allocations: 0 / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.4334, allocations: 3.938 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.4334, allocations: 4 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4334, allocations: 4 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4334, allocations: 0 / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.4336, allocations: 118.8 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.467e-05/0.4336, allocations: 89.12 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.4336, allocations: 3.938 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.4337, allocations: 4 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.904e-05/0.4338, allocations: 4 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.4338, allocations: 0 / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.233e-05/0.4338, allocations: 83.27 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4338, allocations: 3.938 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001967/0.434, allocations: 12 kB / 1.324 GB, free: 15.58 MB / 1.029 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.0006168/0.4346, allocations: 0.6778 MB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001626/0.4348, allocations: 87.41 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.4348, allocations: 0 / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.404e-05/0.4348, allocations: 71.33 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.435, allocations: 4 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004064/0.4354, allocations: 138.5 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.4357, allocations: 0.6768 MB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.117e-05/0.4358, allocations: 4 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.878e-05/0.4358, allocations: 7.438 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of SimCode: time 3.7e-07/0.4358, allocations: 128 / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.4609, allocations: 1.9 MB / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.983/8.444, allocations: 0.8438 kB / 1.328 GB, free: 12.04 MB / 1.029 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.csv","/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: 14.896790598984808]