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.001284/0.001284, allocations: 114.1 kB / 17.16 MB, free: 5.895 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.001396/0.001396, allocations: 215 kB / 20.13 MB, free: 2.949 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.416/1.416, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.644/2.644, allocations: 476.7 MB / 0.7678 GB, free: 9.34 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="cs",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.001915/0.001915, allocations: 68.19 kB / 1.113 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.874/0.8759, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001794/0.8777, allocations: 0.5646 MB / 1.279 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000251/0.878, allocations: 114.3 kB / 1.28 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.846e-05/0.878, allocations: 5.188 kB / 1.28 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.987e-05/0.8781, allocations: 5.625 kB / 1.28 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.183e-05/0.8782, allocations: 4.734 kB / 1.28 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.8783, allocations: 34.58 kB / 1.28 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.501e-05/0.8784, allocations: 23.03 kB / 1.28 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.792e-05/0.8784, allocations: 6.094 kB / 1.28 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.684e-05/0.8785, allocations: 14.52 kB / 1.28 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.745e-05/0.8785, allocations: 18.39 kB / 1.28 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.8785, allocations: 1.062 kB / 1.28 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.486e-05/0.8786, allocations: 14.7 kB / 1.28 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.518e-06/0.8786, allocations: 1.094 kB / 1.28 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.844e-05/0.8786, allocations: 10.67 kB / 1.28 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.641e-05/0.8787, allocations: 31.16 kB / 1.28 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.8787, allocations: 1.375 kB / 1.28 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8787, allocations: 0 / 1.28 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.8787, allocations: 0 / 1.28 GB, free: 11.26 MB / 0.9981 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.000372/0.8791, allocations: 360.6 kB / 1.28 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.8791, allocations: 9.688 kB / 1.28 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.174e-05/0.8791, allocations: 192 / 1.28 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.256e-05/0.8792, allocations: 37.09 kB / 1.28 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.8792, allocations: 8.172 kB / 1.28 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.8793, allocations: 162.5 kB / 1.28 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.8793, allocations: 3.125 kB / 1.28 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.8794, allocations: 3.656 kB / 1.28 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.8795, allocations: 57.47 kB / 1.28 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.8795, allocations: 7.938 kB / 1.28 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.8795, allocations: 1.875 kB / 1.28 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.8795, allocations: 1.375 kB / 1.28 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.203e-05/0.8796, allocations: 12.69 kB / 1.28 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001455/0.8797, allocations: 153.4 kB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.027e-05/0.8798, allocations: 25.86 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.794e-05/0.8798, allocations: 18.12 kB / 1.281 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.675e-06/0.8798, allocations: 0 / 1.281 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.8799, allocations: 40.08 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.8799, allocations: 1.375 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0002407/0.8801, allocations: 113.1 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.8802, allocations: 80.42 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.389e-05/0.8802, allocations: 93.92 kB / 1.281 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.8802, allocations: 27.92 kB / 1.281 GB, free: 10 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.307e-05/0.8803, allocations: 81.14 kB / 1.281 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.8803, allocations: 10.16 kB / 1.281 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.188e-05/0.8804, allocations: 27.17 kB / 1.281 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.8805, allocations: 312.3 kB / 1.281 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.308e-05/0.8805, allocations: 13.73 kB / 1.281 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.796e-05/0.8805, allocations: 10.09 kB / 1.281 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.014e-05/0.8806, allocations: 84.19 kB / 1.281 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8806, allocations: 0.7969 kB / 1.281 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001416/0.8808, allocations: 98.33 kB / 1.282 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/0.8808, allocations: 37.42 kB / 1.282 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.8808, allocations: 0 / 1.282 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.8808, allocations: 1 kB / 1.282 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.342e-06/0.8808, allocations: 0.75 kB / 1.282 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.8808, allocations: 0 / 1.282 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.881, allocations: 7.109 kB / 1.282 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.881, allocations: 7.703 kB / 1.282 GB, free: 9.375 MB / 0.9981 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 9.316e-05/0.8811, allocations: 143.2 kB / 1.282 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.8811, allocations: 15.78 kB / 1.282 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.49e-05/0.8811, allocations: 4.094 kB / 1.282 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.8811, allocations: 4.688 kB / 1.282 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.8811, allocations: 1.219 kB / 1.282 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.8811, allocations: 4 kB / 1.282 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.8812, allocations: 158.6 kB / 1.282 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.8812, allocations: 1.125 kB / 1.282 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.8812, allocations: 0 / 1.282 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.8812, allocations: 7.875 kB / 1.282 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.8812, allocations: 4.234 kB / 1.282 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.8812, allocations: 4.609 kB / 1.282 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.8812, allocations: 5.016 kB / 1.282 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.8814, allocations: 120.8 kB / 1.282 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.066e-05/0.8815, allocations: 82.14 kB / 1.282 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.8815, allocations: 2.938 kB / 1.282 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.8816, allocations: 7.094 kB / 1.282 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/0.8816, allocations: 6.078 kB / 1.282 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.8816, allocations: 3.312 kB / 1.282 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.751e-05/0.8816, allocations: 77.69 kB / 1.282 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.8816, allocations: 0.875 kB / 1.282 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001895/0.8818, allocations: 12.16 kB / 1.282 GB, free: 8.707 MB / 0.9981 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.0005745/0.8824, allocations: 0.6765 MB / 1.283 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001484/0.8826, allocations: 85.34 kB / 1.283 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.8826, allocations: 0 / 1.283 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.608e-05/0.8826, allocations: 69.44 kB / 1.283 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.8828, allocations: 6.203 kB / 1.283 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003965/0.8832, allocations: 148.9 kB / 1.283 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.8834, allocations: 0.6762 MB / 1.284 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.07e-05/0.8835, allocations: 5.25 kB / 1.284 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.691e-05/0.8835, allocations: 9.031 kB / 1.284 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.8835, allocations: 3.938 kB / 1.284 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.9014, allocations: 1.929 MB / 1.286 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.789/8.69, allocations: 8.281 kB / 1.286 GB, free: 6.629 MB / 0.9981 GB " [Timeout remaining time 291] (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/jenkins1/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: 14.5174973999965]