Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008383/0.0008383, allocations: 94.91 kB / 15.37 MB, free: 0.7266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000756/0.000756, allocations: 177.2 kB / 16.27 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.218/1.218, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.114/2.114, allocations: 390.9 MB / 0.6664 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002921/0.0002922, allocations: 8 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5182/0.5185, allocations: 142.4 MB / 0.9552 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0006029/0.5191, allocations: 277.2 kB / 0.9554 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002142/0.5193, allocations: 107.5 kB / 0.9556 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.055e-05/0.5194, allocations: 0 / 0.9556 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.999e-05/0.5194, allocations: 10.41 kB / 0.9556 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.692e-05/0.5195, allocations: 0 / 0.9556 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001074/0.5196, allocations: 33.47 kB / 0.9556 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.806e-05/0.5197, allocations: 25.89 kB / 0.9556 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.041e-05/0.5197, allocations: 4.891 kB / 0.9556 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.554e-05/0.5197, allocations: 16.67 kB / 0.9556 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.387e-05/0.5198, allocations: 13.67 kB / 0.9557 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.5198, allocations: 0.5938 kB / 0.9557 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.315e-05/0.5198, allocations: 6.656 kB / 0.9557 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.495e-06/0.5198, allocations: 1.406 kB / 0.9557 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.205e-05/0.5199, allocations: 37.88 kB / 0.9557 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.349e-05/0.5199, allocations: 34.61 kB / 0.9557 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.52, allocations: 0 / 0.9557 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.353e-06/0.52, allocations: 4 kB / 0.9557 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.125e-06/0.52, allocations: 0 / 0.9557 GB, free: 7.352 MB / 0.7169 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.0001756/0.5201, allocations: 347.2 kB / 0.9561 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.5202, allocations: 9.75 kB / 0.9561 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.096e-05/0.5202, allocations: 32.31 kB / 0.9561 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.38e-05/0.5202, allocations: 8.062 kB / 0.9561 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.063e-05/0.5203, allocations: 169.5 kB / 0.9563 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.5203, allocations: 1.562 kB / 0.9563 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.5203, allocations: 4.75 kB / 0.9563 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.545e-05/0.5204, allocations: 55.14 kB / 0.9563 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.3e-06/0.5204, allocations: 9.344 kB / 0.9563 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.5205, allocations: 1.344 kB / 0.9563 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.5205, allocations: 0 / 0.9563 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.195e-05/0.5205, allocations: 15.3 kB / 0.9564 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.646e-05/0.5206, allocations: 152.8 kB / 0.9565 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.176e-05/0.5206, allocations: 35.53 kB / 0.9565 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.716e-05/0.5207, allocations: 14.52 kB / 0.9566 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.55e-06/0.5207, allocations: 4 kB / 0.9566 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.189e-05/0.5207, allocations: 36.03 kB / 0.9566 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.433e-06/0.5207, allocations: 0 / 0.9566 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001779/0.5209, allocations: 113.2 kB / 0.9567 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.07e-05/0.5209, allocations: 79.55 kB / 0.9568 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.753e-05/0.521, allocations: 96.11 kB / 0.9569 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.521, allocations: 28.36 kB / 0.9569 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.057e-05/0.521, allocations: 88.08 kB / 0.957 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.521, allocations: 2.062 kB / 0.957 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/0.521, allocations: 11.72 kB / 0.957 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.332e-05/0.5211, allocations: 316.2 kB / 0.9573 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.643e-05/0.5211, allocations: 10.69 kB / 0.9573 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.254e-05/0.5211, allocations: 11.64 kB / 0.9573 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.502e-05/0.5212, allocations: 78.2 kB / 0.9574 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5212, allocations: 4.062 kB / 0.9574 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001016/0.5213, allocations: 95.47 kB / 0.9575 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.5213, allocations: 36.95 kB / 0.9575 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.5213, allocations: 5.594 kB / 0.9575 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/0.5214, allocations: 0 / 0.9575 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-06/0.5214, allocations: 0 / 0.9575 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.5214, allocations: 3.938 kB / 0.9575 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.5215, allocations: 15.42 kB / 0.9575 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.5215, allocations: 6.5 kB / 0.9575 GB, free: 5.406 MB / 0.7169 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 5.06e-05/0.5216, allocations: 146 kB / 0.9577 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.5216, allocations: 7.281 kB / 0.9577 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.163e-06/0.5216, allocations: 3.125 kB / 0.9577 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.5216, allocations: 1.062 kB / 0.9577 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.5216, allocations: 0 / 0.9577 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.5216, allocations: 1.094 kB / 0.9577 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.525e-05/0.5217, allocations: 152.7 kB / 0.9578 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.5217, allocations: 0 / 0.9578 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.82e-07/0.5217, allocations: 0.7812 kB / 0.9578 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5217, allocations: 3.938 kB / 0.9578 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.557e-06/0.5217, allocations: 11.17 kB / 0.9579 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5217, allocations: 1.125 kB / 0.9579 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.5217, allocations: 3.938 kB / 0.9579 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.5218, allocations: 121.3 kB / 0.958 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.298e-05/0.5218, allocations: 78.45 kB / 0.9581 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.5219, allocations: 5.406 kB / 0.9581 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.774e-05/0.522, allocations: 13.31 kB / 0.9581 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.157e-05/0.522, allocations: 9.391 kB / 0.9581 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.522, allocations: 2.75 kB / 0.9581 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.624e-05/0.522, allocations: 77.25 kB / 0.9582 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.522, allocations: 0 / 0.9582 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001845/0.5222, allocations: 17.09 kB / 0.9582 GB, free: 4.73 MB / 0.7169 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.0003171/0.5225, allocations: 0.6698 MB / 0.9588 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.821e-05/0.5226, allocations: 84.56 kB / 0.9589 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5226, allocations: 3.938 kB / 0.9589 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.978e-05/0.5227, allocations: 72.23 kB / 0.959 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.5228, allocations: 7.688 kB / 0.959 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002792/0.5231, allocations: 137.4 kB / 0.9591 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.723e-05/0.5232, allocations: 0.671 MB / 0.9598 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.666e-05/0.5232, allocations: 7.703 kB / 0.9598 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.758e-06/0.5233, allocations: 7.438 kB / 0.9598 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.5233, allocations: 0 / 0.9598 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.471/1.994, allocations: 1.649 MB / 0.9614 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/1.994, allocations: 235.5 kB / 0.9616 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/3.717, allocations: 0 / 0.9616 GB, free: 2.039 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches