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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.007683/0.007683, allocations: 99.53 kB / 15.73 MB, free: 5.996 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.001804/0.001804, allocations: 195.2 kB / 16.68 MB, free: 5.918 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.215/2.215, allocations: 390.3 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 59.91 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8079/0.8093, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001707/0.8111, allocations: 0.5486 MB / 1.088 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002302/0.8113, allocations: 110.1 kB / 1.088 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.55e-05/0.8114, allocations: 4 kB / 1.088 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.241e-05/0.8115, allocations: 6.812 kB / 1.088 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.72e-05/0.8115, allocations: 3.938 kB / 1.088 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001473/0.8117, allocations: 30.89 kB / 1.088 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.89e-05/0.8118, allocations: 27.25 kB / 1.088 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.607e-05/0.8118, allocations: 3.828 kB / 1.088 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.877e-05/0.8119, allocations: 17.28 kB / 1.088 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.089e-05/0.8119, allocations: 25.81 kB / 1.088 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.8119, allocations: 2.344 kB / 1.088 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.002e-05/0.812, allocations: 9.875 kB / 1.088 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.09e-05/0.812, allocations: 1 kB / 1.088 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.812, allocations: 11.11 kB / 1.088 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.8121, allocations: 29.69 kB / 1.088 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.8121, allocations: 1.062 kB / 1.088 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.263e-06/0.8122, allocations: 0 / 1.088 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.8122, allocations: 0 / 1.088 GB, free: 4.793 MB / 0.8575 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.0002668/0.8124, allocations: 353.3 kB / 1.089 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.8125, allocations: 13.84 kB / 1.089 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.833e-05/0.8125, allocations: 33.86 kB / 1.089 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.018e-05/0.8125, allocations: 7.844 kB / 1.089 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.169e-05/0.8126, allocations: 163.2 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.8127, allocations: 1.438 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.8127, allocations: 5 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.8128, allocations: 61.16 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.8128, allocations: 7.875 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.8128, allocations: 2.969 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.8128, allocations: 4 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.984e-05/0.8129, allocations: 9.453 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001051/0.813, allocations: 153.6 kB / 1.089 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.447e-05/0.813, allocations: 26.41 kB / 1.089 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.29e-05/0.8131, allocations: 19.2 kB / 1.089 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.689e-06/0.8131, allocations: 0.6094 kB / 1.089 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.8131, allocations: 32.78 kB / 1.089 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.8131, allocations: 4 kB / 1.089 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0002147/0.8133, allocations: 114.1 kB / 1.089 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.8134, allocations: 80.47 kB / 1.089 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.617e-05/0.8134, allocations: 93.23 kB / 1.089 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.8134, allocations: 27.95 kB / 1.089 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.394e-05/0.8135, allocations: 80.8 kB / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.8135, allocations: 6.125 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.956e-05/0.8135, allocations: 32.48 kB / 1.09 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.058e-05/0.8136, allocations: 312.6 kB / 1.09 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.303e-05/0.8136, allocations: 16.84 kB / 1.09 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.775e-05/0.8136, allocations: 10.3 kB / 1.09 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.558e-05/0.8137, allocations: 84.22 kB / 1.09 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.8137, allocations: 1.031 kB / 1.09 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001182/0.8138, allocations: 92.98 kB / 1.09 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.8139, allocations: 37.33 kB / 1.09 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.8139, allocations: 9.062 kB / 1.09 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.8139, allocations: 0.5625 kB / 1.09 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-07/0.8139, allocations: 0 / 1.09 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.83e-06/0.8139, allocations: 2.016 kB / 1.09 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.8141, allocations: 8.516 kB / 1.09 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.8141, allocations: 11.7 kB / 1.09 GB, free: 2.898 MB / 0.8575 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.599e-05/0.8141, allocations: 138.3 kB / 1.09 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.8142, allocations: 7.75 kB / 1.09 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.273e-05/0.8142, allocations: 9.062 kB / 1.09 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.8142, allocations: 0 / 1.09 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.8142, allocations: 0.7812 kB / 1.09 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.8142, allocations: 0.6562 kB / 1.09 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.768e-05/0.8143, allocations: 154.5 kB / 1.09 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.8143, allocations: 4.547 kB / 1.09 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.8143, allocations: 0 / 1.09 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.8143, allocations: 5.031 kB / 1.09 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.8143, allocations: 7.219 kB / 1.09 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.8143, allocations: 1.781 kB / 1.09 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.8143, allocations: 0 / 1.09 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.8144, allocations: 124.2 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.34e-05/0.8145, allocations: 79.72 kB / 1.091 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.8145, allocations: 5.766 kB / 1.091 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.8146, allocations: 6.703 kB / 1.091 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/0.8146, allocations: 3.047 kB / 1.091 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.8146, allocations: 2.938 kB / 1.091 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.02e-05/0.8146, allocations: 86.23 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8147, allocations: 0 / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001991/0.8149, allocations: 17.16 kB / 1.091 GB, free: 2.246 MB / 0.8575 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.0005101/0.8154, allocations: 0.6815 MB / 1.091 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001451/0.8155, allocations: 81.39 kB / 1.091 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8155, allocations: 0 / 1.091 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.586e-05/0.8156, allocations: 72.27 kB / 1.092 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.8158, allocations: 4.438 kB / 1.092 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003732/0.8161, allocations: 141.9 kB / 1.092 GB, free: 17.32 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.8163, allocations: 0.6747 MB / 1.092 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.368e-05/0.8164, allocations: 6.672 kB / 1.092 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.495e-05/0.8165, allocations: 7.438 kB / 1.092 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.8165, allocations: 0 / 1.092 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01894/0.8354, allocations: 1.879 MB / 1.094 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.52/8.356, allocations: 11.55 kB / 1.094 GB, free: 16.2 MB / 0.8731 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