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.0008857/0.0008857, allocations: 76.44 kB / 19.17 MB, free: 0.5977 MB / 13.93 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.0008014/0.0008014, allocations: 165.9 kB / 22.45 MB, free: 1.961 MB / 18.57 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 0.8972/0.8972, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.756/1.756, allocations: 377.8 MB / 0.6221 GB, free: 8.637 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.286e-05/1.443e-05, allocations: 2.281 kB / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001148/0.001162, allocations: 0.5712 MB / 0.9815 GB, free: 1.992 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002034/0.001365, allocations: 103.7 kB / 0.9816 GB, free: 1.891 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.594e-05/0.001391, allocations: 4 kB / 0.9816 GB, free: 1.887 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.001492, allocations: 4 kB / 0.9816 GB, free: 1.883 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.788e-05/0.001549, allocations: 3.938 kB / 0.9816 GB, free: 1.879 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.001676, allocations: 35.89 kB / 0.9817 GB, free: 1.844 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.736e-05/0.001773, allocations: 27.98 kB / 0.9817 GB, free: 1.816 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.00182, allocations: 3.984 kB / 0.9817 GB, free: 1.812 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.135e-05/0.001861, allocations: 15.98 kB / 0.9817 GB, free: 1.797 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.515e-05/0.001926, allocations: 19.97 kB / 0.9817 GB, free: 1.777 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.001947, allocations: 3.938 kB / 0.9817 GB, free: 1.773 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.999e-05/0.001997, allocations: 12 kB / 0.9818 GB, free: 1.762 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.00201, allocations: 0 / 0.9818 GB, free: 1.762 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.726e-05/0.002037, allocations: 4 kB / 0.9818 GB, free: 1.758 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.002147, allocations: 31.95 kB / 0.9818 GB, free: 1.727 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.002149, allocations: 4 kB / 0.9818 GB, free: 1.723 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.162e-06/0.00215, allocations: 3.938 kB / 0.9818 GB, free: 1.719 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.002155, allocations: 0 / 0.9818 GB, free: 1.719 MB / 0.9323 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.0003075/0.002462, allocations: 284 kB / 0.9821 GB, free: 1.402 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.002505, allocations: 8.031 kB / 0.9821 GB, free: 1.395 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.05e-05/0.002536, allocations: 42.75 kB / 0.9821 GB, free: 1.344 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.835e-05/0.002564, allocations: 0.9375 kB / 0.9821 GB, free: 1.344 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.179e-05/0.002656, allocations: 109.8 kB / 0.9822 GB, free: 1.211 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.002667, allocations: 384 / 0.9822 GB, free: 1.211 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.002678, allocations: 4.375 kB / 0.9822 GB, free: 1.207 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.002798, allocations: 83.92 kB / 0.9823 GB, free: 1.113 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.002804, allocations: 192 / 0.9823 GB, free: 1.113 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.002815, allocations: 384 / 0.9823 GB, free: 1.113 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.002822, allocations: 8.125 kB / 0.9823 GB, free: 1.105 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.963e-05/0.002861, allocations: 49.58 kB / 0.9824 GB, free: 1.051 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001191/0.00298, allocations: 120.8 kB / 0.9825 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 6.278e-05/0.003043, allocations: 64.2 kB / 0.9825 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.675e-05/0.00308, allocations: 46.61 kB / 0.9826 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.472e-06/0.003086, allocations: 0 / 0.9826 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.003107, allocations: 30.56 kB / 0.9826 GB, free: 0.7188 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 9.91e-07/0.003108, allocations: 0 / 0.9826 GB, free: 0.7188 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001929/0.003301, allocations: 158.7 kB / 0.9828 GB, free: 0.5391 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.003338, allocations: 93.03 kB / 0.9828 GB, free: 440 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.639e-05/0.003385, allocations: 89.86 kB / 0.9829 GB, free: 340 kB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.003396, allocations: 33.95 kB / 0.983 GB, free: 300 kB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 2.03e-05/0.003416, allocations: 80.14 kB / 0.983 GB, free: 216 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.003436, allocations: 3.953 kB / 0.983 GB, free: 212 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.003465, allocations: 25.72 kB / 0.9831 GB, free: 180 kB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.076e-05/0.003546, allocations: 314.8 kB / 0.9834 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.899e-05/0.003575, allocations: 37.7 kB / 0.9834 GB, free: 15.82 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.667e-05/0.003602, allocations: 37.69 kB / 0.9834 GB, free: 15.77 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.656e-05/0.003658, allocations: 80.25 kB / 0.9835 GB, free: 15.68 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.00366, allocations: 0 / 0.9835 GB, free: 15.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.23e-05/0.003752, allocations: 129.1 kB / 0.9836 GB, free: 15.54 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.003777, allocations: 33.7 kB / 0.9837 GB, free: 15.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.003781, allocations: 0 / 0.9837 GB, free: 15.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.003791, allocations: 0 / 0.9837 GB, free: 15.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.713e-06/0.003792, allocations: 3.938 kB / 0.9837 GB, free: 15.49 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.003796, allocations: 0 / 0.9837 GB, free: 15.49 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.128e-05/0.003888, allocations: 11.98 kB / 0.9837 GB, free: 15.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.003895, allocations: 0 / 0.9837 GB, free: 15.48 MB / 0.948 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 6.062e-05/0.003956, allocations: 143.5 kB / 0.9838 GB, free: 15.32 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.945e-06/0.003964, allocations: 4 kB / 0.9838 GB, free: 15.32 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.013e-06/0.003971, allocations: 7.188 kB / 0.9838 GB, free: 15.32 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.003972, allocations: 0 / 0.9838 GB, free: 15.32 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.003978, allocations: 7.922 kB / 0.9838 GB, free: 15.31 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.00398, allocations: 0 / 0.9838 GB, free: 15.31 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.392e-05/0.004034, allocations: 116.8 kB / 0.984 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.004035, allocations: 0 / 0.984 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.71e-07/0.004035, allocations: 0 / 0.984 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.004037, allocations: 7.922 kB / 0.984 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.004047, allocations: 11.98 kB / 0.984 GB, free: 15.13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.004047, allocations: 0 / 0.984 GB, free: 15.13 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.004049, allocations: 3.938 kB / 0.984 GB, free: 15.13 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.004161, allocations: 152.5 kB / 0.9841 GB, free: 14.95 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-06/0.004166, allocations: 4 kB / 0.9841 GB, free: 14.95 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.004176, allocations: 3.938 kB / 0.9841 GB, free: 14.94 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.584e-05/0.004222, allocations: 7.984 kB / 0.9841 GB, free: 14.93 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.004236, allocations: 7.938 kB / 0.9841 GB, free: 14.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.004242, allocations: 12 kB / 0.9842 GB, free: 14.91 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.091e-05/0.004263, allocations: 75.28 kB / 0.9842 GB, free: 14.84 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.004263, allocations: 0 / 0.9842 GB, free: 14.84 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001318/0.004395, allocations: 15.95 kB / 0.9842 GB, free: 14.82 MB / 0.948 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.000347/0.004742, allocations: 0.7053 MB / 0.9849 GB, free: 14.09 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001261/0.004868, allocations: 138.7 kB / 0.9851 GB, free: 13.93 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.00487, allocations: 0 / 0.9851 GB, free: 13.93 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.442e-05/0.004914, allocations: 97.09 kB / 0.9852 GB, free: 13.81 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001114/0.005026, allocations: 8.094 kB / 0.9852 GB, free: 13.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/0.005327, allocations: 168.2 kB / 0.9853 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.324e-05/0.00536, allocations: 55.36 kB / 0.9854 GB, free: 13.52 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.959e-05/0.00541, allocations: 7.984 kB / 0.9854 GB, free: 13.51 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.876e-05/0.005429, allocations: 8.5 kB / 0.9854 GB, free: 13.5 MB / 0.948 GB Notification: Performance of SimCode: time 6.22e-07/0.005429, allocations: 0 / 0.9854 GB, free: 13.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01454/0.01997, allocations: 2.647 MB / 0.988 GB, free: 11 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.038/7.058, allocations: 8.219 kB / 0.988 GB, free: 11 MB / 0.948 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","/var/lib/jenkins/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: 11.07457897812128]