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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 106.1 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002369/0.002369, allocations: 200.5 kB / 19.41 MB, free: 3.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.649/2.649, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.0019/0.0019, allocations: 64.12 kB / 1.104 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8293/0.8312, allocations: 168.7 MB / 1.269 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001936/0.8331, allocations: 0.5611 MB / 1.269 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002862/0.8334, allocations: 107.7 kB / 1.269 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.48e-05/0.8334, allocations: 0 / 1.269 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.8335, allocations: 7.984 kB / 1.269 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.851e-05/0.8336, allocations: 0 / 1.269 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.8337, allocations: 39.89 kB / 1.269 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.739e-05/0.8338, allocations: 31.92 kB / 1.269 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.814e-05/0.8339, allocations: 0 / 1.269 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.477e-05/0.8339, allocations: 19.97 kB / 1.269 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.022e-05/0.834, allocations: 8 kB / 1.27 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.834, allocations: 4 kB / 1.27 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.487e-05/0.834, allocations: 7.984 kB / 1.27 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.834, allocations: 7.938 kB / 1.27 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.572e-05/0.8341, allocations: 15.92 kB / 1.27 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.8342, allocations: 29.78 kB / 1.27 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.8342, allocations: 0 / 1.27 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8342, allocations: 4 kB / 1.27 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.8342, allocations: 0 / 1.27 GB, free: 4.531 MB / 0.9669 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.0004091/0.8346, allocations: 357.2 kB / 1.27 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.8347, allocations: 8.031 kB / 1.27 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.16e-05/0.8347, allocations: 38.75 kB / 1.27 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.8347, allocations: 0.9375 kB / 1.27 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.8349, allocations: 172.4 kB / 1.27 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.8349, allocations: 384 / 1.27 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.8349, allocations: 4.375 kB / 1.27 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.835, allocations: 54.23 kB / 1.27 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.835, allocations: 3.938 kB / 1.27 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.8351, allocations: 7.984 kB / 1.27 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.8351, allocations: 0 / 1.27 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.983e-05/0.8351, allocations: 19.86 kB / 1.27 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.8353, allocations: 157.6 kB / 1.27 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.352e-05/0.8353, allocations: 26.56 kB / 1.27 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.95e-05/0.8354, allocations: 12.92 kB / 1.27 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-06/0.8354, allocations: 4 kB / 1.27 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.8354, allocations: 34.56 kB / 1.27 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.8354, allocations: 0 / 1.27 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0002528/0.8356, allocations: 115.2 kB / 1.271 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.8357, allocations: 81.11 kB / 1.271 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.639e-05/0.8358, allocations: 93.86 kB / 1.271 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.8358, allocations: 25.95 kB / 1.271 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.8358, allocations: 88.14 kB / 1.271 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.8359, allocations: 11.89 kB / 1.271 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.8359, allocations: 25.7 kB / 1.271 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.8361, allocations: 314.8 kB / 1.271 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.098e-05/0.8361, allocations: 8 kB / 1.271 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.887e-05/0.8361, allocations: 15.98 kB / 1.271 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.218e-05/0.8362, allocations: 76.25 kB / 1.271 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8362, allocations: 4.062 kB / 1.271 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001466/0.8364, allocations: 95.33 kB / 1.271 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.947e-05/0.8364, allocations: 45.62 kB / 1.271 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.8364, allocations: 0 / 1.271 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.8364, allocations: 0 / 1.271 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.61e-07/0.8364, allocations: 0 / 1.271 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.8364, allocations: 0 / 1.271 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.8366, allocations: 4 kB / 1.271 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.8366, allocations: 7.984 kB / 1.271 GB, free: 2.379 MB / 0.9669 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.000118/0.8367, allocations: 144.1 kB / 1.272 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.528e-05/0.8367, allocations: 3.938 kB / 1.272 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.572e-05/0.8367, allocations: 7.125 kB / 1.272 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.8367, allocations: 0 / 1.272 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.8367, allocations: 0 / 1.272 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.8367, allocations: 0 / 1.272 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.8369, allocations: 157.7 kB / 1.272 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.8369, allocations: 0 / 1.272 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-07/0.8369, allocations: 0 / 1.272 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.8369, allocations: 3.938 kB / 1.272 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.8369, allocations: 11.94 kB / 1.272 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.8369, allocations: 4 kB / 1.272 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.8369, allocations: 0 / 1.272 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.8371, allocations: 126.8 kB / 1.272 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/0.8371, allocations: 77.11 kB / 1.272 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.8371, allocations: 7.875 kB / 1.272 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.322e-05/0.8372, allocations: 11.98 kB / 1.272 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.366e-05/0.8372, allocations: 4.031 kB / 1.272 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.8373, allocations: 8 kB / 1.272 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.564e-05/0.8373, allocations: 75.28 kB / 1.272 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.8373, allocations: 0 / 1.272 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000192/0.8375, allocations: 12 kB / 1.272 GB, free: 1.629 MB / 0.9669 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.0006714/0.8382, allocations: 0.6819 MB / 1.273 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001726/0.8383, allocations: 83.39 kB / 1.273 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8383, allocations: 0 / 1.273 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.41e-05/0.8384, allocations: 71.39 kB / 1.273 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.8386, allocations: 6.969 kB / 1.273 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004493/0.839, allocations: 142.5 kB / 1.273 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.8393, allocations: 0.669 MB / 1.274 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001386/0.8395, allocations: 7.984 kB / 1.274 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.055e-05/0.8395, allocations: 11.38 kB / 1.274 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.8395, allocations: 0 / 1.274 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.8643, allocations: 1.89 MB / 1.275 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.949/8.814, allocations: 17.56 kB / 1.276 GB, free: 14.08 MB / 0.9825 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_2/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.783896700013429]